From binary-bug-detection
Detect taint-style vulnerabilities in an ELF binary using ClearBit IR analysis — buffer overflow, command injection, use-after-free, and any taint-reachable sink. Use this skill whenever the user wants to find security bugs or vulnerabilities in a compiled binary, even if they don't say "taint" or "ClearBit". Trigger on: "analyze this binary for bugs", "check if ./httpd is vulnerable", "find CVEs in this ELF", "security audit this binary", "is there a buffer overflow in this program", "pentest this binary", "scan this for vulnerabilities", or just a path to an ELF with a request to check it. Orchestrates Plan, Analyze, and Validate agents to produce confirmed bugs with PoC scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/binary-bug-detection:binary-bug-detectionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to find taint-style vulnerabilities in an ELF binary that has already been loaded into ClearBit.
Use this skill to find taint-style vulnerabilities in an ELF binary that has already been loaded into ClearBit.
Do not use this skill for server deployment or MCP client setup.
binary_id — binary already uploaded to ClearBit, or an ELF path to upload firstbug_type — e.g. buffer-overflow, command-injection, use-after-free (default: all taint-reachable sinks)scope — source-scope (start from source, find reachable sinks) or sink-scope (start from sink, find reachable sources); default: sink-scopeIf binary_id is not available, upload the binary first and poll until status is ready before proceeding.
p = (loc, dir, targets) — starting Binary Location as an ir:// URI, tracking direction (forward or backward), target source/sink functions to trackr = (src, snk, PC, α, desc) — taint source instruction, sink instruction, path condition, confidence α ∈ [0,1], natural-language descriptionir://<binary_id>/<function>/<basicblock>/<instruction>. Coarser granularity uses partial paths: ir://<binary_id>/<function> for function-level, ir://<binary_id> for binary-level.Orchestrate three sub-agents in depth-first order — validate each report before advancing to the next plan.
Invoke @agent-plan-agent with (binary_id, bug_type, scope).
Returns: Analysis Plan list [p, ...]
For each plan p, invoke @agent-analyze-agent with p.
Returns: Bug Report list [r, ...] with confidence scores
For each report r where r.α ≥ 0.8, invoke @agent-validate-agent with r.
Returns: { exploitable, script, desc }
Discard reports where exploitable is false.
Report a table of confirmed vulnerabilities:
| Binary Location | Bug Class | Source → Sink | Confidence | PoC |
|---|
write-custom-query — write and run custom ClearBit queries against LLVM IR during any analysis stagenpx claudepluginhub prismers/clearbit-plugin --plugin binary-bug-detectionCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.