Running a Scan

CLI reference

Every flag, subcommand, and exit code.

The Talos CLI is a single binary: talos-scan. Run talos-scan --help for the same reference embedded in the binary.

Subcommands

CommandPurpose
talos-scanRun a full scan (default)
talos-scan discoverMap the tool graph, skip attacks
talos-scan planMatch templates, don't execute
talos-scan replayRe-run a single finding by ID
talos-scan doctorDiagnose install + network

Core flags

FlagTypeDescription
--targetURLHTTP endpoint of the agent under test.
--adapternameOne of langchain, native, anthropic, custom.
--severityminFilter findings under threshold. One of low, medium, high, critical.
--classeslistComma-separated exploit classes to run.
--templateslistRun only these template IDs.
--seedintDeterministic seed for the attack generator.
--concurrencyintParallel attack runs (default 4).
--timeoutsecPer-request timeout (default 30).

Reporting flags

FlagDescription
--outReport output directory (default ./reports).
--pdfAlso emit a PDF report.
--sarifAlso emit SARIF for SIEM ingestion.
--redactRedact credentials and PII from reports.
--fail-underExit non-zero when findings exceed threshold.

Exit codes

CodeMeaning
0Scan completed cleanly, no findings above threshold.
10Findings above threshold. Suitable for CI gating.
2Target unreachable or adapter error.
3Configuration error (bad flags, missing keys).
130Interrupted (Ctrl+C).