api-auth-and-jwt-abuse

Identify JWT and API authentication weaknesses across REST and GraphQL endpoints.

2|Updated May 15, 2026
One-click install
npx skills add https://github.com/lNwNl/Methodos --skill api-auth-and-jwt-abuse-lnwnl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-auth-and-jwt-abuse
Source: https://github.com/lNwNl/Methodos/tree/main/docker/opencode/skills/api-auth-and-jwt-abuse
Command: npx skills add https://github.com/lNwNl/Methodos --skill api-auth-and-jwt-abuse-lnwnl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify weaknesses in API authentication and JWT-based authorization, including token trust boundary flaws, forged identity signals, and rate-limit bypass opportunities that lead to unauthorized access or privilege escalation.

Core Features & Use Cases

  • Token triage for JWT and API auth: Review alg, kid, jku, x5u, plus issuer/audience/claim integrity to find where trust is improperly assigned.
  • Practical JWT abuse patterns: Test common failure modes like unsigned token acceptance, algorithm confusion, and key lookup trust issues.
  • Header and batch/rate-limit attack planning: Probe identity spoofing via headers and explore batch or mass-assignment style request patterns to overwhelm or circumvent throttling controls.

Quick Start

Use this skill to plan a focused API authentication test against bearer tokens and rate limiting by reviewing token fields (alg, kid, jku, x5u), attempting claim/header misuse, and selecting rate-limit bypass header variants.

Frequently Asked Questions about api-auth-and-jwt-abuse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test JWT algorithm confusion and unsigned token acceptance in APIs?

To test JWT algorithm confusion and unsigned token acceptance, you must triage token header fields like `alg`, `kid`, `jku`, and `x5u` to identify where the API improperly assigns trust to forged identity signals. This targets common failure modes in token validation.

What is the best way to bypass API rate limiting using header spoofing?

The best way to bypass API rate limiting involves probing identity spoofing via common proxy identity headers and planning batch or mass-assignment style request patterns to overwhelm or circumvent throttling controls across REST or GraphQL endpoints.

How does claim abuse work in API authentication tokens?

Claim abuse in API authentication works by manipulating issuer, audience, and claim integrity within bearer tokens or API keys to exploit authorization weaknesses, leading to unauthorized access or privilege escalation when token trust boundaries are improperly enforced.

Can I test both REST and GraphQL endpoints for token trust boundary flaws?

Yes, you can test both REST and GraphQL endpoints for token trust boundary flaws. The testing process applies to both architectures to identify weaknesses in JWT-based authorization, forged identity signals, and rate-limit bypass opportunities.

Why does my API accept forged JWT headers and bypass authorization checks?

Your API accepts forged JWT headers because of key lookup trust issues and improper validation of header fields like `kid`, `jku`, and `x5u`. Testing these fields reveals where token trust boundaries fail and allows unauthorized access.