hunt-jwt-crypto
Hunts for forgeable JSON Web Token vulnerabilities like alg:none, RS256-to-HS256 key confusion, and kid/jku header injection that let an attacker impersonate other users or admins.
What it does
Hunt JWT cryptographic failures — alg:none signature-stripping and RS256→HS256 key-confusion that let an attacker forge a token for any identity (e.g. an admin) without knowing a secret. Use when the app authenticates with a JSON Web Token (an `eyJ...` Bearer token in the Authorization header, a cookie, or a login response). This skill OWNS JWT signature/crypto forgery (alg:none, key confusion, kid/jku header injection); hunt-ato covers JWT as one ATO path, hunt-auth-bypass covers SSO/SAML token trust, hunt-api-misconfig covers non-crypto JWT handling. Critical when a forged token grants access to another user's data or an admin-only endpoint.
Quality judgment
Excellent coverage of JWT crypto forgery: alg:none, key confusion, kid/jku/x5u/jwk injection, weak-secret cracking, expiry and cross-tenant claims, with concrete tool commands and payload examples. Strong escalation discipline and proof-of-impact criteria; minor deductions for some redundancy and a slightly awkward automation section.