In Claude (connector)install_skill("dependency-auditor")
CLIlendskill install dependency-auditor
SKILL.md
---
name: dependency-auditor
description: Audit a project's dependencies for known vulnerabilities, licence conflicts, abandoned packages and outdated versions, then plan safe upgrades. Use when asked to check dependencies, fix security alerts, upgrade packages, or review licences before release.
license: Proprietary — Lendskill original
---
# Dependency Audit
## Steps
1. **Inventory** direct and transitive dependencies from the lockfile.
2. **Vulnerabilities**: run the ecosystem tool — `npm audit`, `pnpm audit`, `pip-audit`, `cargo audit`, `govulncheck`, `bundler-audit`, OWASP dependency-check for Java. Record ID, severity, affected and fixed versions, and whether the vulnerable code path is actually reachable.
3. **Staleness**: `npm outdated`, `pip list --outdated` and similar. Flag packages more than one major version behind, or with no release in two years.
4. **Licences**: list each licence. Flag copyleft (GPL, AGPL), unknown or missing licences, and anything that conflicts with how the project is distributed. This is a flag for review, not legal advice.
5. **Health signals**: single maintainer, archived repo, typosquat-like names, install scripts that download code.
6. **Plan upgrades** in risk order: critical reachable vulnerabilities first; patch → minor → major; one major upgrade per change; read changelogs for breaking changes.
7. **Verify** after each step: install, build, full tests.
## Output format
- Summary counts by severity
- Table: package · current · fixed/latest · issue · severity · reachable? · action
- Licence table with flags
- Upgrade plan as ordered steps with the commands
- Items that need a human decision