/security-agent-skills:vetting-skills-before-installfrom security-agent-skills
Vets third-party agent skills and MCP servers before install by auditing instruction text, diffing declared vs. used permissions, and inspecting bundled code for secret exfiltration and supply-chain risks. Produces a verdict with evidence.
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.
Installing a skill or an MCP server hands untrusted instructions and untrusted code to an agent that acts on your behalf. Popularity and a clean README are not a review. This is the checklist that turns "it looks fine" into a verdict backed by evidence: what the artifact tells the model, what it is allowed to do, and what its code actually does on install and at runtime. It composes three audits and adds the code inspection that ties them together.
Vet artifacts you intend to run on your own agent, in a contained environment. Inspect bundled code statically before executing anything. If you can't name the authorization, stop.
Pin the exact artifact. Record the source, the author, and the precise version or content hash. You vet one frozen artifact, not "the skill": a later version is a new review. Everything below refers to this pinned state, so an auto-update that replaces it voids the verdict.
Audit the instruction surface. Run the instruction-text lint over every field the model reads: hidden or invisible text, override and role-spoofing phrases, concealment directives, and instructions that steer the agent to exfiltrate. A planted instruction here is a deny on its own.
Diff declared versus used permissions. Compare what the artifact requests against what its code exercises, both directions: over-broad grants it never uses, and capabilities it uses without declaring. An undeclared network or process reach is a deny; an over-grant is at least a constraint.
Inspect the bundled code for exfiltration. Trace whether it reads sensitive material (environment variables, credential files, dotfiles, private keys) into a flow that leaves the machine: a network call, an outbound tool, or embedding the data in output. A read that reaches an egress sink is the exfil finding; trace the flow rather than grepping for either end alone.
Inspect for obfuscation and install-time execution. Look for code that hides its behavior or runs before you have reviewed it: decode-then-execute (data decoded and handed to an interpreter), download-and-run that fetches and executes remote code, unpinned or mutable fetches, and anything that executes on install or first load rather than on an explicit call. Concealed or install-time execution is a deny.
Render the verdict and record it. Weigh the surfaces into one decision: install, install with named constraints (scoped grants, pinned version, network denied, human approval on sensitive calls), or deny. Kill individual leads that proved benign. Record the pinned identity, each surface's result, the verdict, and the reason, so a re-review after an update starts from evidence.
Confirm. A pinned skill passes a rendered read, but the code inspection finds an install-time step that fetches a remote script and executes it, and a runtime path that reads a credential file into an outbound request. Two surfaces fail: install-time remote execution and secret exfiltration. Confirmed unsafe artifact,
critical, verdict = deny, remediation = do not install; if the function is needed, require a pinned artifact with no install-time execution and no credential egress, re-vetted from evidence.Kill. A pinned skill has clean instruction text, grants scoped to one directory and exercised, no environment or credential reads, no decode-then-exec, no install-time or remote execution, and a static runtime that only transforms local input. Every surface passes. Killed as a risk,
kill_reason= "pinned artifact, clean instructions, least-privilege grants used, no exfil path, no obfuscated or install-time execution"; verdict = install.
You need the pinned artifact (source, version, hash), the three surface audits (instruction text, permission diff, and the finding schema they emit), and a way to trace bundled code from a sensitive read or a decode to an execution or egress sink. A view that follows flow through aliases and indirection makes the exfil and decode-then-exec traces reliable; the pin, the surface checklist, and the recorded verdict are the method.
auditing-skill-and-mcp-instructions - the instruction-text lint this flagship
runs as its instruction-audit step.auditing-declared-vs-used-permissions - the permission diff this flagship runs
as its consent-gap step.hunting-supply-chain-risks - the broader dependency and pipeline supply-chain
view; this skill is the install-time, per-artifact slice.auditing-ml-model-supply-chain - the same decode-then-execute and load-time
execution risks in model artifacts rather than skills.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-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./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.Other plugins' skills for the same job