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 sawrus/agent-guides --skill dependency-auditgit clone --depth 1 https://github.com/sawrus/agent-guidesWrote 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/sawrus/agent-guides/dependency-audit)<a href="https://agentmods.dev/skills/sawrus/agent-guides/dependency-audit"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/dependency-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/sawrus/agent-guides/dependency-audit"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/dependency-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.00056 | $0.00684 |
| Opus 5.5 | $0.00022 | $0.00274 |
| Sonnet 5.5 | $0.00011 | $0.00137 |
| Haiku 4.5 | $0.00006 | $0.00068 |
Grade A, and why
dependency-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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dependency audit
1. Inventory the change
- Diff the lock files against the target branch:
git diff origin/main -- '*.lock' go.sum pom.xml requirements*.txt package-lock.json. - For each new or upgraded package, record: name, old and new version, direct or transitive, registry.
- Check new direct packages for red flags: a maintainer change just before the release, install scripts with network calls, obfuscated code, a name close to a popular package, a registry outside the approved list. If you find one, stop and tell the user.
2. Scan
| Stack | Command |
|---|---|
| Python | pip-audit -r requirements.txt or uv run pip-audit |
| Go | govulncheck ./... |
| Java (Maven) | mvn org.owasp:dependency-check-maven:check or osv-scanner -L pom.xml |
| Node | npm audit --omit=dev |
| Any lock file | osv-scanner scan source -r . |
Record each High or Critical finding with the advisory id, the package path, and the fixed version.
3. Check reachability
- Go:
govulncheckreports only vulnerable functions that the code calls; trust its "not called" result. - Other stacks: search the code for the vulnerable function or feature named in the advisory.
- Check exposure: is the code path reachable from a public endpoint, from user input, or only from tests and build tools?
4. Classify and act
- Exploitable — reachable from untrusted input. Upgrade to the fixed version now. Block the release until it ships.
- Not reachable — record the evidence (search result,
govulncheckoutput) in the ignore file of the scanner with a reason, for example.osv-scanner.toml[[IgnoredVulns]]withreasonandignoreUntil. - No fix available — agree with the user on a compensating control (input validation, feature off, WAF rule) and record an exception with an owner and an expiry date.
5. Fix
- Prefer the smallest upgrade that contains the fix. Run the full test suite after it.
- If the upgrade is a major version, read its changelog for breaking changes and fix the call sites.
- For a transitive package, upgrade the direct parent first; pin the transitive version only if no parent
release has the fix (
constraints.txt, MavendependencyManagement,overridesinpackage.json,replaceingo.mod).
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 · +1 lines · +13 tokens per session 3df89b65153e
- 1mo ago Changed · +5 lines · +43 tokens per session 953dd130c812
- 2mo ago First seen · 51 lines · 0 tokens per session scan A 5832f76c091f
dependency-audit is a skill published in the GitHub repository sawrus/agent-guides (21 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 684 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
dependency-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dependency-auditsawrus/agent-guides | Skill | 21 | today | MIT | A | 56 | Claude Code, Codex |
| idea-refineaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 75 | Claude Code |
| agent-framework-azure-ai-pysickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 24 | Claude Code |
| apify-integration-developmentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 25 | Claude Code |
| ai-image-generation-studiosickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 30 | Claude Code |
| aws-cdk-developmentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 24 | Claude Code |
| azd-deploymentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 37 | Claude Code |