mukul975/anthropic-cybersecurity-skills/exploiting-jwt-algorithm-confusion-attack
Exploits JWT algorithm confusion where the server's verification library trusts the alg named in the token header, by switching RS256 to HS256 (signing with the RSA public key as HMAC secret), setting alg to none, or injecting kid/jku/x5u headers to supply an attacker-controlled key. Use when testing RS256 JWT auth for algorithm downgrade, alg:none bypass, or key-confusion signature forgery.
Agent skill · version 1.3.1-main.1794313680.g54a7988 · from mukul975/Anthropic-Cybersecurity-Skills
Install
npx yarkr-cli add skill:mukul975/anthropic-cybersecurity-skills/exploiting-jwt-algorithm-confusion-attackWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/exploiting-jwt-algorithm-confusion-attack
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/exploiting-jwt-algorithm-confusion-attackOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:mukul975/anthropic-cybersecurity-skills/exploiting-jwt-algorithm-confusion-attackWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.