dep-audit

dep-audit is a skill for Claude Code, Codex from cacheforge-ai/cacheforge-skills. It costs 42 tokens per session (1,552 once invoked), scanned A, original, MIT.

A dependency security checker for npm, pip, Cargo, and Go projects. Dependencies are external packages your code relies on, and CVEs are public records of known security flaws.

In plain words
What is it for?
Use it to inspect dependency trees and lockfiles, identify packages to update, and generate an SBOM, a list of the software components in a project.
Why use it?
It finds known vulnerabilities in those packages before they become overlooked risks.

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

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/cacheforge-ai/cacheforge-skills/dep-audit.svg)](https://agentmods.dev/skills/cacheforge-ai/cacheforge-skills/dep-audit)
Your own site
<a href="https://agentmods.dev/skills/cacheforge-ai/cacheforge-skills/dep-audit"><img src="https://agentmods.dev/badge/skills/cacheforge-ai/cacheforge-skills/dep-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,552 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.00042 $0.01552
Opus 5 $0.00021 $0.00776
Sonnet 5 $0.00008 $0.00310
Haiku 4.5 $0.00004 $0.00155

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

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/aggregate.sh, scripts/audit-cargo.sh, scripts/audit-go.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 167 lines

How it starts

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

Dependency Audit Skill

Detect and report known vulnerabilities in your project's dependency tree. Supports npm, pip (Python), Cargo (Rust), and Go out of the box. No API keys. No config. Just point it at a project.

Activation

This skill activates when the user mentions:

  • "audit", "vulnerability", "CVE", "dependency check", "supply chain", "security scan"
  • Checking dependencies, lockfiles, or packages for issues
  • Generating an SBOM (Software Bill of Materials)

Example Prompts

  1. "Audit this project for vulnerabilities"
  2. "Check all my repos in ~/projects for known CVEs"
  3. "Are there any critical vulnerabilities I should fix right now?"
  4. "Generate an SBOM for this project"
  5. "What dependencies need updating in this project?"
  6. "Audit only the Python dependencies"

Permissions

permissions:
  exec: true          # Required to run audit CLIs
  read: true          # Read lockfiles
  write: on-request   # SBOM generation writes sbom.cdx.json when user asks
  network: true       # Tools fetch advisory DBs

Agent Workflow

Follow this sequence exactly:

Step 1: Detect

Run the detection script to discover lockfiles and available tools:

bash <skill_dir>/scripts/detect.sh <target_directory>

If no target directory is given, use the current working directory (.).

Parse the JSON output. Note which ecosystems have lockfiles and which tools are available.

Step 2: Audit Each Ecosystem

For each ecosystem detected in Step 1:

  • If the audit tool is available, run the corresponding script:

    bash <skill_dir>/scripts/audit-npm.sh <directory>
    bash <skill_dir>/scripts/audit-pip.sh <directory>
    bash <skill_dir>/scripts/audit-cargo.sh <directory>
    bash <skill_dir>/scripts/audit-go.sh <directory>
    
  • If the tool is missing, tell the user which tool is needed and the install command from the detect output. Skip that ecosystem and continue with others.

Note: yarn.lock and pnpm-lock.yaml are detected as yarn and pnpm ecosystems respectively. Audit support is npm-only in v0.1.x (package-lock.json). If only a yarn.lock or pnpm-lock.yaml is present, inform the user that dedicated yarn/pnpm audit is not yet supported and suggest running yarn audit or pnpm audit manually.

Read the full file on GitHub · 167 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 · 167 lines · 42 tokens per session scan A ea72b82e17a1

Subscribe to this mod's changes

dep-audit is a skill published in the GitHub repository cacheforge-ai/cacheforge-skills (10 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 1,552 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-31.

Related

Other skills, from other repositories

edgeone-clawscan

The first security skill to install after setting up OpenClaw — powered by Tencent Zhuque Lab. Works like an antivirus for your AI environment: audits installed skills, scans skills before installation, and performs a full OpenClaw security health check to prevent data leaks and privacy risks. Backed by Tencent Zhuque…

Tencent/AI-Infra-Guard · 236 tokens

Vulnerability Scanning & Assessment

Dependency auditing, CVE detection, configuration security review, CVSS scoring, and prioritized vulnerability reporting.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

analyzing-sbom-for-supply-chain-vulnerabilities

Parses Software Bill of Materials (SBOM) in CycloneDX and SPDX JSON formats to identify supply chain vulnerabilities by correlating components against the NVD CVE database via the NVD 2.0 API. Builds dependency graphs, calculates risk scores, identifies transitive vulnerability paths, and generates compliance reports.…

adriannoes/awesome-agentic-ai · 110 tokens

absolute-audit

Vulnerability and security scan (defensive, your own repo): dependency CVEs plus risky code patterns (secrets, injection, weak authz), severity x reachability triaged and remediated without suppressing. Complements the built-in /security-review. Triggers on "absolute audit", "security audit", "are we vulnerable"…

maddhruv/absolute · 91 tokens

osv-ui

Security auditing skill for scanning CVE vulnerabilities across npm, Python, Go, and Rust projects using osv-ui. Opens a visual browser dashboard for human review, then applies fixes with explicit confirmation.

toan203/osv-ui · 42 tokens

analyzing-kubernetes-audit-logs

Parses Kubernetes API server audit logs (JSON lines) to detect exec-into-pod, secret access, RBAC modifications, privileged pod creation, and anonymous API access. Builds threat detection rules from audit event patterns. Use when investigating Kubernetes cluster compromise or building k8s-specific SIEM detection rules.

autohandai/community-skills · 71 tokens