Setup
Configuration
Configure Talos via CLI flags, environment variables, or a talos.toml file.
Every CLI flag has an environment variable and a talos.toml equivalent. Precedence: CLI flag > environment variable > config file > default.
talos.toml
Place a talos.toml at the root of your repo. Talos discovers it automatically.
talos.toml
[scan]target = "http://localhost:8000/agent"adapter = "langchain"severity = "high"[report]out = "./reports"formats = ["markdown", "sarif"]redact = true[generator]model = "gpt-4o-mini"seed = 42
Environment variables
| Variable | Purpose |
|---|---|
TALOS_TARGET | Default --target URL |
TALOS_ADAPTER | Default --adapter |
TALOS_MODEL | LLM used for attack generation |
OPENAI_API_KEY | Attack generator credentials (OpenAI) |
ANTHROPIC_API_KEY | Attack generator credentials (Anthropic) |
TALOS_LOG_LEVEL | One of debug, info, warn |
Security
Never commit OPENAI_API_KEY or target credentials to your talos.toml. Keep them in environment variables or your CI secret store.