rakshak-cli
v1.2.0
Published
Open-source vulnerability scanner for your code. Detects SQL injection, XSS, hardcoded secrets, command injection, and more across 20+ languages. Fully offline with zero external API calls.
Maintainers
Readme
RAKSHAK CLI
AI-powered vulnerability scanner for your code. Detects security flaws and suggests fixes using ASI:One.
Install
npm install -g rakshak-cliUsage
# Scan a single file
rakshak scan app.js
# Scan a directory
rakshak scan ./src
# Scan recursively
rakshak scan ./src --recursive
# JSON output
rakshak scan app.js --output json
# Check API key
rakshak checkSetup
Get your free API key at asi1.ai and set it:
export ASI_ONE_API_KEY=your_key_hereOr create ~/.rakshak/.env:
ASI_ONE_API_KEY=your_key_hereSupported Languages
Python, JavaScript, TypeScript, Java, Go, Rust, C, C++, PHP, Ruby, C#, Swift, Kotlin, Solidity, Elixir
License
MIT
