A fast, AI-powered static analysis CLI tool that scans JavaScript/TypeScript code for security vulnerabilities and suggests fixes using LLMs.
- Detects hardcoded secrets, API keys, and tokens
- Detects dangerous
eval()usage - Detects XSS vectors via
innerHTMLassignments - Detects SQL injection via string concatenation
- AI-powered fix suggestions via Claude API
- Rust
- Anthropic Claude API
cargo build --releaseexport ANTHROPIC_API_KEY=your_key_here
./target/release/codescanner --path /path/to/your/code