About dependency-audit
dependency-audit is a security skill that runs native package-manager audit tools across a project's dependency tree. It detects the package manager from lock files, classifies findings by severity, and provides fix guidance, including supported safe auto-fixes.
Key features
- 01Detects package manager from lock files
- 02Runs ecosystem-specific audit tools
- 03Classifies findings by severity
- 04Suggests fix versions or alternatives
- 05Applies supported fixes with --fix
Use cases
- 01Checking project dependencies for vulnerabilities
- 02Prioritizing findings and planning remediation
- 03Applying supported automatic dependency fixes
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ fusengine/ agents --skill dependency-auditAfter installing, type/dependency-auditin Claude Code to confirm it loaded.
Bundled filesreferences/audit-commands.mdreferences/templates/audit-report.md
Details
From the project READMEIt parses each tool's output, classifies findings by severity (CRITICAL/HIGH/MEDIUM/LOW), and suggests fix versions or alternatives. With the --fix flag it applies safe auto-fixes where supported (npm audit fix, cargo audit fix) and gives manual guidance for ecosystems without auto-fix.
Out of scope: researching a single named dependency's CVE history in depth belongs to cve-research.
Dependency Audit Skill
Overview
Run dependency vulnerability checks using native package manager audit tools.
Supported Ecosystems
| Ecosystem | Tool | Auto-fix |
|---|---|---|
| npm/yarn/pnpm/bun | npm audit / yarn audit | Yes |
| PHP/Composer | composer audit | Manual |
| Python/pip | pip-audit / safety check | Manual |
| Rust/Cargo | cargo audit | Yes |
| Go | govulncheck ./... | Manual |
| Swift/CocoaPods | pod audit | Manual |
| Ruby/Bundler | bundle audit | Manual |
Workflow
- Detect package manager from lock files
- Run appropriate audit command
- Parse output for vulnerabilities
- Classify by severity (CRITICAL/HIGH/MEDIUM/LOW)
- Suggest fix versions or alternatives
Auto-Fix Support
When --fix flag is used:
npm audit fixfor safe updatescargo audit fixfor Rust- Manual guidance for other ecosystems