dependency-audit

dependency-audit is a command for Claude Code from TheLobbi/claude. It costs 0 tokens per session (634 once invoked), scanned A, original, MIT.

A command that checks the packages and libraries a project depends on. It looks for security problems, old or conflicting versions, licensing concerns, and bundle-size effects.

In plain words
What is it for?
Use it to audit security, updates, version conflicts, licenses, or all areas together, with summary, detailed, JSON, or HTML reports.
Why use it?
It helps find dependency risks before they cause security incidents, build failures, legal problems, or unnecessarily large applications.

Command for Claude Code

Part of the claude-orchestration plugin — 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins 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/thelobbi/claude/dependency-audit
Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/dependency-audit.svg)](https://agentmods.dev/commands/thelobbi/claude/dependency-audit)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/dependency-audit"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/dependency-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 634 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.00000 $0.00634
Opus 5 $0.00000 $0.00317
Sonnet 5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00063

Measured 4d ago against content hash a0698f5a230d, 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 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.

.claude/commands/dependency-audit.md · 88 lines

How it starts

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

/dependency-audit - Dependency Health & Security Analysis

Description

Comprehensive audit of all project dependencies for security vulnerabilities, outdated packages, conflicts, and licensing issues.

Usage

/dependency-audit [scope] [report_type]

Parameters

  • scope: security | updates | conflicts | licenses | all (default: all)
  • report_type: summary | detailed | json | html (default: summary)

Examples

Security audit only

/dependency-audit security

Check for outdated packages

/dependency-audit updates detailed

Identify dependency conflicts

/dependency-audit conflicts

Full audit with HTML report

/dependency-audit all html

Actions Performed

  1. Vulnerability Scan: Checks npm audit, Snyk, GitHub advisories
  2. Version Analysis: Detects outdated, insecure, or deprecated versions
  3. Conflict Detection: Finds peer dependency and version conflicts
  4. License Check: Validates license compatibility (MIT, Apache, GPL, etc.)
  5. Size Impact: Analyzes bundle size contributions
  6. Update Suggestions: Recommends safe upgrade paths

Output Format

DEPENDENCY AUDIT REPORT
━━━━━━━━━━━━━━━━━━━━━━━

🔒 SECURITY (2 vulnerabilities)
  🔴 lodash: 4.17.19 → CVE-2021-23337 (High)
     Fix: npm install [email protected]
  🟡 minimist: 1.2.0 → CVE-2021-44906 (Medium)
     Fix: npm install [email protected]

⚠️  OUTDATED (12 packages)
  react: 17.0.2 → 18.2.0 (Major)
  typescript: 4.5.0 → 5.0.0 (Major)
  jest: 27.5.0 → 29.0.0 (Major)

🔗 CONFLICTS (1 found)
  [email protected] requires [email protected] but got 6.x

📜 LICENSES (OK)
  All packages: Compatible

📦 BUNDLE IMPACT
  Total: 2.4 MB
  Largest: react (850 KB)

RECOMMENDATIONS:
  [Update] 10 safe updates available
  [Fix] 2 security vulnerabilities (CRITICAL)
  [Review] 2 major version upgrades needed

Configuration

  • Auto-check on install
  • Fail build on critical vulnerabilities
  • Allowed licenses whitelist
  • Update frequency schedule
  • Slack/email notifications

Read the full file on GitHub · 88 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 · 88 lines · 0 tokens per session scan A a0698f5a230d

Subscribe to this mod's changes

dependency-audit is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 634 tokens. 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.