dependency-audit

dependency-audit is a skill for Claude Code, Codex from KhaledSaeed18/dotclaude. It costs 76 tokens per session (507 once invoked), scanned A, original, MIT.

A guide for reviewing the third-party packages a project uses, across ecosystems such as JavaScript, Python, Rust, Go, Java, Ruby, and PHP.

In plain words
What is it for?
It helps identify the package manager, run its native audit and update checks, rank risks, and plan safer upgrades using real tool output.
Why use it?
It reveals known security problems, outdated packages, and upgrades that may break the project, while avoiding guesses when audit tools are unavailable.

Skill for Claude CodeCodex

Part of the security plugin — 3 skills, 1 command, 1 agent 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 skills/khaledsaeed18/dotclaude/dependency-audit
Any agent
npx skills add KhaledSaeed18/dotclaude --skill dependency-audit
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code, Codex.

Or install security, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent.

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/skills/khaledsaeed18/dotclaude/dependency-audit.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/dependency-audit)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/dependency-audit"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/dependency-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 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.00076 $0.00507
Opus 5 $0.00038 $0.00253
Sonnet 5 $0.00015 $0.00101
Haiku 4.5 $0.00008 $0.00051

Measured 4d ago against content hash bbc208912fb4, 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-plugin/plugins/security/skills/dependency-audit/SKILL.md · 37 lines

What it actually says

Audit this project's dependencies for risk and staleness, then recommend a safe upgrade path. Detect the ecosystem before running anything.

Detect the ecosystem

Identify the package manager(s) from the manifests and lockfiles present, then use that ecosystem's native tooling. Common cases:

  • JS/TS: npm audit / pnpm audit / yarn npm audit; npm outdated.
  • Python: pip list --outdated, pip-audit; Poetry/uv equivalents.
  • Rust: cargo outdated, cargo audit.
  • Go: go list -m -u all, govulncheck.
  • Java: mvn versions:display-dependency-updates, OWASP dependency-check; Gradle equivalents.
  • Ruby: bundle outdated, bundle-audit.
  • PHP: composer outdated, composer audit.

If a tool isn't installed, say so and give the exact command to run rather than guessing results. Never invent advisory IDs or version numbers; quote them from real tool output.

Assess

  • Vulnerabilities: list affected package, installed version, fixed version, severity, and advisory ID. Prioritise by severity and by whether the vulnerable code path is actually reachable from this project.
  • Outdated: separate patch/minor (low-risk) from major (potentially breaking).
  • Breaking changes: for the upgrades you recommend, pull the relevant changelog / release notes / migration guide and summarise what would break.

Report

  1. Critical: security fixes to apply now, each with the upgrade command.
  2. Recommended: safe patch/minor bumps.
  3. Needs review: major upgrades, each with its breaking-change summary and a rough effort estimate.
  4. A suggested upgrade order that minimises churn and conflicts.

Keep findings factual and grounded in tool output; quote versions and advisory IDs exactly.

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 · 37 lines · 76 tokens per session scan A bbc208912fb4

Subscribe to this mod's changes

dependency-audit is a skill published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 3d ago), licensed MIT. It adds 76 tokens to every session and 507 once invoked, about $0.0004 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.