Documentation
README
JWT Token Attack
Objective
Exploit JWT implementation weaknesses to bypass authentication, escalate privileges, or forge tokens.
Testing Methodology
Phase 1: Decode & Analyze
# Automated JWT analysis and tamper token generation
attack_script jwt_tamper EYTOKEN --json-output
# Manual decode
echo "HEADER.PAYLOAD.SIG" | cut -d. -f1 | base64 -d 2>/dev/null
echo "HEADER.PAYLOAD.SIG" | cut -d. -f2 | base64 -d 2>/dev/null
Check for:
- Algorithm (
algfield): RS256, HS256, none - Claims:
role,is_admin,sub,exp,aud,iss - Key ID (
kid): SQL injection, path traversal potential
Phase 2: Algorithm Attacks
This is the opening of the README. Read the full README on GitHub.