/security-agent-skills:hunting-supply-chain-risksfrom security-agent-skills
Audits build pipelines, dependency manifests, and CI/CD configs for supply-chain attacks: dependency confusion, typosquatting, slopsquatting, poisoned pipeline execution, and over-privileged CI.
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.
Your application code can pass every review while the thing you actually ship is compromised, because the supply chain is a second, softer surface: what you pull in, what your build runs, and what your CI is trusted to do. These attacks execute in your build or your users' installs, usually before any code review looks at them. Finding them means auditing resolution, execution, and privilege, not the source.
Audit builds, registries, and pipelines you own or are authorized to test. Do not publish packages or trigger jobs against systems you do not control; probe name collisions passively. If you can't name the authorization, stop.
Map what the build resolves and runs. List every dependency source (registries, internal and public), how names resolve when both exist, and every step the pipeline executes that is not your reviewed code: install scripts, generated config, third-party actions or plugins, and anything triggered by external input.
Check for dependency confusion. For each internal or private package name, can a public registry serve a package of the same name, and would your resolver prefer or fall back to it? An internal name that is unclaimed publicly and resolvable from the public registry is a hijack waiting for a version bump. Confirm scoping, registry pinning, and namespace ownership.
Check for typo- and slopsquatting. Are dependency names verified against a known-good source, or copied from documentation, an assistant's suggestion, or memory? A package name a model hallucinated and an attacker then registered (slopsquatting) installs attacker code under a plausible name. Verify every name resolves to the intended, established package, not a lookalike or a freshly published near-name.
Check for poisoned pipeline execution. Does any CI step run on untrusted input (a pull request from a fork, an issue title, a branch name, a dependency's install script) while holding secrets or the ability to alter the build? Untrusted input that reaches a build step with credentials is remote code execution in your pipeline. Trace external triggers to privileged steps.
Check CI privilege and secret blast radius. Which secrets, tokens, and deploy keys does a job hold, and does a low-trust trigger (a fork PR) run with the same power as a trusted one? Scope tokens per job and separate untrusted-trigger jobs from secret-holding ones.
Check the integrity of what's pulled. Are dependencies pinned by hash or lockfile, are actions and plugins pinned by commit rather than a mutable tag, and is what you install verified? A mutable reference is a rug-pull channel: benign today, swapped tomorrow.
Confirm or kill each and record. For each risk, the fix: claim and scope internal names and pin the registry, verify package names, isolate untrusted-trigger jobs from secrets, pin by hash or commit, minimize token scope. Record confirmed exposures and closed paths in the schema.
Confirm. An internal utility package is referenced by a bare name, and the resolver falls back to the public registry when the private one lacks a requested version. The name is unclaimed publicly; an attacker publishes it at a higher version. The next build pulls the attacker's code, whose install script runs with CI secrets in scope. Confirmed dependency confusion into poisoned pipeline,
critical, remediation = claim the name and scope, pin the private registry, and run installs without secret access.Kill. A repo pins every dependency by hash in a committed lockfile, resolves only from a scoped internal registry with no public fallback, pins all CI actions by commit, and runs fork-PR jobs in a no-secrets context. A confusion attempt cannot resolve and a swapped tag fails the hash. Killed,
kill_reason= "hash-pinned, single scoped registry with no fallback, secret-free untrusted-trigger jobs; no shadowing or rug-pull path."
You need the dependency manifests and lockfiles, the resolver's registry and fallback configuration, the CI configuration with its triggers and secret scoping, and the ability to check public registries for name collisions. A code graph over your app plus resolved dependencies helps confirm whether pulled code is even reachable; the resolution rules and the trigger-to-secret tracing are the method.
adjudicating-dependency-cve-reachability - whether a pulled dependency's known
bug is reachable, once you trust what is pulled.auditing-mcp-tool-integrations - rug-pull and pinning discipline applied to the
tool layer.mapping-attack-surface - inventorying build and CI surface alongside the app.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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