{"adoption": {"forks": 174, "observed_at": "2026-08-28T04:03:59.834998+00:00", "stars": 1209}, "canonical_url": "https://ross.abutalabs.com/products/csrf", "card": {"archived": false, "artifact_type": "library", "description": "Package gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services 🔒", "domain": ["web-development", "backend", "security"], "enriched": true, "function": ["middleware", "security", "http-server"], "health_score": 42, "homepage": "https://gorilla.github.io", "language": "Go", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["gorilla/csrf"], "name": "gorilla/csrf", "platform": ["go"], "pushed_at": "2025-04-14T02:56:35+00:00", "repo": "gorilla/csrf", "stars": 1209, "tags": ["csrf", "csrf-protection", "xsrf", "gorilla-web-toolkit", "http-middleware", "web-server"], "topics": ["csrf-protection", "gorilla", "middleware", "golang", "security", "csrf", "xsrf", "csrf-tokens", "go", "gorilla-web-toolkit"], "urls": [], "use_cases": ["protect go web forms from csrf attacks", "add csrf tokens to html forms in go", "secure json apis against cross-site request forgery", "add csrf middleware to gin or echo app", "generate hidden csrf input field in html/template", "prevent xsrf attacks in go http service"], "what_it_is": "gorilla/csrf is a Go HTTP middleware library that provides cross-site request forgery (CSRF) protection for web applications and services. It works with any framework built on Go's http.Handler interface, including net/http, Gorilla, Gin, and Echo.", "when_to_avoid": ["you are not writing a Go web application", "you need protection against other attack classes like XSS or SQL injection", "you want a full security suite rather than a single-purpose CSRF library"], "when_to_choose": ["you need battle-tested CSRF protection for a Go web app or API", "you use net/http or any http.Handler-compatible router and want drop-in middleware", "you want template helpers for embedding CSRF tokens in HTML forms"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/csrf", "repo": "gorilla/csrf", "role": "main", "score": 30}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.834998+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:18:34.996074+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bb278c504f49bdd4a50fc55692c064d58ac6908c7dd89bb7f8f3850e0a7ac5e", "fetched_at": "2026-08-28T04:03:59.834998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gorilla/csrf"}, {"content_hash": "aa93940b2bb1bc5da7550755f583b3b892ed89f203c6075e4f44bb511fb044b7", "fetched_at": "2026-08-29T12:26:15.350939+00:00", "kind": "homepage", "missing": false, "url": "https://gorilla.github.io"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 16, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4049, "days_push": 506, "days_rel": 506, "gap_med": null, "n_releases_24m": 1}, "score": 30, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}