Get started in three steps
1
Install the CLI
Install the Rafter security CLI using your preferred package manager.
2
Get your API key
Sign up and grab your API key from your account page.
3
Start your first scan
Run your first security scan with a single command:The CLI will automatically detect your repository and branch from Git, then display the scan results in your terminal.
What’s happening?
When you runrafter run, the CLI will:
- Auto-detect your repository and branch from Git
- Upload your code securely to Rafter’s scanning engine from Github
- Scan for vulnerabilities, secrets, and security issues
- Delete your code from Rafter’s scanning engine
- Display results directly in your terminal
The CLI only scans remote repositories, not your current local branch. Make sure your changes are pushed to the remote repository before scanning.

