sk Skill · mukul975
exploiting-jwt-algorithm-confusion-attack
Exploits JWT algorithm confusion where the server's verification library trusts the alg named in the token header, by switching RS256 to HS256 (signing with the RSA public key as HMAC secret), setting alg to none, or injecting kid/jku/x5u headers to supply an attacker-controlled key. Use when testing RS256 JWT auth for algorithm downgrade, alg:none bypass, or key-confusion signature forgery.
Open on skills.sh ↗read 2026-09-17
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
Pythoncryptographic-attacktoken-forgerypythonalgorithm-confusionjwtapi-security
- Host repository
- mukul975/Anthropic-Cybersecurity-Skills
- Version
- 1.0.0
- Licence
- Apache-2.0
- Host stars
- 33k
- Host language
- Python