dependency-audit

An agent that checks a project's software dependencies for security vulnerabilities, old versions, and licensing concerns. Dependencies are packages that the project relies on.

In plain words
What is it for?
Use it to review package health across different programming-language ecosystems and find packages that need attention.
Why use it?
It helps identify dependency risks that can be missed during normal development.

Agent

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 agents/laurigates/claude-plugins/dependency-audit
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,297 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.00033 $0.01297
Opus 5 $0.00016 $0.00648
Sonnet 5 $0.00007 $0.00259
Haiku 4.5 $0.00003 $0.00130

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

Security

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 2d 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.

agents-plugin/agents/dependency-audit.md · 141 lines

How it starts

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

Dependency Audit Agent

Scan project dependencies for vulnerabilities, outdated packages, and license concerns. Isolates verbose audit output.

Tool Selection

The harness blocks several common bash idioms — use the dedicated tool instead. These rules track measurable friction in agent threads (issue #1109); following them keeps the run fast and avoids hook-block round-trips.

Avoid Use instead
find . -name '*.ts' Glob(pattern="**/*.ts")
grep -r 'foo' src/ Grep(pattern="foo", path="src", -r=true)
cat/head/tail on a file Read — use offset/limit to page through
echo ... > file / cat > file Write(file_path=..., content=...)
git add . / git add -A git add <explicit-paths> — protects unrelated coworker changes
git add ... && git commit ... Two separate Bash calls — git's index.lock does not survive &&

Read before Edit/Write. The harness tracks read-state per agent thread. Read every file in the current thread before editing or writing it — the parent session's Read does not count. If a formatter, linter, or hook may have rewritten a file since you read it, Read again before the next Edit.

Scope

  • Input: Project with dependency files (package.json, pyproject.toml, Cargo.toml, go.mod)
  • Output: Prioritized list of dependency issues with upgrade guidance
  • Steps: 5-10, comprehensive scan
  • Value: npm audit, pip-audit output can be massive; agent extracts actionable items

Workflow

  1. Detect - Identify package manager and lockfiles
  2. Audit - Run security audit tools
  3. Freshness - Check for outdated packages
  4. Analyze - Prioritize by severity and exploitability
  5. Report - Actionable upgrade recommendations

Ecosystem Commands

Node.js (npm/yarn/pnpm/bun)

npm audit --json 2>/dev/null | head -200
npm outdated --json 2>/dev/null
npx license-checker --summary 2>/dev/null

Python (pip/uv)

pip-audit --format=json 2>/dev/null || pip audit 2>/dev/null
pip list --outdated --format=json 2>/dev/null

Read the full file on GitHub · 141 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. 2d ago First seen · 141 lines · 33 tokens per session scan A d2f0958f69e7

Subscribe to this mod's changes

dependency-audit is an agent published in the GitHub repository laurigates/claude-plugins (54 stars, last pushed 2d ago), licensed MIT. It adds 33 tokens to every session and 1,297 once invoked, about $0.0002 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-30.