Dependency Risk Audit

Dependency Risk Audit is a skill for Claude Code, Codex from SkillMedev/legacy-modernization. It costs 150 tokens per session (1,614 once invoked), scanned A, a copy of Dependency Risk Audit, MIT.

A security review of the third-party packages your project depends on. It checks for known vulnerabilities, abandoned packages, licensing concerns, and signs of supply-chain risk.

In plain words
What is it for?
Use it before adding a package or when reviewing a project's dependency manifest and lockfile.
Why use it?
Package audit tools can produce long lists without showing which issues matter in your actual application. This review ranks the findings and orders the fixes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before adding a package or when reviewing a project's dependency manifest and lockfile.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skillmedev/legacy-modernization/dependency-risk-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SkillMedev/legacy-modernization --skill dependency-risk-audit
Clone the repo
git clone --depth 1 https://github.com/SkillMedev/legacy-modernization

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Dependency Risk Audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/skillmedev/legacy-modernization/dependency-risk-audit/github.svg)](https://agentmods.dev/skills/skillmedev/legacy-modernization/dependency-risk-audit)
Your own site
<a href="https://agentmods.dev/skills/skillmedev/legacy-modernization/dependency-risk-audit"><img src="https://agentmods.dev/badge/skills/skillmedev/legacy-modernization/dependency-risk-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Dependency Risk Audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/skillmedev/legacy-modernization/dependency-risk-audit"><img src="https://agentmods.dev/badge/skills/skillmedev/legacy-modernization/dependency-risk-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.01614
Opus 5 $0.00075 $0.00807
Sonnet 5 $0.00030 $0.00323
Haiku 4.5 $0.00015 $0.00161

Measured 9d ago against content hash 21c6e4e5d095, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Dependency Risk Audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to Dependency Risk Audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/dependency-risk-audit/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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):

  1. Ecosystem and manifest/lockfile (package.json + lockfile, requirements/poetry, Gemfile.lock, go.mod).
  2. Deployment context: server-side, client-side, CLI-only, or build-time only - this decides reachability.
  3. License posture: proprietary/commercial code, or open source (decides copyleft tolerance).
  4. 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:

  • Confirm exploitability in context - a CVE in a CLI-only code path of a server-side lib may not be reachable. A dev-only dependency (test runner, linter) is almost never exploitable in production, but IS in scope for install-time attacks.
  • Check whether a fixed version exists and whether upgrading is a semver-compatible bump.
  • Red line: any CVSS 7.0+ finding with no available fix is a blocking risk requiring a compensating control or replacement.
  • Never dismiss a finding without a written reason attached to it. "Probably fine" is not a reason; "the vulnerable function is X, we never call X, verified by grep" is.

Step 3: check maintenance health

A dependency with no CVEs today can become a liability tomorrow. For any new or high-traffic dependency:

  • Last release and commit activity: no release in 24+ months on an active ecosystem is a yellow flag (in slow-moving ecosystems, judge by open-issue responsiveness instead).
  • Open security issues versus closed, and whether reports get responses.
  • A documented security policy or disclosure contact.
  • Single-maintainer packages without a succession plan carry concentration risk - flag them; for anything on a critical path, require a fork-and-maintain fallback plan or an alternative identified in the report.

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 107 lines · 150 tokens per session scan A 21c6e4e5d095

Subscribe to this mod's changes

Dependency Risk Audit is a skill published in the GitHub repository SkillMedev/legacy-modernization (2 stars, last pushed 2mo ago), licensed MIT. It adds 150 tokens to every session and 1,614 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Dependency Risk Audit, differing in 0 lines, and is treated as a copy.