Individual skill
testing-for-json-web-token-vulnerabilities
Test JWT implementations for critical vulnerabilities including algorithm confusion, none algorithm bypass, kid parameter injection, and weak secret exploitation to achieve authentication bypass and privilege escalation.
internal/tools/skills/data/web-application-security/testing-for-json-web-token-vulnerabilities/SKILL.md
Source commit d42f381ad34843e71a42658e5c57290c713e85af
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,313
- Repository last updated
- Nov 7, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- cybersecurity Repository topic
- security Repository topic
- bug-bounty Repository topic
- automation Repository topic
- autonomous-pentesting Repository topic
- ai-agent Repository topic
- ai-security Repository topic
- ethical-hacking Repository topic
- golang Repository topic
- penetration-testing Repository topic
- jwt Declared skill tag
- json-web-token Declared skill tag
- algorithm-confusion Declared skill tag
- authentication-bypass Declared skill tag
- token-forgery Declared skill tag
- kid-injection Declared skill tag
- jku-attack Declared skill tag
- testing Derived category
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytesSKILL.mdcore · 10,013 bytes
Read excerpt
# Testing for JSON Web Token Vulnerabilities
## When to Use
- When testing applications using JWT for authentication and session management
- During API security assessments where JWTs are used for authorization
- When evaluating OAuth 2.0 or OpenID Connect implementations using JWT
- During penetration testing of single sign-on (SSO) systems
- When auditing JWT library configurations for known vulnerabilities
### How to CONFIRM a Hit (avoid false negatives)
- **Positive signal**: a token YOU forged (alg=none, RS256→HS256 confusion, cracked HMAC secret, or kid/jku/x5u abuse) is **ACCEPTED by a protected endpoint** — returns 200 plus the privileged data/action for the impersonated user. Merely decoding or modifying the token proves nothing.
- Confirm by hitting a real authz-gated route (e.g. `/api/admin/*`) with the forged token and verifying you receive the restricted resource, not a generic page or 401/403.
- A 200 to a public route is NOT a hit; a single 401/403 is NOT a clean negative until you have varied the attack.