code-quality-plugin/skills/code-dep-audit/SKILL.md
Audit dependencies for security vulnerabilities, outdated packages, and license compliance. Use when checking supply chain security, preparing releases, or responding to CVEs.
npx skillsauth add laurigates/claude-plugins code-dep-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit project dependencies for vulnerabilities and freshness.
| Use this skill when... | Use something else when... | |---|---| | Checking for known CVEs in dependencies | Setting up security scanning CI → /configure:security | | Preparing a release and need dep health check | Looking for code-level security issues → /code:antipatterns | | Responding to a vulnerability advisory | Reviewing code quality → /code:review | | Auditing license compliance | Configuring dependency management → /configure:package-management |
find . -maxdepth 1 \( -name "package.json" -o -name "package-lock.json" -o -name "yarn.lock" -o -name "bun.lockb" -o -name "pyproject.toml" -o -name "requirements.txt" -o -name "Cargo.toml" -o -name "Cargo.lock" -o -name "go.mod" -o -name "go.sum" \) -type f--type: Audit type — security (default), outdated, licenses, or all--fix: Automatically apply safe updates for vulnerable packagesExecute this dependency audit workflow:
Identify all package manifests and lock files present. Determine which audit tools are available for each ecosystem.
JavaScript/TypeScript:
npm audit --json
For bun projects:
bun pm ls
Python:
pip-audit --format json
Or with uv:
uv pip audit
Rust:
cargo audit --json
Go:
go list -m -json all
govulncheck ./...
If the audit tool is not installed, report which tool is needed and suggest /configure:security to set up the project.
JavaScript/TypeScript:
npm outdated --json
Python:
pip list --outdated --format json
Rust:
cargo outdated --format json
JavaScript/TypeScript:
npx license-checker --json --summary
Python:
pip-licenses --format json
Rust:
cargo license --json
Flag problematic licenses: GPL (in proprietary projects), AGPL, unlicensed, or unknown.
For security vulnerabilities:
npm audit fix / cargo update / pip install --upgrade for safe updatesPrint summary:
Dependency Audit Report
=======================
Ecosystem: [JS/TS | Python | Rust | Go]
Security:
Critical: N
High: N
Medium: N
Low: N
Outdated: N packages behind latest
License issues: N flagged
Top actions:
1. [package@version] - critical CVE-XXXX-XXXX
2. [package] - N major versions behind
npm audit fix or equivalent/configure:security| Context | Command |
|---|---|
| Quick JS audit | npm audit --json |
| Python audit | pip-audit --format json |
| Rust audit | cargo audit --json |
| Outdated check | npm outdated --json |
| License check | npx license-checker --json --summary |
| CI mode | npm audit --audit-level=critical --json |
tools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.