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

unrolled/secure

HTTP middleware for Go that facilitates some quick security wins. observed · 2026-08-28

github.com/unrolled/secure · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 80
  • Release rhythm 40
  • Longevity 100
How is this computed?

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

  • gap_med: 25
  • age_days: 4488
  • days_rel: 680
  • days_push: 124
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2354 stars · 145 forks observed · 2026-08-28

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

Secure is an HTTP middleware library for Go that adds quick security wins to web applications. It works as a standard net/http Handler and integrates with many Go frameworks, providing allowed-host filtering, SSL redirects, and security headers like HSTS, CSP, and X-Frame-Options.

Use cases

  • add security headers to a Go web server
  • redirect HTTP requests to HTTPS in Go
  • restrict which hostnames can reach my Go app
  • set Content-Security-Policy and HSTS headers in Go
  • protect a Go API against clickjacking and MIME sniffing
  • enforce SSL behind a reverse proxy in Go

When to choose

  • you're building a Go web service with net/http or a compatible framework and want standard security headers
  • you need host allowlisting and SSL redirect logic in middleware
  • you want a small, focused, MIT-licensed library with no heavy dependencies

When to avoid

  • you need a full web application firewall or advanced threat protection
  • your stack isn't Go
  • you want automatic vulnerability scanning or dependency auditing rather than header hardening

Facets

library · maturity stable

middleware security http-server security web-development backend go http-middleware security-headers ssl-redirect csp hsts net-http web-server

1 source

Member repositories

RepositoryRoleHealth v2
unrolled/securemain70

For agents

markdown · JSON · MCP: product_card(name="unrolled/secure")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem