hunt-oauth · h-mmer — Claude Code skill for OAuth security testing
hunt-oauth guides security checks for OAuth, OIDC, SAML, and JWT authentication. Use it when reviewing a sign-in flow or an MCP server.
no license ★ 1,298 updated 2026-06-12
npx skills add H-mmer/pentest-agents --skill hunt-oauth -a claude-codeWhat hunt-oauth does
The skill focuses on flaws in OAuth 2.0 and 2.1, OpenID Connect, SAML SSO, and JWT handling. It is relevant when an application processes values such as redirect_uri, state, code, access_token, or id_token, or when you are reviewing federated sign-in.
Its guidance draws on public vulnerability reports and cases checked against NVD. Examples include loose redirect URI validation, PKCE downgrade issues, JWT algorithm confusion, and SAML signature validation flaws. Treat the findings as leads to investigate; a pattern alone does not confirm that a particular project is vulnerable.
For Claude Code, install from the repository with the command below, then check for ~/.claude/skills/pentest-agents-hunt-oauth/SKILL.md. Install commands are also provided for Cursor, Codex, GitHub Copilot, Gemini CLI, and Windsurf.
What it helps with
- inspect OAuth handling of
redirect_uriandstate - find weak PKCE checks in an authorization flow
- review JWT algorithm selection and validation
- check SAML signature verification
- audit OIDC token and claim handling
Example prompts for the agent
- Review this project's OAuth sign-in for unsafe
redirect_urihandling and missingstatevalidation. - Check JWT validation for algorithm confusion and unsafe handling of
kid. - Audit the SAML SSO flow, focusing on signature checks and assertion parsing.
How to install hunt-oauth
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-oauth -a claude-code2Manually: put the files in place
~/.claude/skills/pentest-agents-hunt-oauth/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pentest-agents-hunt-oauth/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-oauth -a codex2Manually: put the files in place
.agents/skills/pentest-agents-hunt-oauth/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-oauth -a cursor2Manually: put the files in place
.cursor/skills/pentest-agents-hunt-oauth/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/pentest-agents-hunt-oauth2Manually: put the files in place
.github/skills/pentest-agents-hunt-oauth/SKILL.md1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill hunt-oauth -a gemini-cli2Platform CLI
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/pentest-agents-hunt-oauthManually: put the files in place
.devin/skills/pentest-agents-hunt-oauth/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about hunt-oauth
How do I install hunt-oauth in Claude Code?
Run npx skills add H-mmer/pentest-agents --skill pentest-agents-hunt-oauth -a claude-code, then check for ~/.claude/skills/pentest-agents-hunt-oauth/SKILL.md.
What does hunt-oauth do?
It guides reviews for authentication and authorization flaws in OAuth, OIDC, SAML, and JWT implementations, using public vulnerability reports as reference cases.
Which protocols and parameters does the skill cover?
It covers OAuth 2.0 and 2.1, OIDC, SAML SSO, and JWT. Parameters include redirect_uri, state, code_verifier, nonce, aud, and iss.
Similar skills
All skills for Security →hunt-oauth by other authors comes first.