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.00150 | $0.01614 |
| Opus 5 | $0.00075 | $0.00807 |
| Sonnet 5 | $0.00030 | $0.00323 |
| Haiku 4.5 | $0.00015 | $0.00161 |
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.
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.
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):
- 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.
- 9d 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 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.
Other skills, from other repositories
Breaking Change Detector
Compares two versions of a codebase or API and flags all breaking changes with migration hints.
vb6-legacy
Classic VB6 patterns, COM interop, migration strategies.
MCP Integration Assistant
Helps design and implement Model Context Protocol (MCP) server integrations for AI agents.
Accessibility Audit Helper
Reviews UI code and components for WCAG 2.1 accessibility violations and provides specific fixes.
Agent Evaluation Framework Builder
Designs an eval suite for an LLM agent or pipeline including success metrics, trajectory scoring, LLM-as-judge setup, and regression test cases.
API Documentation Generator
Generates OpenAPI-compatible documentation for REST API endpoints from code or route definitions.