API authentication and JWT abuse playbook. Use when testing bearer tokens, API keys, claim trust, header spoofing, rate limits, and API auth boundary weaknesses.
Start a fresh conversation. Replace the highlighted placeholders.
Use api-auth-and-jwt-abuse to conduct an authorized assessment of [API target] and deliver a prioritized report on authentication, JWT claim-trust, header-spoofing, and rate-limit weaknesses with remediation steps.
Required inputs
[API target]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: api-auth-and-jwt-abusedescription: >- API authentication and JWT abuse playbook. Use when testing bearer tokens, API keys, claim trust, header spoofing, rate limits, and API auth boundary weaknesses.
SKILL: API Auth and JWT Abuse — Token Trust, Header Tricks, and Rate Limits
AI LOAD INSTRUCTION: Use this skill when APIs rely on JWT, bearer tokens, API keys, or weak request identity signals. Focus on token trust boundaries, claim misuse, header spoofing, and rate-limit bypass.
1. TOKEN TRIAGE
Inspect:
alg, kid, jku, x5u
role, org, tenant, scope, or privilege claims
issuer and audience mismatches
reuse of mobile and web tokens across products
2. QUICK ATTACK PICKS
Pattern
First Test
alg:none acceptance
unsigned token with trailing dot
RS256 confusion
switch to HS256 using public key as secret
kid lookup trust
path traversal or injection in kid
remote key fetch trust
attacker-controlled jku or x5u
weak secret
offline crack with targeted wordlists
3. HIDDEN FIELDS AND BATCH ABUSE
Mass assignment field picks
role
isAdmin
admin
verified
plan
tier
permissions
org
owner