Audit project dependencies for outdated versions and known vulnerabilities. Report only — never modify files, install packages, or run upgrade commands.
Steps:
Detect ecosystems present in the project root by checking for these files:
package.json→ npm/yarn/pnpm (JS/TS)requirements.txtorpyproject.toml→ pip (Python)Cargo.toml→ cargo (Rust)go.mod→ Go modules
For each detected ecosystem, run the applicable commands. If a tool isn't installed or a command errors, note it briefly for that ecosystem and continue — do not fail the whole report.
- JS/TS:
npm outdatedandnpm audit --json - Python:
pip list --outdated; ifpip-auditis available, also runpip-audit - Rust:
cargo outdatedif installed;cargo auditif installed - Go:
go list -u -m allfor outdated modules. Go has no built-in vuln scanner — skip vulnerability scanning unlessgovulncheckis present, and note that it was skipped.
- JS/TS:
Parse output into a compact plain-English report. For each flagged package include: name, current version, latest available version, and vulnerability severity (critical/high/medium/low) if flagged by an audit tool.
Sort the report so critical/high-severity vulnerabilities appear first, clearly marked (e.g. "⚠ HIGH", "⚠ CRITICAL"), followed by medium/low vulnerabilities, then plain outdated-version-only entries. Group by ecosystem if more than one is present.
Do not modify any files or run any upgrade/install commands. This skill only reports findings.