Download for MacApple silicon, macOS 14+
Skill

oauth-implementation

@thejefflarson Updated 2026-07-31

Detects weak JWT validation, loose redirect_uri matching, and missing state parameters in OAuth/OIDC flows. Use when writing OAuth2 or OpenID Connect flows, JWT validation logic, token endpoint handling, or redirect URI processing. Also invoke when implementing any code that parses or verifies JWTs.

llmssecurityskills

Install

With your agent

Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/oauth-implementation" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/oauth-implementation ~/.claude/skills/oauth-implementation

From README

OAuth/OIDC Implementation Security (OWASP A07:2025) What this checks Prevents authentication bypasses from weak JWT validation, open redirects from loose redirecturi matching, and CSRF from missing state parameters. These flaws allow account takeover and session hijacking. Vulnerable patterns JWT decode call that accepts the none algorithm, or accepts an attacker-supplied algorithm header — enabling algorithm-confusion bypass. redirecturi validated by prefix match, substring match, or regex — letting an attacker host a lookalike domain whose URL passes the check. JWT decode that omits audience (aud) validation — a token minted for a sibling service passes signature verification but should not be honored here. Tokens stored in browser web storage (e.g. localStorage) where any same-origin script can read them. OAuth authorization request sent with no state parameter, or with a state that is not bound to and verified against the initiating session.