Skip to content
yaklang avatar

Api Auth And Jwt Abuse

API token triage and attack playbook covering JWT forgery, header spoofing, and rate-limit bypass families.

CCM score
56 of 100
skills.sh installs
4.2K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers JWT and bearer token triage: alg, kid, jku, and x5u fields, claim trust, and issuer or audience mismatches
  • Lists first-pass tests for patterns like alg:none acceptance, RS256-to-HS256 confusion, kid injection, and remote key fetch trust
  • Provides candidate hidden fields for mass assignment (role, isAdmin, plan, permissions) and batch abuse across GraphQL or JSON arrays
  • Routes to companion skills for GraphQL parameters, OAuth/OIDC misconfiguration, CORS, and deeper JWT and OAuth attacks

Install

$ npx -y skills add yaklang/hack-skills --skill api-auth-and-jwt-abuse -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

PatternFirst Test
alg:none acceptanceunsigned token with trailing dot
RS256 confusionswitch to HS256 using public key as secret
kid lookup trustpath traversal or injection in kid
remote key fetch trustattacker-controlled jku or x5u
weak secretoffline crack with targeted wordlists

3. HIDDEN FIELDS AND BATCH ABUSE

Mass assignment field picks

role
isAdmin
admin
verified
plan
tier
permissions
org
owner

Rate limit and batch abuse picks

X-Forwarded-For: 1.2.3.4
X-Real-IP: 5.6.7.8
Forwarded: for=9.9.9.9

GraphQL or JSON batch abuse candidates:

Details

Repository
github.com/yaklang/hack-skills
Categories
Security, Backend & APIs
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Api Auth And Jwt Abuse

More Security