Dependency Auditor
Offline, deterministic dependency auditing across 8+ ecosystems. Pattern-matchers over manifests/lockfiles — they do NOT call live advisory APIs, so always pair with npm audit / pip-audit / cargo audit for current CVE coverage.
Flow: scan → license check → upgrade plan
- Scan for vulnerabilities (built-in offline CVE pattern set; fail on high severity). Findings drive which packages to pin/patch now.
- License check for compliance + conflicts (strict policy for permissive projects). Conflicts go to the user as a legal-risk list.
- Upgrade plan from the scanner inventory, ordered by risk with rollback notes.
--security-only limits to fixes.
- Verification loop: after applying upgrades, re-run the scan and assert 0 high-severity findings before closing.
Supported ecosystems
JS/Node (package.json, lockfiles), Python (requirements.txt, pyproject.toml, Pipfile.lock, poetry.lock), Go (go.mod/go.sum), Rust (Cargo.toml/.lock), Ruby (Gemfile/.lock), Java (pom.xml, gradle.lockfile), PHP (composer.json/.lock), C#/.NET (packages.config, project.assets.json).
License classification
- Permissive: MIT, Apache 2.0, BSD, ISC
- Copyleft strong: GPL v2/v3, AGPL v3 — flags contamination risk in permissive projects
- Copyleft weak: LGPL, MPL 2.0
- Proprietary / Dual / Unknown — unknown licenses surfaced for manual review
Analyze license inheritance through dependency chains; emit conflict pairs with remediation.
Upgrade risk matrix
| Risk |
Update type |
Handling |
| Low |
Patch, security fix |
Apply immediately |
| Medium |
Minor + features |
Batch into scheduled update |
| High |
Major, API changes |
Dedicated migration task + tests |
| Critical |
Known breaking |
Planned migration with rollback |
Priority: security patches > bug fixes > feature updates > major rewrites; deprecated features get immediate attention.
Cadence & best practices
- Security scans per commit; license audits monthly; full audit quarterly.
- High/critical findings immediately; license compliance before functionality.
- Incremental upgrades with thorough testing; feature flags for risky bumps.
- Whitelist false positives WITH documentation; contact maintainers on license ambiguity.
CI gate
Run the scanner with fail-on-high and the license checker with strict policy as merge gates.
1---2name: dependency-auditor3description: Use when auditing third-party packages before release, investigating a CVE, planning a major version bump, or running a license-compliance review across multi-language projects.4tags: [dependencies, security, cve, vulnerability, license, gpl, upgrade, supply-chain, audit, semver]5source: alirezarezvani/claude-skills6derived_from: dependency-auditor7metadata:8 source: https://skillmd.com/skills/aashutosh396/dependency-auditor9---1011# Dependency Auditor1213Offline, deterministic dependency auditing across 8+ ecosystems. Pattern-matchers over manifests/lockfiles — they do NOT call live advisory APIs, so always pair with `npm audit` / `pip-audit` / `cargo audit` for current CVE coverage.1415## Flow: scan → license check → upgrade plan161. **Scan** for vulnerabilities (built-in offline CVE pattern set; fail on high severity). Findings drive which packages to pin/patch now.172. **License check** for compliance + conflicts (strict policy for permissive projects). Conflicts go to the user as a legal-risk list.183. **Upgrade plan** from the scanner inventory, ordered by risk with rollback notes. `--security-only` limits to fixes.194. **Verification loop**: after applying upgrades, re-run the scan and assert 0 high-severity findings before closing.2021## Supported ecosystems22JS/Node (package.json, lockfiles), Python (requirements.txt, pyproject.toml, Pipfile.lock, poetry.lock), Go (go.mod/go.sum), Rust (Cargo.toml/.lock), Ruby (Gemfile/.lock), Java (pom.xml, gradle.lockfile), PHP (composer.json/.lock), C#/.NET (packages.config, project.assets.json).2324## License classification25- **Permissive**: MIT, Apache 2.0, BSD, ISC26- **Copyleft strong**: GPL v2/v3, AGPL v3 — flags contamination risk in permissive projects27- **Copyleft weak**: LGPL, MPL 2.028- **Proprietary / Dual / Unknown** — unknown licenses surfaced for manual review2930Analyze license inheritance through dependency chains; emit conflict pairs with remediation.3132## Upgrade risk matrix33| Risk | Update type | Handling |34|---|---|---|35| Low | Patch, security fix | Apply immediately |36| Medium | Minor + features | Batch into scheduled update |37| High | Major, API changes | Dedicated migration task + tests |38| Critical | Known breaking | Planned migration with rollback |3940Priority: security patches > bug fixes > feature updates > major rewrites; deprecated features get immediate attention.4142## Cadence & best practices43- Security scans per commit; license audits monthly; full audit quarterly.44- High/critical findings immediately; license compliance before functionality.45- Incremental upgrades with thorough testing; feature flags for risky bumps.46- Whitelist false positives WITH documentation; contact maintainers on license ambiguity.4748## CI gate49Run the scanner with fail-on-high and the license checker with strict policy as merge gates.