What problem does it solve?
Applications that authenticate with JSON Web Tokens often contain cryptographic verification flaws that let an attacker forge tokens and impersonate any user or admin. This Skill guides a security tester through identifying, exploiting, and proving those JWT signature weaknesses during authorized bug-hunting engagements.
Core Features & Use Cases
- Signature Forgery Techniques: Covers alg:none stripping, RS256-to-HS256 key confusion, kid/jku/x5u header injection, jwk self-signed key injection, and expiry claim manipulation.
- Offline Secret Cracking: Cracks weak HS256 HMAC secrets with hashcat (mode 16500) or jwt_tool wordlists to forge arbitrary tokens.
- Escalation Workflow: Drives from a working forge to an admin objective, with a fixed sequence for hitting admin endpoints and proving cross-identity data access.
- Use Case: During an authorized assessment you capture an
eyJ... Bearer token signed with RS256; the Skill walks you through fetching the public key from the JWKS endpoint, re-signing an edited admin payload with HS256, and proving access to the admin user list.
Quick Start
Ask the AI to test the application's JWT authentication for signature forgery flaws such as alg:none and RS256-to-HS256 key confusion using the captured Bearer token.