Giverny

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…

by mukul975★ 36,972Auth & identity

What Exploiting JWT Algorithm Confusion Attack does

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.

How to install Exploiting JWT Algorithm Confusion Attack in Claude Code

Giverny gives you a ready prompt with the exact install command from mukul975/Anthropic-Cybersecurity-Skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone mukul975/Anthropic-Cybersecurity-Skills and copy the skills/exploiting-jwt-algorithm-confusion-attack folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Exploiting JWT Algorithm Confusion Attack on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the exploiting-jwt-algorithm-confusion-attack skill on my current project.”

More Claude skills for auth & identity