dep-audit
Skill10 starsChanged 9 months agoMITView on GitHub
Audit project dependencies for known vulnerabilities (CVEs). Supports npm, pip, Cargo, and Go. Zero API keys required. Safe-by-default: report-only mode, fix commands require confirmation.
- Installs packages
11 other projects use a version of this.
Adopted by
Most recently taken up by
- tahianahajanirina/claude-skillstheir own version, first seen Nov 15, 2026
- Archive228/claude-fable-rea-blatheir own version, first seen Nov 15, 2026
- provectus/ccw-advanced-claude-code-labtheir own version, first seen Oct 15, 2026
- TJM-NZ/claude-skillstheir own version, first seen Oct 11, 2026
- sd0xdev/sd0x-dev-flowtheir own version, first seen Oct 8, 2026
- sd0xdev/sd0x-harnesstheir own version, first seen Oct 6, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- sd0xdev/sd0x-dev-flow★ 196same name
- sd0xdev/sd0x-harness★ 196same name
- Archive228/claude-fable-rea-bla★ 18same name
- koach08/claude-code-skills★ 4same name
- InfiniteRoomLabs/agent-ops★ 1same name
- leonardoaraujosantos/my_ai_skills★ 1same name
- provectus/ccw-advanced-claude-code-lab★ 0same name
- roborracle/agent-workflow-kit★ 0same name
- tahianahajanirina/claude-skills★ 0same name
- TJM-NZ/claude-skills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- agentic-devopsSkill
- context-engineerSkill
- continuity-kernelSkill
- feed-dietSkill
- kube-medicSkill
- log-diveSkill
- meeting-autopilotSkill
- pager-triageSkill
- prom-querySkill
- rug-checkerSkill
- swarm-self-healSkill
- tf-plan-reviewSkill
- vibe-checkSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 14 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
No API keys. No config. Just point it at a project.
- Distinctive: line 46
Follow this sequence exactly:
- Distinctive: line 50
Run the detection script to discover lockfiles and available tools:
- Very specific: line 56
If no target directory is given, use the current working directory (.).
- Distinctive: line 96
If zero vulnerabilities found: report "✅ No known vulnerabilities found." If no lockfiles found: report "No lockfiles found in <dir>.
- Distinctive: line 97
If no lockfiles found: report "No lockfiles found in <dir>.
- Distinctive: line 101
When the user is in a Discord channel:
- Distinctive: line 104
Keep the first message under ~1200 characters and avoid large Markdown tables up front.
- Distinctive: line 105
If Discord components are available, include quick actions:
- Distinctive: line 109
If components are unavailable, provide the same options as a numbered list.
- Distinctive: line 114
If the user asks to fix vulnerabilities:
- Distinctive: line 118
Ask for explicit confirmation: before running ANY fix command.
- Distinctive: line 119
Never batch-run fix commands silently.
- Very specific: line 157
If no valid ecosystem results are provided, aggregate output sets status: "error" instead of crashing.
- Distinctive: line 165
No data is sent to third-party services beyond what the native audit tools do (they query public advisory databases).
- Distinctive: line 166
No telemetry. No tracking.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- "Audit this project for vulnerabilities"
- "Check all my repos in ~/projects for known CVEs"
- "Are there any critical vulnerabilities I should fix right now?"
- "Generate an SBOM for this project"
- "What dependencies need updating in this project?"
- "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 DBsAgent 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.lockandpnpm-lock.yamlare detected asyarnandpnpmecosystems respectively. Audit support is npm-only in v0.1.x (package-lock.json). If only ayarn.lockorpnpm-lock.yamlis present, inform the user that dedicated yarn/pnpm audit is not yet supported and suggest runningyarn auditorpnpm auditmanually.
Each script outputs normalized JSON to stdout.
Step 3: Aggregate
Pipe or pass all per-ecosystem JSON results to the aggregator:
bash <skill_dir>/scripts/aggregate.sh <npm_result.json> <pip_result.json> ... 1>unified.json 2>report.mdThe aggregator outputs unified JSON to stdout and a Markdown report to stderr.
Capture both: 2>report.md for the Markdown, 1>unified.json for the JSON.
Step 4: Present Results
Show the user the Markdown report from the aggregator. Highlight:
- Total vulnerability count by severity
- Critical and High findings first (these need attention)
- Which ecosystems were scanned vs skipped
If zero vulnerabilities found: report "✅ No known vulnerabilities found."
If no lockfiles found: report "No lockfiles found in <dir>. This skill works with npm, pip, Cargo, and Go projects."
Discord v2 Delivery Mode (OpenClaw v2026.2.14+)
When the user is in a Discord channel:
- Send a short first response with totals and only Critical/High findings.
- Keep the first message under ~1200 characters and avoid large Markdown tables up front.
- If Discord components are available, include quick actions:
Show Full ReportShow Fix CommandsGenerate SBOM
- If components are unavailable, provide the same options as a numbered list.
- Send long details in short chunks (<=15 lines) to improve readability.
Step 5: Fix Suggestions (only if user asks)
If the user asks to fix vulnerabilities:
- List every fix command with the package name, current version, and target version.
- Suggest creating a branch first:
git checkout -b dep-audit-fixes - Ask for explicit confirmation before running ANY fix command.
- Never batch-run fix commands silently.
Example interaction:
I found these fix commands:
1. cd /home/user/project && npm audit fix
2. pip install requests>=2.31.0
I recommend creating a branch first:
git checkout -b dep-audit-fixes
Shall I run them? (yes/no)Step 6: SBOM (only if user asks)
bash <skill_dir>/scripts/sbom.sh <directory>Report the file location and component count.
Error Handling
| Situation | Behavior |
| Tool not found | Print which tool is missing + install command. Continue with available tools. |
| Audit tool fails | Capture stderr, report "audit failed for [ecosystem]: [error]". Continue with others. |
| Timeout (>30s per tool) | When timeout/gtimeout is available, report "audit timed out for [ecosystem], skipping". Continue. |
| Invalid target directory | Report "directory not found or not accessible" and stop that ecosystem scan (do not report false "clean"). |
| No lockfiles found | Report "No lockfiles found" + list supported ecosystems. |
jq not available | Detection works without jq. Audit and aggregation require jq — install it first. |
| Malformed lockfile | Report parse error for that ecosystem. Continue with others. |
Aggregation Robustness
aggregate.shnow tolerates mixed inputs (valid results + error objects).- Invalid input objects are listed under
errorsin unified JSON and rendered in a "Skipped / Error Inputs" Markdown section. - If no valid ecosystem results are provided, aggregate output sets
status: "error"instead of crashing.
Safety
- Default mode is report-only. The skill never modifies files unless you explicitly ask for a fix and confirm.
- Audit tools read lockfiles — they do not execute project code.
- Fix commands (
npm audit fix,pip install --upgrade) are printed as suggestions. The agent will ask for confirmation before running them. - This skill checks known advisory databases (OSV, GitHub Advisory DB, RustSec). It does not detect zero-days or runtime vulnerabilities.
- No data is sent to third-party services beyond what the native audit tools do (they query public advisory databases).
- No telemetry. No tracking. No phone-home.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

