| name | deps |
| description | Audit and upgrade project dependencies โ check for vulnerabilities and outdated packages |
| disable-model-invocation | true |
Audit and manage project dependencies: $ARGUMENTS
If no specific action requested, run the full audit.
Step 1 โ Read Current Dependencies
Read the requirements file. List all packages with their current version constraints.
Step 2 โ Check Installed Versions
Compare installed versions against requirements constraints.
Step 3 โ Vulnerability Scan
Report any known CVEs with severity, affected package, and fixed version.
Step 4 โ Check for Outdated Packages
For each outdated package, report:
- Current version
- Latest version
- Whether the update is a major/minor/patch bump
- Risk assessment (major bumps may have breaking changes)
Step 5 โ Compatibility Check
For any proposed upgrades:
- Check if the new version supports the project's language version (see stack concepts)
- Check for known incompatibilities between upgraded packages
- Verify framework version compatibility
Step 6 โ Apply Upgrades (if requested)
If user asked to upgrade:
- Update version constraints in the requirements file
- Install updated packages
- Run the test and type-check commands (see project config)
- If tests fail after upgrade, identify which package caused the failure and roll back that specific upgrade
Output Format
DEPENDENCY AUDIT
โโโโโโโโโโโโโโโโ
Vulnerabilities: X found (Critical: X, High: X, Medium: X)
Outdated: X packages
Up to date: X packages
VULNERABILITIES:
[CRITICAL] package==version โ CVE-XXXX-XXXX โ description โ fix: upgrade to X.Y.Z
OUTDATED:
package current โ latest (patch/minor/major)
RECOMMENDATION: <upgrade commands or "all clear">