← ClaudeAtlas

auditing-error-handling-and-information-exposurelisted

Audit error handling and diagnostic surfaces for sensitive information a real client receives, where an exception path, a debug feature, or a diagnostic endpoint returns stack traces, database errors, internal paths, framework or version banners, configuration, secrets, or messages that differ enough to enumerate users. Use when reviewing how a service responds to malformed, unauthorized, or failing requests in its deployed configuration, and whether debug modes, source maps, or version-control metadata are exposed. Scoped to what production actually returns, not developer-only verbosity. The error or diagnostic path is the source, the response, header, or user-visible log is the sink, and disclosing detail that aids a further attack is the bug.
UnboundCompute/security-agent-skills · ★ 5 · Code & Development · score 80
Install: claude install-skill UnboundCompute/security-agent-skills
# Auditing error handling and information exposure: when a failure tells the attacker how it works Every application fails, and how it fails is a message to whoever is probing it. A stack trace names the framework, the file layout, and the line that broke. A database error quotes the query and confirms an injection point. A verbose not-found versus a verbose forbidden tells an attacker which accounts exist. A debug endpoint left on in production hands over configuration and sometimes secrets. None of this is a memory-corruption bug or an injection; it is the system narrating its internals to an unauthenticated client, turning blind probing into informed attack. The audit is not about suppressing all errors; it is about deciding, for the deployed configuration, whether what a real client receives on failure reveals security-relevant structure. You find it by driving the error paths a client can reach and reading exactly what comes back. ## When to use - A service returns errors on malformed, unauthorized, or failing requests and you can observe the responses. - Debug modes, verbose error pages, or diagnostic and health endpoints may be reachable in production. - Build or deployment artifacts (source maps, version-control metadata, backups) may be served publicly. ## Scope check Test error and diagnostic surfaces only against systems you own or are authorized to assess, using benign malformed input rather than live exploitation to trigger failures, and treat any disclosed