From claudient
Scans project dependencies for known CVEs and supply-chain risks across multiple ecosystems (Node, Python, Go, Rust, Java, Ruby). Runs native audit tools, flags suspicious packages, and outputs prioritized findings with upgrade commands.
How this command is triggered — by the user, by Claude, or both
Slash command
/claudient:dep-audit [package-file or ecosystem]security/nl/The summary Claude sees in its command listing — used to decide when to auto-load this command
Controleer de afhankelijkheden in dit project op bekende kwetsbaarheden en supply-chain risico's. Doel: $ARGUMENTS (automatische detectie als leeg — scan repository root en subdirectories voor manifest bestanden). 1. **Detecteer ecosysteem(en)**: Identificeer alle aanwezige lockfiles en manifests: - Node: `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` - Python: `requirements*.txt`, `Pipfile.lock`, `pyproject.toml`, `poetry.lock` - Go: `go.mod`, `go.sum` - Rust: `Cargo.toml`, `Cargo.lock` - Java/Kotlin: `pom.xml`, `build.gradle` - Ruby: `Gemfile.lock` ...
Controleer de afhankelijkheden in dit project op bekende kwetsbaarheden en supply-chain risico's.
Doel: $ARGUMENTS (automatische detectie als leeg — scan repository root en subdirectories voor manifest bestanden).
Detecteer ecosysteem(en): Identificeer alle aanwezige lockfiles en manifests:
package.json, package-lock.json, yarn.lock, pnpm-lock.yamlrequirements*.txt, Pipfile.lock, pyproject.toml, poetry.lockgo.mod, go.sumCargo.toml, Cargo.lockpom.xml, build.gradleGemfile.lockVoer native audit tooling uit waar beschikbaar:
npm audit --json / yarn audit / pnpm auditpip-audit of safety checkcargo auditgovulncheck ./...bundle audit
Leg output vast en parse resultaten.Identificeer CVE's: Voor elk gerapporteerd kwetsbaar pakket:
Supply-chain signalen: Markeer elk pakket dat aantoont:
preinstall, postinstall) die willekeurige code uitvoeren*, >=0.0.0) die elke toekomstige versie accepterenPrioriteer: Rangschik op bereikbaarheid > CVSS score > directe vs transitieve.
Output:
## Dependency Audit
### Critical / High CVEs
[package@version] CVE-XXXX-XXXXX (CVSS N.N) — description
Fix: upgrade to X.Y.Z
Reachable: yes/no/unknown
### Supply-Chain Flags
- [package]: reason
### Upgrade Commands
Paste-ready commands to fix all critical/high issues.
Als audit tooling niet beschikbaar is, controleer versies tegen bekende CVE-databases uit trainingsgegevens en noteer de beperking. Wijzig geen bestanden of voer geen install commando's uit.
npx claudepluginhub claudient/claudient --plugin claudient-personas