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.
npx skills add SkillMedev/legacy-modernization --skill dependency-risk-auditgit clone --depth 1 https://github.com/SkillMedev/legacy-modernizationWrote 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.
[](https://agentmods.dev/skills/skillmedev/legacy-modernization/dependency-risk-audit)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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):
- 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:
- 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.
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.
- 1mo ago Changed · +2 lines · +1 tokens per session b83629eb45ee
- 3mo ago First seen · 107 lines · 150 tokens per session scan A 21c6e4e5d095
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.
dependency-risk-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dependency-risk-auditSkillMedev/legacy-modernization | Skill | 2 | 1mo ago | MIT | A | 151 | Claude Code, Codex |
| Breaking Change DetectorNotysoty/openagentskills | Skill | 9 | 3mo ago | MIT | A | 23 | Claude Code, Codex |
| code-migratorglincker/claude-code-marketplace | Skill | 38 | 2mo ago | Apache-2.0 | A | 23 | Claude Code |
| coderaiskillstore/marketplace | Skill | 509 | today | none | A | 36 | Claude Code, Codex |
| design-plan-convergence-loopMarkAsir/design-plan-skill | Skill | 1 | 9d ago | MIT | A | 96 | Codex |
| design-plan-convergenceMarkAsir/design-plan-skill | Skill | 1 | 9d ago | MIT | A | 84 | Codex |
| design-plan-remediationMarkAsir/design-plan-skill | Skill | 1 | 9d ago | MIT | A | 76 | Codex |