← Home

@nextrush/csrf

CSRF protection middleware for NextRush — Signed Double-Submit Cookie pattern with HMAC-SHA256

4
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures No source commit

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

0xtanzim

Keywords

nextrushmiddlewarecsrfxsrfsecuritydouble-submit-cookiehmaccross-site-request-forgery

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
typosquat typosquat.levenshtein:cors AI (typosquat): Scoped CSRF middleware package; name similarity to 'cors' is coincidental, not impersonation. ai

Versions (showing 4 of 4)

Version Deps Published
3.0.5 1 / 4
3.0.3 1 / 4
3.0.1 1 / 4
3.0.0 1 / 4

v3.0.5

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v3.0.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v3.0.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v3.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.