Komut#cc-toolkit
0
Audit deps
Tüm proje bağımlılıklarını güvenlik açıkları, lisans sorunları ve bakım durumu açısından denetleyin.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
Tüm proje bağımlılıklarını güvenlik açıkları, lisans sorunları ve bakım durumu açısından denetleyin.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/audit-deps/raw -o .claude/commands/audit-deps.mdHedef dosya: .claude/commands/audit-deps.md
---
name: audit-deps
description: Audit all project dependencies for vulnerabilities, licensing issues, and maintenance status.
---
Audit all project dependencies for vulnerabilities, licensing issues, and maintenance status.
## Steps
1. Detect the package manager and run native audit:
- npm: `npm audit --json`
- pnpm: `pnpm audit --json`
- pip: `pip-audit --format json`
- cargo: `cargo audit --json`
2. Check package maintenance status:
- Last publish date for each dependency.
- Open issue count and response time.
- Whether the package is deprecated.
3. Verify license compatibility:
- List all dependency licenses.
- Flag any copyleft licenses (GPL) in permissive projects.
- Flag packages with no license specified.
4. Analyze dependency tree depth and size impact.
5. Identify unused dependencies by cross-referencing imports.
6. Generate a prioritized action list.
## Format
```
Dependency Audit - <date>
Vulnerabilities: <C>critical, <H>high, <M>moderate, <L>low
Licenses: <N> permissive, <N> copyleft, <N> unknown
Maintenance: <N> actively maintained, <N> stale, <N> deprecated
Unused: <list>
Priority actions:
1. [CRITICAL] Upgrade <pkg> to fix CVE-XXXX
2. [WARNING] Replace deprecated <pkg> with <alternative>
```
## Rules
- Always report the full vulnerability chain (which direct dep pulls in the vulnerable transitive dep).
- Flag any dependency with no updates in the last 12 months.
- Check that lock files are present and committed.
- Never recommend removing a dependency without verifying it is truly unused.