PulseSec CLI Agent - AI-Powered DAST Security Testing Tool for APIs
npm install pulsesec-clibash
npm install -g pulsesec-cli
`
Or with curl (macOS/Linux):
`bash
curl -fsSL https://pulsesec.in/install.sh | bash
`
Or with PowerShell (Windows):
`powershell
irm https://pulsesec.in/install.ps1 | iex
`
Authentication
You need an API token to use PulseSec CLI. Get your token from the PulseSec Dashboard.
`bash
Login with your API token
pulsesec login --token YOUR_TOKEN
Check your subscription status
pulsesec status
`
Usage
`bash
Run a security scan against your running application
pulsesec scan --target http://localhost:3000 --dir .
Discover API routes in your codebase
pulsesec discover --dir .
Logout when done
pulsesec logout
`
Commands
| Command | Description |
|---------|-------------|
| pulsesec login | Authenticate with your API token |
| pulsesec logout | Logout and revoke token |
| pulsesec status | View subscription and credit usage |
| pulsesec scan | Run security scan against target |
| pulsesec discover | Discover API routes in codebase |
Options
$3
| Option | Description |
|--------|-------------|
| --target, -t | Target URL to scan (required) |
| --dir, -d | Directory containing API code (default: .) |
| --verbose, -v | Show detailed output |
| --brain, -b` | Custom Brain API URL (optional) |