{"adoption": {"forks": 218, "observed_at": "2026-08-28T04:06:35.797618+00:00", "stars": 2307}, "canonical_url": "https://ross.abutalabs.com/products/csurf", "card": {"archived": true, "artifact_type": "library", "description": "CSRF token middleware", "domain": ["security", "web-development", "backend"], "enriched": true, "function": ["middleware", "security", "auth"], "health_score": 10, "homepage": null, "language": null, "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["expressjs/csurf"], "name": "expressjs/csurf", "platform": [], "pushed_at": "2025-05-14T13:34:34+00:00", "repo": "expressjs/csurf", "stars": 2307, "tags": ["csrf", "express", "csrf-protection", "double-submit-cookie", "archived", "nodejs"], "topics": ["javascript", "nodejs", "middleware", "expressjs", "csrf"], "urls": [], "use_cases": ["protect express forms from csrf attacks", "add csrf tokens to nodejs web app", "validate csrf token on state-changing requests", "double submit cookie csrf protection", "csrf middleware for express session"], "what_it_is": "csurf is Node.js CSRF protection middleware for Express that creates and validates CSRF tokens via session or cookie-based storage. The repository is archived and no longer actively maintained.", "when_to_avoid": ["starting a new project - the repo is archived and unmaintained", "you need security fixes or ongoing support", "you use a non-Express framework"], "when_to_choose": ["you maintain a legacy Express app already using csurf", "you need the classic session-based CSRF token pattern"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/csurf", "repo": "expressjs/csurf", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "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:06:35.797618+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.797618+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:39:39.154225+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "70b9f539433503244036ae4106faa2577921c23a78cf3d5c247004f3822e21d7", "fetched_at": "2026-08-28T04:06:35.797618+00:00", "kind": "readme", "missing": false, "url": "https://github.com/expressjs/csurf"}, {"content_hash": "5facb05d6b04ec4d03f8bca08d677d6572d3a64c9121b55213bbcdb453596765", "fetched_at": "2026-08-29T10:20:19.377033+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/csurf"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 21, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4564, "days_push": 476, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}