open-redirect
Detects redirects to user-controlled URLs that enable phishing and OAuth callback abuse. Use when writing code that redirects users to a URL from request parameters, form input, or any caller-controlled source. Also invoke when building login flows with "return to" URLs or OAuth callback redirects.
Install
With your agent
Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/open-redirect" 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/open-redirect ~/.claude/skills/open-redirect
From README
Open Redirect Security Check (CWE-601) What this checks Protects against open redirect vulnerabilities where an attacker crafts a link that redirects users from a trusted domain to a malicious site. Used in phishing campaigns to make malicious links appear legitimate, and in OAuth flows to steal authorization codes. Vulnerable patterns Redirect target read directly from a query parameter, form field, or request body and passed unchanged to the framework's redirect API. Client-side navigation (window.location and equivalents) assigned a value derived from the URL or form input with no validation. "Return to" or "next" parameters on login flows that accept any URL without an allowlist check. Validation that uses prefix or substring matching against the allowed host — allowed.com.evil.com passes a naive prefix check. Fix immediately Flag the vulnerable code and explain the risk. Then suggest a fix that establishes these properties.
More from this repo
authentication-failures
Detects weak password storage, flawed JWT validation, sessions surviving logout, and missing MFA in authentication code.
broken-access-control
Detects missing ownership checks, broken role enforcement, and IDOR vulnerabilities that let users access other users'...
concurrency-correctness
Detects multi-threaded code where a lock is held across a blocking operation, lock acquisition order risks deadlock,...
