web-09-jwt
Installation
SKILL.md
JWT — Web Offensive Methodology
Quick Workflow
- Locate the token:
Authorization: Bearer <token>, cookies, POST bodies, URL params - Decode and inspect:
base64url_decode(header).base64url_decode(payload)— checkalg,kid,jku,jwk,x5ufields - Test algorithm bypass:
alg: none,RS256→HS256confusion (sign with known public key) - Exploit kid/jku/jwk: SQLi/path traversal in
kid, remote JWKS injku, inline key injwk - Test validation gaps: expired tokens, missing
aud/iss,subtampering