Download for MacApple silicon, macOS 14+
Skill

exceptional-conditions

@thejefflarson Updated 2026-07-31

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.

llmssecurityskills

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.