LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

api-auth-and-jwt-abuse

API authentication and JWT abuse playbook. Use when testing bearer tokens, API keys, claim trust, header spoofing, rate limits, and API auth boundary weaknesses.

1,279stars175forksUpdated 7/4/2026
Security#security#authentication#penetration-testing#jwt#api-security

Security Assessment

Safe(100/100)
Security Score100/100

About api-auth-and-jwt-abuse

The api-auth-and-jwt-abuse skill is a focused security-testing playbook for probing how APIs establish and trust request identity. It targets JSON Web Tokens, bearer tokens, API keys, and the weaker signals some services rely on, walking a tester through token triage before any exploitation. Triage inspects header fields such as alg, kid, jku, and x5u, along with role, org, tenant, scope, and privilege claims, and looks for issuer or audience mismatches and tokens reused across mobile and web products.

From triage it moves to a set of quick attack picks: accepting alg:none unsigned tokens, RS256-to-HS256 algorithm confusion using the public key as the HMAC secret, path traversal or injection through the kid lookup, attacker-controlled remote key fetching via jku or x5u, and offline cracking of weak signing secrets. Beyond token forgery it covers mass-assignment field candidates such as role, isAdmin, admin, verified, plan, tier, permissions, org, and owner, plus batch-abuse patterns like arrays of login mutations or repeated password-reset calls in a single request.

A dedicated section enumerates rate-limit bypass families, including spoofed X-Forwarded-For, X-Real-IP, and Forwarded headers, User-Agent rotation, and path case or slash variants. The skill is deliberately scoped as a routing hub: when findings point elsewhere it hands off to sibling skills for full JWT and OAuth depth, OAuth/OIDC misconfiguration, GraphQL and hidden parameters, authentication bypass, and CORS trust bugs. Use it when the identity boundary of an API is the thing under test rather than deep protocol internals.

FAQ

When should I use this skill?

Use it when an API relies on JWT, bearer tokens, API keys, or weak request-identity signals, and you want to test token trust boundaries, claim misuse, header spoofing, and rate-limit bypass.

What token attacks does it cover?

It covers alg:none acceptance, RS256/HS256 algorithm confusion using the public key as the secret, kid lookup path traversal or injection, attacker-controlled jku or x5u remote key fetching, and offline cracking of weak signing secrets.

What headers does it suggest for rate-limit bypass?

It lists X-Forwarded-For, X-Real-IP, and Forwarded header spoofing, along with User-Agent rotation and path case or slash variants as rate-limit bypass families.

Does it address mass assignment?

Yes. It provides mass-assignment field picks to try injecting, including role, isAdmin, admin, verified, plan, tier, permissions, org, and owner.

Where does it point me for deeper JWT or OAuth testing?

Its routing section links to dedicated skills for full JWT and OAuth depth, OAuth/OIDC misconfiguration, GraphQL and hidden parameters, authentication bypass, and CORS cross-origin misconfiguration.

Install api-auth-and-jwt-abuse

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

yaklang/hack-skills

Related Skills

short-form-video

14

multi-asset-morning-briefing

7,907

content-strategy

2,901

doherty-threshold

2,901