Brektra CLI
Run AI app security scans from your terminal. Localhost runs require no signup. Production targets use the same DNS verification as the dashboard.
Install
npx brektra-cli --helpOr install globally.
npm install -g brektra-cliScan localhost
No login is required to scan a local URL. Brektra runs Safe Mode payloads only.
brektra scan http://localhost:3000Sign in
Required for scanning public domains and viewing replay links. The CLI opens a browser window and stores the token in ~/.brektra/config.json.
brektra loginScan a verified domain
Add the target as a verified domain in the dashboard first. The CLI uses your stored API key to start the scan and stream the kill chain back to the terminal.
brektra scan https://app.example.comRun a single Atlas pattern
Pick any pattern from the Attack Atlas. Pass the slug (e.g. direct-instruction-override) to run only that pattern.
brektra atlas direct-instruction-override --target https://app.example.comOpen the replay
brektra replay scan_abc123Source
The CLI is open source on GitHub. Pull requests welcome.