Dependency Audit
Run security and license audits on the Aion workspace dependencies.
Steps
- •
Check if
cargo-auditis installed:bashcargo audit --version 2>/dev/null || cargo install cargo-audit
- •
Run security audit:
bashcd "$CLAUDE_PROJECT_DIR" && cargo audit
- •
Check for yanked crates:
bashcd "$CLAUDE_PROJECT_DIR" && cargo audit --deny yanked
- •
Check for outdated dependencies:
bashcd "$CLAUDE_PROJECT_DIR" && cargo update --dry-run 2>&1
- •
Report findings in this format:
code
## Dependency Audit Report ### Security Vulnerabilities - <list of advisories, or "None found"> ### Yanked Crates - <list, or "None"> ### Available Updates - <list of outdated deps with current → latest versions> ### Recommended Actions - <numbered list, or "All clear — no action needed">
Notes
- •Do NOT automatically update dependencies. Report findings for the user to decide.
- •If
cargo-auditinstallation fails, report the error and suggest manual installation. - •Focus on actionable findings — skip informational notices unless they affect this project.