Active scanning
Active mode is where Scout sends crafted inputs to confirm a weakness rather than just observe one. It is non-destructive — Scout injects a benign marker and checks the response — but because it is still aggressive testing, it is gated.
The gate, in short
Section titled “The gate, in short”- The environment caps the mode.
prodcaps at safe; raise it per target with--allow-active. - A non-local target additionally needs ownership verification.
- Localhost and private IPs are exempt from the ownership requirement.
On localhost (no setup)
Section titled “On localhost (no setup)”scout scan --target http://localhost:3000 --mode active --env devThat is all it takes locally. This runs the active probes:
| Check | Class |
|---|---|
app.sqli |
SQL injection |
app.cmd-injection |
OS command injection |
app.ssrf |
Server-side request forgery (reflected) |
app.path-traversal |
Path traversal |
app.open-redirect |
Open redirect |
app.reflected-xss |
Reflected XSS |
auth.idor |
Broken object-level authorization — needs test identities |
On a host you own
Section titled “On a host you own”Prove ownership first (see Ownership verification), then:
scout ownership --target https://staging.example.com # publish the token it printsscout scan --target https://staging.example.com --mode active --env staging --allow-activeDry-run it first
Section titled “Dry-run it first”Always safe to preview exactly what active mode will do:
scout scan --target https://staging.example.com --mode active --env staging --allow-active --dry-run