audit-deps

audit-deps is a command for coding agents from sembraniteam/claude-plugins. It costs 28 tokens per session (643 once invoked), scanned A, original, MIT.

A command that scans project dependency files for known security vulnerabilities using OSV.dev and the National Vulnerability Database (NVD). It reports affected packages, severity, CVE identifiers, and available fix versions.

In plain words
What is it for?
Use it to inspect dependencies across ecosystems such as JavaScript, Python, Go, Java, Rust, PHP, Ruby, and .NET.
Why use it?
It shows whether third-party libraries in the project have publicly known security problems and how they can be fixed.

Command

Part of the security-auditor plugin — 1 skill, 7 commands, 3 agents shipped together

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.

agentmods
npx agentmods add commands/sembraniteam/claude-plugins/audit-deps
Clone the repo
git clone --depth 1 https://github.com/sembraniteam/claude-plugins

Or install security-auditor, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 3 agents.

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 audit-deps

README.md
[![agentmods](https://agentmods.dev/badge/commands/sembraniteam/claude-plugins/audit-deps.svg)](https://agentmods.dev/commands/sembraniteam/claude-plugins/audit-deps)
Your own site
<a href="https://agentmods.dev/commands/sembraniteam/claude-plugins/audit-deps"><img src="https://agentmods.dev/badge/commands/sembraniteam/claude-plugins/audit-deps.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00028 $0.00643
Opus 5 $0.00014 $0.00321
Sonnet 5 $0.00006 $0.00129
Haiku 4.5 $0.00003 $0.00064

Measured 4d ago against content hash 0268868c73c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit-deps 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 4d 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.

security-auditor/commands/audit-deps.md · 59 lines

How it starts

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

You are scanning project dependencies for known CVEs using the security-auditor plugin's vuln-lookup MCP server.

Step 1 — Discover all manifest files

Search the project for dependency manifests:

  • package.json, package-lock.json, yarn.lock, pnpm-lock.yaml (npm/Node)
  • requirements.txt, Pipfile, Pipfile.lock, pyproject.toml, poetry.lock (Python)
  • go.mod, go.sum (Go)
  • pom.xml, build.gradle, build.gradle.kts (Java/Kotlin)
  • Cargo.toml, Cargo.lock (Rust)
  • composer.json, composer.lock (PHP)
  • Gemfile, Gemfile.lock (Ruby)
  • *.csproj, packages.config, *.nuspec (C#/.NET)

List the manifests found before proceeding.

Step 2 — Extract pinned versions

For each manifest:

  • Parse the exact version currently installed (from the lockfile if available — lockfiles have the real pinned version, unlike package.json ranges)
  • Build a list of (ecosystem, package_name, version) tuples

Step 3 — Query OSV.dev for each package

For each (ecosystem, package, version):

  1. Call query_osv(ecosystem=..., package=..., version=...) via the vuln-lookup MCP server
  2. If OSV returns vulnerabilities with CVE aliases, call get_cve(cve_id) on each to get CVSS score and severity from NVD

RULE: Never write a CVE number that was not returned by one of these MCP tool calls. If OSV returns no results, the row in the output table shows "None found".

Step 4 — Output the results table

For each package that has at least one CVE, output a row:

| Package | Installed | CVE | CVSS | Severity | Fixed In |
|---------|-----------|-----|------|----------|----------|
| lodash  | 4.17.4    | CVE-2019-10744 | 9.8 | Critical | 4.17.21 |

After the table with vulnerable packages, add a short section:

Clean packages (no CVEs found): list them in a compact format, e.g., [email protected] ✓, [email protected].

Step 5 — Priority recommendation

List the top 3 most urgent updates based on CVSS score, with the exact upgrade command:

Read the full file on GitHub · 59 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. 4d ago First seen · 59 lines · 28 tokens per session scan A 0268868c73c6

Subscribe to this mod's changes

audit-deps is a command published in the GitHub repository sembraniteam/claude-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 643 once invoked, about $0.0001 per session on Opus 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-08-31.