@@ -16,17 +16,14 @@ api_key = "${MISTRAL_API_KEY}"
1616model = " mistral-small"
1717
1818[scanner .performance ]
19- enable_incremental_scan = false
2019max_parallel_tasks = 4
21- enable_file_filtering = true
2220```
2321
2422** Experimental sections** (disabled by default):
2523- ` [cpg] ` — CPG-guided slicing (requires Joern binary)
2624- ` [validate] ` — LLM-as-judge rationale validation
2725- ` [vuln_spec] ` — VulTriage triple-path, policy sampling, agent scaffold
2826- ` [agent_scaffold] ` — Agent-assisted analysis
29- - ` [agent_flow] ` — Multi-agent harness synthesis
3027- ` [threat_modeling] ` — STRIDE threat modeling (now under ` [scanner.performance] ` )
3128
3229Enable only after reviewing the detailed sections below.
@@ -65,11 +62,9 @@ profile = "all"
6562``` toml
6663[scanner .performance ]
6764# Skip unchanged files based on SHA256 hash comparison (hashes persisted to output dir)
68- enable_incremental_scan = false
6965# Maximum number of parallel tasks for scanning operations
7066max_parallel_tasks = 4
7167# Enable file filtering to reduce false positives
72- enable_file_filtering = true
7368
7469# --- Semgrep configuration ---
7570[scanner .semgrep ]
@@ -154,25 +149,17 @@ The `[router]` section configures the Mixture-of-Experts routing for per-CWE and
154149``` toml
155150[router ]
156151enabled = false
157- default_prompt = " llm_static_analysis"
158152
159- # CWE-specific prompt/ model overrides
153+ # CWE-specific model overrides
160154[router .cwe_overrides ]
161- "CWE-79" = { prompt_template = " xss_analysis" , model_override = " mistral-small" }
162- "CWE-89" = { prompt_template = " sqli_analysis" , model_override = " qwen35" }
163-
164- # Language-specific prompt/model overrides
165- [router .language_overrides ]
166- "php" = { prompt_template = " php_security" , model_override = null }
167- "python" = { prompt_template = " python_security" , model_override = null }
155+ "CWE-79" = { model_override = " mistral-small" }
156+ "CWE-89" = { model_override = " qwen35" }
168157```
169158
170159| Field | Type | Default | Description |
171160| -------| ------| ---------| -------------|
172161| ` enabled ` | bool | ` false ` | Enable MoE routing |
173- | ` default_prompt ` | str | ` "llm_static_analysis" ` | Default prompt template name |
174- | ` cwe_overrides ` | map | ` {} ` | CWE ID → PromptSpec overrides |
175- | ` language_overrides ` | map | ` {} ` | Language → PromptSpec overrides |
162+ | ` cwe_overrides ` | map | ` {} ` | CWE ID → model override for that CWE's domain |
176163
177164## LLM Configuration
178165
@@ -356,7 +343,7 @@ Prompts are validated (max 10,000 characters, no null bytes) before use.
356343[[tickets .systems ]]
357344system_type = " github"
358345url = " https://api.github.com"
359- credentials.token = " ${GITHUB_TOKEN}"
346+ api_key = " ${GITHUB_TOKEN}"
360347```
361348
362349## Output Configuration
@@ -493,15 +480,11 @@ before the vulnerability judgement.
493480| Field | Type | Default | Description |
494481| ----------------| ------| ---------| --------------------------------------|
495482| ` enabled ` | bool | false | Enable triple-path augmentation |
496- | ` control_path ` | bool | true | Include AST/CFG/DFG verbalisation |
497- | ` knowledge_path ` | bool | true | Include CWE pattern RAG |
498483| ` semantic_path ` | bool | true | Include function summary |
499484
500485``` toml
501486[vultriage ]
502487enabled = false
503- control_path = true
504- knowledge_path = true
505488semantic_path = true
506489```
507490
@@ -678,24 +661,6 @@ enable_hunt_prompts = false
678661
679662Available modules: ` injection.md ` , ` auth.md ` , ` authz_absence.md ` , ` xss.md ` , ` path_traversal.md ` , ` crypto.md ` , ` resource.md ` , ` deserialization.md ` , ` memory_safety.md ` .
680663
681- ### AgentFlow Multi-Agent Harness Synthesis (P5) — arXiv:2605.11835
682-
683- Represents the harness as a typed graph DSL with a search loop. Most invasive
684- integration — static harness only until P5.5.
685-
686- | Field | Type | Default | Description |
687- | ----------------------------| ------| ---------| --------------------------------|
688- | ` enabled ` | bool | false | Enable AgentFlow harness |
689- | ` max_iterations ` | int | 10 | Max synthesis iterations |
690- | ` requires_instrumented_target ` | bool | false | Require instrumented target |
691-
692- ``` toml
693- [agent_flow ]
694- enabled = false
695- max_iterations = 10
696- requires_instrumented_target = false
697- ```
698-
699664### Exploit Synthesis (T3.2)
700665
701666Automated exploit generation to verify findings. Runs in sandboxed Docker containers.
@@ -705,14 +670,12 @@ Automated exploit generation to verify findings. Runs in sandboxed Docker contai
705670| ` enabled ` | bool | false | Enable exploit synthesis |
706671| ` sandbox_image ` | str | "python:3.11-slim" | Docker image for sandbox |
707672| ` timeout_secs ` | int | 30 | Timeout for exploit execution |
708- | ` max_exploits_per_finding ` | int | 1 | Max attempts per finding |
709673
710674``` toml
711675[exploit ]
712676enabled = false
713677sandbox_image = " python:3.11-slim"
714678timeout_secs = 30
715- max_exploits_per_finding = 1
716679```
717680
718681### Confidence Normalization
@@ -788,7 +751,6 @@ rules:
788751''']
789752
790753[scanner.performance]
791- enable_incremental_scan = true
792754enable_root_cause_dedup = true
793755enable_variant_search = true
794756
@@ -834,9 +796,6 @@ registrations = [
834796 '''(?si)register_rest_route\s*\([^;]*?[\x27\x22]callback[\x27\x22]\s*=>\s*''',
835797]
836798
837- [agent_flow]
838- enabled = false
839-
840799[agent]
841800enabled = false
842801max_turns = 10
@@ -865,7 +824,7 @@ baco scan --config my.toml --preset my-project
865824| ` triage ` | ` enabled ` , ` model ` , ` batch_size ` , ` suspicion_threshold ` |
866825| ` priority ` | ` enabled ` , ` git_recent_boost ` , ` entry_point_boost ` , ` small_file_boost ` |
867826| ` budget ` | ` enabled ` , ` max_llm_calls ` , ` reserve_percent_for_high_risk ` |
868- | ` agent_flow ` | ` enabled ` , ` max_iterations ` , ` requires_instrumented_target ` |
827+ | ` agent_flow ` | ` enabled ` , ` max_iterations ` |
869828| ` agent ` | ` enabled ` , ` max_turns ` , ` tool_timeout_secs ` |
870829| ` knowledge ` | ` fp_patterns ` (map of CWE → list of false-positive indicator strings), ` required_security_primitives ` (map of language → list of required primitives), ` hook_registry ` (map of language → HookRegistryLanguageConfig with ` hook_label ` , ` registrations ` regexes with optional ` (?P<hook>) ` capture, ` handler_patterns ` override) |
871830
0 commit comments