dependency-risk-audit

dependency-risk-audit is a skill for Claude Code, Codex from SkillMedev/legacy-modernization. It costs 151 tokens per session (1,625 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 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,625 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.00151 $0.01625
Opus 5.5 $0.00060 $0.00650
Sonnet 5.5 $0.00030 $0.00325
Haiku 4.5 $0.00015 $0.00162

Measured 1mo ago against content hash b83629eb45ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 — 16 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 · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 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 · 109 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. 1mo ago Changed · +2 lines · +1 tokens per session b83629eb45ee
  2. 3mo 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 1mo ago), licensed MIT. It adds 151 tokens to every session and 1,625 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to dependency-risk-audit, differing in 16 lines, and is treated as a copy.

Related

dependency-risk-audit compared with skills from other repositories

dependency-risk-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-risk-auditSkillMedev/legacy-modernizationSkill21mo agoMITA151Claude Code, Codex
Breaking Change DetectorNotysoty/openagentskillsSkill93mo agoMITA23Claude Code, Codex
code-migratorglincker/claude-code-marketplaceSkill382mo agoApache-2.0A23Claude Code
coderaiskillstore/marketplaceSkill509todaynoneA36Claude Code, Codex
design-plan-convergence-loopMarkAsir/design-plan-skillSkill19d agoMITA96Codex
design-plan-convergenceMarkAsir/design-plan-skillSkill19d agoMITA84Codex
design-plan-remediationMarkAsir/design-plan-skillSkill19d agoMITA76Codex