Hunt mishandling of exceptional conditions — feed an endpoint malformed/unexpected input (wrong type, broken JSON, oversized field, null byte) and make it fail OPEN or leak internals: a verbose stack-trace / framework error page that discloses ORM internals, server file paths, library versions, or a language traceback. Use on any input-accepting endpoint (JSON APIs, forms, query params). Medium-High when the leak exposes internal structure that arms a deeper attack.
Well-built apps catch errors and return a clean, generic message. A broken app, when handed input it didn't expect, throws an unhandled exception and renders a developer error page straight to the client — leaking the stack trace, the ORM/query internals, server-side file paths, and framework/library versions. That disclosure is the finding (and it arms SQLi/RCE/path attacks next).
Any endpoint that parses input is a candidate; the richest are:
JSON APIs that expect typed fields: POST /api/* with {numbers, ids, enums}
Endpoints with numeric/id path or query params: /item/{id}, ?page=, ?quantity=
Search / filter / sort params
File or content-type sensitive uploads
Take a known-good request and break ONE assumption at a time:
{"rating":"x","comment":[1,2,3]}, {"quantity":{}}.POST /api/Feedbacks {"rating":"notanumber","comment":[1,2,3]}
GET /item/' OR /item/%00 (also exercises the error path)
Watch the RESPONSE BODY, not just the status: a 500 (or even a 200/400) whose body contains a stack trace or framework error page is the signal.
A finding is confirmed when the response body contains a cross-framework error-disclosure signature:
SequelizeDatabaseError, node_modules/sequelize,
a JS stack with internal paths.<b>Warning</b> ... /var/www/.../file.php on line N.Traceback (most recent call last), werkzeug.exceptions.at com.app.Foo(Foo.java:42) stack frames.Server Error in '/' Application, a [System.XxxException: ...] YSOD.A clean JSON error ({"error":"Invalid input"}) with no internals is NOT a
finding — that's correct handling. Disclosure of internal structure is.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/hunt-exceptional-conditions · pinned to the source commit
# Run from your project root
git clone https://github.com/elementalsouls/Claude-BugHunter.git .skillboard-tmp
git -C .skillboard-tmp checkout 8258d29726804f5b954a09c625caedc183f7130d
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/hunt-exceptional-conditions" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/elementalsouls/Claude-BugHunter.git .skillboard-tmp
git -C .skillboard-tmp checkout 8258d29726804f5b954a09c625caedc183f7130d
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/hunt-exceptional-conditions" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/hunt-exceptional-conditions
Scanner static-checks@0.1.0 · commit 8258d2972680. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
References parent-directory traversal, which can escape a target directory.
Evidence: ../· fingerprint fa08499e14d0113b