# 1. Rug-pull detection - compare current tool definitions against your baseline
aspex scan diff --baseline ~/aspex-baseline.json
# Save a fresh baseline after review
aspex scan inventory --json > ~/aspex-baseline.json
# 2. Full scan with explanations on any new findings
aspex scan --explain
# 3. Check for hardcoded credentials in MCP config env blocks
aspex doctor
# 4. Migrate any flagged tokens to macOS Keychain
aspex scan fix env
# 5. Review the commands your agent runs on its own (lifecycle hooks)
aspex scan hooks
# 6. Generate a shareable summary (privacy-safe, no tool output values)
aspex scan --share # Markdown, for an issue or commit message
aspex scan --html report.html # self-contained page: attack paths + blast radius
# 7. Compliance export if your team needs it
aspex scan --report soc2