Dependency Risk Audit
Installation
SKILL.md
Dependency Risk Audit
Third-party packages are the most common source of supply-chain compromise and known-vulnerability exploitation; treat dependency selection as a security decision, not a convenience one. The costly failure this skill prevents is on both ends: shipping a reachable critical CVE because the audit output was noise nobody read, and burning a sprint patching findings in code paths that can never execute.
Operating procedure
Step 1: gather inputs
Collect (label guesses as guesses):
- Ecosystem and manifest/lockfile (package.json + lockfile, requirements/poetry, Gemfile.lock, go.mod).
- Deployment context: server-side, client-side, CLI-only, or build-time only - this decides reachability.
- License posture: proprietary/commercial code, or open source (decides copyleft tolerance).
- Whether this is a point decision (one new package) or a full audit (whole tree).
Step 2: run the native audit and triage for reachability
Run the ecosystem's native tool first: npm audit, pip-audit, bundle audit, govulncheck (which does reachability analysis natively - trust its "not called" verdicts). For each finding: