/security-agent-skills:adjudicating-dependency-cve-reachabilityfrom security-agent-skills
Determines whether a CVE in a dependency is actually exploitable by analyzing call-path reachability, trigger preconditions, and attacker-controlled input taint from your entry points.
Ships in security-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A scanner that lists every CVE in your dependency tree is measuring your
package.json, not your exposure. Most flagged CVEs are unreachable: you never
call the vulnerable function, or you call it in a way the bug does not trigger, or
no attacker-controlled input gets there. Adjudicating reachability turns a wall of
red into the short list that actually matters, and gives you a defensible reason
for each one you set aside.
Authorized source only (your own application and the dependencies it ships). If you can't name the authorization, stop.
Pin the vulnerable symbol. From the advisory and, crucially, the fix
commit, identify the exact vulnerable function(s) or sink in the dependency
and the affected version range. "The library is vulnerable" is not actionable;
"parse_untrusted() before v2.3 is vulnerable when called with X" is. Reading
the patch tells you precisely what is unsafe and under what condition.
Test call-path reachability. Does any path from your own entry points reach that vulnerable function, directly or transitively? If nothing in your code (or the code you actually invoke) calls it, you are not reachable through the static graph. Record that, but note the blind spots below before you call it clean.
Check the trigger preconditions. Reaching the function is not enough. The CVE usually needs a specific argument shape, a config flag enabled, a feature in use, or a size or option the safe callers never pass. Confirm whether your call sites actually satisfy the condition the fix now rejects. Many "reachable" CVEs die here because you always call the safe overload or pass the safe flag.
Trace attacker control to the trigger. Reachable plus triggerable still needs an attacker in the loop. Trace from your untrusted entry points to the vulnerable argument. If only trusted, developer-supplied constants reach it, the exposure is theoretical. If untrusted input reaches the dangerous argument and satisfies the precondition, you have a real, reachable exposure.
Decide and record. Reachable + triggerable + attacker-controlled =
confirmed affected; set severity from real impact in your context, not the
advisory's generic score. Any leg failing = killed / not-affected, with the
exact reason (symbol never called / precondition never met / input not
attacker-controlled). Keep the not-affected record; the same CVE will be
re-flagged next scan and you should not re-triage from scratch.
getattr/eval, or a virtual/interface
dispatch may not appear as a static edge. "No path" through one of these is
inconclusive; confirm by reading how the call is wired.Kill. CVE in a YAML library:
full_loaddeserializes arbitrary objects. Pinning the symbol and searching your call sites shows you only ever callsafe_load;full_loadis never reached from your code. Killed / not-affected,kill_reason= "vulnerable symbolfull_loadnot on any call path; onlysafe_loadis used."Confirm. CVE in an image-decoding library: a crafted file triggers a heap overflow in
decode_frame. Your avatar-upload handler passes user-uploaded bytes straight into the library's decode entry, which reachesdecode_frame, and the affected version is the one you ship. Attacker controls the file. Confirmed affected,high, remediation = upgrade past the fixed version or gate uploads through a safe re-encoder.
You need to read the dependency's fix to pin the vulnerable symbol and condition, a call graph that spans your code into the dependency (including transitive and vendored code) to test reachability, and a way to trace untrusted input to the trigger argument. A code property graph built over your app plus its resolved dependencies answers all three; without one, you read the call sites and the patch by hand. The verdict is yours; the graph only shows the paths.
extracting-nday-from-a-patch - reading the dependency's fix to pin exactly
what is vulnerable and how it triggers.adjudicating-taint-paths - tracing attacker control from your entry points to
the trigger argument.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skills194 skills in this plugin
/adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive./auditing-account-abstraction-and-paymaster-trustAudit an ERC-4337 account-abstraction deployment for trust misplaced in the user-operation lifecycle: a smart account whose validation accepts a signature or nonce it should reject, a paymaster that agrees to sponsor gas for operations it should not so an attacker drains its deposit, a bundler or entry-point assumption that lets a user operation be replayed or reordered for gain, and validation logic that reads mutable state or reaches outside its allowed scope. Covers smart-contract wallets, paymasters, bundlers, and the entry point in an account-abstraction stack where a user operation is validated and sponsored before it executes. Use when a user operation is validated, paid for, and executed by separate parties and that trust split is the boundary. The crafted user operation is the source, the drained paymaster or unauthorized execution is the sink, and the over-permissive validation or sponsorship rule is the bug.Other plugins' skills for the same job