dep-audit

dep-audit is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 26 tokens per session (551 once invoked), scanned A, original, MIT.

A tool for checking, updating, and auditing software packages used by a project.

In plain words
What is it for?
Auditing and updating npm, Yarn, pnpm, Python, Rust, and Go dependencies; detecting the project type; checking vulnerabilities; and handling lockfiles.
Why use it?
It shows outdated packages and known security vulnerabilities, while helping update dependencies and regenerate their lockfiles safely.

Skill for Claude CodeCodex

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/jansenanalytics/claudex/dep-audit
Any agent
npx skills add JansenAnalytics/claudex --skill dep-audit
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/dep-audit.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/dep-audit)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/dep-audit"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/dep-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 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.00026 $0.00551
Opus 5 $0.00013 $0.00275
Sonnet 5 $0.00005 $0.00110
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

dep-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.

skills/dep-audit/SKILL.md · 69 lines

How it starts

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

dep-audit

Audit and update project dependencies: find outdated packages, check for vulnerabilities, auto-update safely with lockfile regeneration.

When to Use

  • Checking for outdated dependencies
  • Scanning for CVEs / security vulnerabilities
  • Updating packages safely (minor/patch)
  • Managing dependency conflicts
  • Regenerating lockfiles after updates

Supported Ecosystems

Ecosystem Lockfile Audit Outdated Update
npm/yarn/pnpm package-lock.json / yarn.lock / pnpm-lock.yaml
pip requirements.txt / Pipfile.lock ✅ (pip-audit)
cargo Cargo.lock
go go.sum ✅ (govulncheck)

Scripts

scripts/dep-check.sh [path]

Universal dependency checker. Auto-detects ecosystem, runs security audit, and lists outdated packages.

bash scripts/dep-check.sh /path/to/project

scripts/safe-update.sh [path] [--major]

Safely updates dependencies (minor/patch by default). Creates a git stash before updating, regenerates lockfile. Use --major for major version bumps (interactive confirmation).

bash scripts/safe-update.sh /path/to/project
bash scripts/safe-update.sh /path/to/project --major

scripts/outdated.sh [path]

Lists all outdated dependencies with current vs latest versions, grouped by severity (patch/minor/major).

bash scripts/outdated.sh /path/to/project

References

  • references/update-strategies.md — Safe update workflows and strategies
  • references/semver-guide.md — Semver rules and common gotchas
  • references/breaking-changes.md — Common breaking changes by ecosystem

Tips

  • Always run dep-check.sh before safe-update.sh to understand the landscape
  • For monorepos, run from the root — scripts detect workspace configs
  • Use --major flag with caution; review changelogs first
  • After updating, run the project's test suite to verify nothing broke

Read the full file on GitHub · 69 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 · 69 lines · 26 tokens per session scan A 30b6d0eda706

Subscribe to this mod's changes

dep-audit is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 551 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.