exceptional-conditions
Detects error handlers that leak stack traces or fail open on exception. Use when writing error handlers, exception catching blocks, try/catch/finally constructs, or API error responses. Also invoke when an application could fail open on exception, or when stack traces might reach end users.
Install
With your agent
Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/exceptional-conditions" 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/exceptional-conditions ~/.claude/skills/exceptional-conditions
From README
Exceptional Conditions Security Check (A05:2025) What this checks Protects against information disclosure and fail-open logic. Stack traces in API responses leak internal paths, library versions, and logic for attackers to target; swallowed exceptions and default-allow error paths grant unintended access. Vulnerable patterns Error handler that returns the raw exception message, stack trace, or internal path in the HTTP response body Catch block that silently swallows exceptions with no logging, re-raise, or controlled error Authorization or permission exception caught and turned into a success or fall-through that grants access Debug or verbose-error flag enabled at deployment, exposing tracebacks to clients Default framework error page left in place, leaking file paths, library versions, or framework banner Fix immediately Flag the vulnerable code and explain the risk. Then suggest a fix that establishes these properties: Client responses carry no internal detail.
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,...
