Automated ranking

Best Go Security Middleware

Compare go security middleware by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Caddy, go-jwt-middleware, nosurf.

Best overall

Caddy

Highest combined package health score.

91
Best maintained

Caddy

Strongest maintenance signal in this category.

95
Most adopted

Caddy

Highest adoption signal from stars, forks, and imported-by data.

100

Ranked Packages

9 packages

#1 Caddy

Package caddy implements the Caddy server manager.

Go Security Middleware 73.3K stars 0 imported-by 80% confidence
91

#2 go-jwt-middleware

A Middleware for Go Programming Language to check for JWTs on HTTP requests

Go Security Middleware 1.2K stars 874 imported-by 60% confidence
91

#3 nosurf

Package nosurf implements an HTTP handler that mitigates Cross-Site Request Forgery Attacks.

Go Security Middleware 1.7K stars 2.5K imported-by 100% confidence
81

#4 authelia

The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™

Go Security Middleware 28.0K stars 0 imported-by 95% confidence
81

#5 gorilla/csrf

Package gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services đź”’

Go Security Middleware 1.2K stars 1.1K imported-by 65% confidence
67

#6 secure

Package secure is an HTTP middleware for Go that facilitates some quick security wins.

Go Security Middleware 0 stars 921 imported-by 80% confidence
64

#7 helmet

HTTP security middleware for Go(lang) inspired by HelmetJS.

Go Security Middleware 34 stars 7 imported-by 95% confidence
54

#8 sslmgr

SSL certificates made easy with a high level wrapper around acme/autocert.

Go Security Middleware 0 stars 1 imported-by 80% confidence
53

#9 multikey

An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm.

Go Security Middleware 0 stars 0 imported-by 80% confidence
42

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
Caddy 91 95 100 70 0
go-jwt-middleware 91 95 100 92 874
nosurf 81 43 100 92 2.5K
authelia 81 95 100 35 0
gorilla/csrf 67 43 100 35 1.1K
secure 64 45 57 92 921
helmet 54 8 46 92 7
sslmgr 53 45 12 92 1
multikey 42 15 7 92 0

Related Comparisons

Go Security Middleware

authelia vs nosurf

Compare health, maintenance, adoption, security, and release signals.

81