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.
75
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Security
3 findings: 2 critical severity, 1 high severity. Installing this skill is not recommended: please review these findings carefully if you do intend to do so.
Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
This skill contains explicit, actionable, step-by-step instructions and tooling to forge JWTs (alg:none, RS256→HS256 key confusion, kid/jku/jwk injections, expiry manipulation) and to escalate to admin actions, enabling unauthorized account takeover and data access.
Detected high-risk code patterns in the skill content — including its prompts, tool definitions, and resources — such as data exfiltration, backdoors, remote code execution, credential theft, system compromise, supply chain attacks, and obfuscation techniques.
The skill explicitly teaches how to forge JWTs (alg:none, RS256→HS256 key-confusion, kid/jku/jwk injections) and directs using those forged tokens to access admin endpoints and perform destructive actions (e.g. deleting users), showing clear intent to bypass authentication with concrete, runnable mechanisms.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The skill's examples and commands require embedding bearer JWTs (and using keys as HMAC secrets) directly on the command line or in forged requests (e.g., "jwt_tool <token>" and re-signing with a PEM as the secret), which forces an agent to handle/output secret token values verbatim and creates an exfiltration risk.
d4b54e1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.