Ross ROSS = Recommend OSS · open-source software intelligence for agents

github/secure_headers

Manages application of security headers with many safe defaults observed · 2026-10-15

github.com/github/secure_headers · Ruby · MIT (permissive) observed · 2026-10-15

Health v2 · maintenance only

81/100

  • Activity 98
  • Release rhythm 48
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 266.5
  • age_days: 5061
  • days_rel: 139
  • days_push: 12
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

3227 stars · 251 forks observed · 2026-10-15

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Ruby gem that manages the application of HTTP security response headers such as Content Security Policy, HSTS, and X-Frame-Options with safe defaults. It provides global configuration, per-request overrides, and Rack middleware integration for Rails and Sinatra applications.

Use cases

  • add security headers to a rails app
  • set up content security policy to prevent xss
  • enforce https with hsts
  • prevent clickjacking with x-frame-options
  • mark cookies as secure httponly and samesite
  • configure referrer-policy headers
  • apply security headers in sinatra

When to choose

  • you run a Ruby web application and want secure default headers with minimal effort
  • you need fine-grained CSP configuration with named and per-action overrides
  • you want a battle-tested library maintained by GitHub

When to avoid

  • your stack is not Ruby or Rack-based
  • you manage headers at the reverse proxy or CDN layer instead of the app
  • you need a general web application firewall rather than header management

Facets

library · maturity stable

middleware security security web-development backend ruby security-headers content-security-policy hsts rack-middleware clickjacking-protection xss-protection web-server

1 source

Member repositories

RepositoryRoleHealth v2
github/secure_headersmain81

For agents

markdown · JSON · MCP: product_card(name="github/secure_headers")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem