Catch security vulnerabilities before you commit
cargo install ai-code-guardian
Written in Rust. Scans entire codebases in seconds. 10x faster than Node.js alternatives.
Navigate issues with arrow keys, mark false positives, and view detailed information in a beautiful terminal UI.
Auto-scan on file changes during development. Catch issues as you code.
Every vulnerability includes actionable fix suggestions. Don't just find issues, solve them.
Numerical risk scores (0-100) for every vulnerability. Prioritize what matters most.
Define your own security patterns with .guardian.rules.json. Extend the scanner to your needs.
Scan requirements.txt, package.json, and Cargo.toml for known CVEs using OSV.dev API.
Scan only changed or staged files. Perfect for CI/CD pipelines and pre-commit hooks.
Exclude files and patterns from scanning. Full control over what gets scanned.
No data leaves your machine. Complete privacy. No API calls, no telemetry.
On March 24, 2026, LiteLLM was compromised. Here's what AI Code Guardian found.
Install in seconds. Start scanning immediately.