Skip to content
Skills Library
Security · Review & audit

dependency-audit

/dependency-audit

Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.

Licence
MIT
Last repository change
21.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 21.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.

Original author description

Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.

How it works

  1. Core Rule
  2. When to Use
  3. Default Behavior
  4. Process
  5. Output Format
  6. Notes
Original SKILL.md headings · 151 lines, 753 words
SKILL.md preview
---
name: dependency-audit
description: Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.
user-invocable: true
---

# Dependency Audit

## Core Rule

Flag known CVEs, license drift, and bloat with concrete upgrade paths. Never install or upgrade without explicit user approval.

## When to Use

Invoke with `/dependency-audit` when:

- Reviewing a project's dependency health before a release
- Investigating supply chain security concerns
- Planning a dependency update or migration
- Assessing technical debt from outdated packages
- Onboarding to a project and evaluating its dependency choices

## Default Behavior

When the user asks to audit, scan, review, or "give me a report" for dependencies / vulnerabilities, produce the full dependency-audit report automatically using the Process and Output Format sections below. Do not require the user to specify fields.

Only modify files when the user explicitly requests implement / fix / apply / refactor. By default, this skill is **report-only**.

## Process

### Phase 1: Inventory (first-pass leads)

This pass produces **candidates**, not findings. Treat counts as leads for deeper inspection in later phases. Do not report Phase 1 raw output as the final result.

Catalog all dependencies:

1. **Read dependency manifests** — `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `Gemfile`, `pom.xml`, `build.gradle`
2. **Separate categories** — production vs development dependencies
3. **Count totals** — direct dependencies, estimate transitive depth
4. **Identify lock file presence** — `package-lock.json`, `poetry.lock`, `go.sum`, `Cargo.lock`

### Phase 2: Version Health

Check currency of dependencies:

**Version Analysis**
- How many major versions behind are critical dependencies?
- Are there dependencies pinned to exact versions vs ranges?
- Are there conflicting version requirements?
- Are lock files committed and up to date?

**Deprecation Check**
- Are any dependencies officially deprecated?
- Are any dependencies archived/unmaintained (no commits in 12+ months)?
- Are there dependencies with known successors? (e.g., `request` → `got`/`node-fetch`)

### Phase 3: Security Assessment

Check for known vulnerabilities:

- **CVE database check**: known vulnerabilities in current versions
- **Dependency confusion risk**: private package names that could be squatted
- **Supply chain risks**: dependencies with very few maintainers, recent ownership changes
- **Post-install scripts**: dependencies that run arbitrary code on install
- **Excessive permissions**: dependencies that request unnecessary system access

Recommend running:
- `npm audit` / `yarn audit` (Node.js)
- `pip audit` / `safety check` (Python)
- `go vuln check` (Go)
- `cargo audit` (Rust)
- `bundle audit` (Ruby)

### Phase 4: License Compliance

Check license compatibility:

- List all dependency licenses
- Flag incompatible licenses for the project type:
  - **GPL** in a proprietary/MIT project (copyleft contamination)
  - **AGPL** in any non-AGPL project
  - **No license** (legally unusable)
  - **Custom/unknown licenses** (need legal review)
- Check for license changes between versions

### Phase 5: Bloat & Redundancy

Identify unnecessary weight:

- **Duplicate functionality**: multiple packages doing the same thing (e.g., `lodash` + `underscore`, `moment` + `date-fns`)
- **Oversized dependencies**: large packages used for one small feature
- **Dev dependencies in production**: test/build tools in production deps
- **Unused dependencies**: packages in manifest but not imported anywhere
- **Bundle impact** (web): packages that significantly increase bundle size

### Phase 6: Quality Signals

Evaluate dependency quality:

- **Popularity**: download counts, GitHub stars (not definitive but signals)
- **Maintenance**: recent releases, responsive issue handling
- **Test coverage**: does the dependency have its own tests?
- **TypeScript support**: type definitions available? (for TS projects)
- **Breaking change frequency**: how often do major versions land?

## Output Format

```markdown
# Dependency Audit Report

## Summary
- Total dependencies: N direct, ~N transitive
- Outdated: N (N major, N minor, N patch behind)
- Vulnerabilities: N (N critical, N high, N medium)
- License issues: N

## Security Vulnerabilities
| Package | Current | Fixed In | Severity | CVE |
|---------|---------|----------|----------|-----|
| lodash  | 4.17.15 | 4.17.21  | High     | CVE-2021-23337 |

## Outdated Dependencies
### Critical (2+ major versions behind)
| Package | Current | Latest | Risk |
|---------|---------|--------|------|

### Notable (1 major version behind)
| Package | Current | Latest | Breaking Changes |
|---------|---------|--------|-----------------|

## License Issues
| Package | License | Issue |
|---------|---------|-------|

## Redundancy & Bloat
| Issue | Packages | Recommendation |
|-------|----------|---------------|
| Duplicate utility | lodash + ramda | Consolidate to one |

## Recommendations
### Immediate (security)
1. ...

### Short-term (updates)
1. ...

### Long-term (replacements)
1. ...
```

## Notes

- This audit uses static analysis of manifest/lock files — run the recommended CLI audit tools for CVE verification
- License analysis is informational, not legal advice — consult legal for compliance decisions
- Don't recommend updating everything at once — prioritize security fixes, then major updates incrementally

Versions

RepositoryScoreLicence
This page · tansuasici/claude-code-kit100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
OKHP3/skillz100MIT
mathews-tom/armory100MIT
meyshad/skillforge100MIT

Database snapshot: 13.11.2026 · package version 9af7924a6b25 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100analyze-dependencies
    Audit project dependencies for risk when the user asks to check dependencies, audit packages, review dependency health, check for vulnerabilities, or assess supply chain risk
  • 100code-dep-audit
    Audit dependencies for security vulnerabilities, outdated packages, and license compliance. Use when checking supply chain security, preparing releases, or responding to CVEs.
  • 100iblai-vibe-security-dependency-audit
    Audit project dependencies, frameworks, languages, and dev tools for known vulnerabilities, CVEs, and security anti-patterns. Use when the user mentions 'dependency audit,' 'npm audit,' 'CVE,' 'vulnerable packages,' 'supply chain security,' 'outdated dependencies,' 'known…
  • 90dependency-management-deps-audit
    Audit project dependencies for known vulnerabilities, licensing issues, outdated packages, and supply chain risk, and provide actionable remediation strategies. Use when reviewing or hardening the dependencies of a project.
  • 84audit-dependencies
    Audit project dependencies for security vulnerabilities and outdated packages, then apply safe updates. Use when user says "audit my dependencies", "check for vulnerable packages", "run npm audit", "find security issues in my packages", "what packages are outdated", "update my…
  • 100dependency-vulnerability-audit
    Supply chain security audit using CLI vulnerability scanners, license compliance checks, and supply chain risk assessment. Use when auditing project dependencies for known CVEs, license concerns, and supply chain health.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.