You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c2c9f9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [1.2.0] - 2026-12-02
11
+
10
12
### Added
11
13
- Taint-mode semgrep presets for JavaScript (`presets/javascript.toml`) and Go (`presets/go.toml`), with taint-source/sink rules for SQLi, command injection, and path traversal
12
14
- Taint-mode rules added to existing PHP and Python presets
13
15
-`max_target_bytes` config field under `[scanner.semgrep]` to cap file size passed to semgrep via `--max-target-bytes`
14
16
- Incremental scanning: `[scanner] incremental_scan = true` (requires `prior_runs.enabled = true`) skips LLM analysis for files unchanged since the last completed run and carries their previous findings forward; the changed/unchanged decision hashes every file, comparison uses one predicate for both the restriction and the carry, and `<output>/file-hashes.json` is written only after a scan completes fully
15
17
- Graduated verification gate: individual check results (reachability, controllability, preconditions, context, impact) are recorded separately instead of a single binary kill
18
+
- LLM circuit breaker: a model that fails 3 times consecutively is demoted to the end of the failover order for the rest of the run instead of stalling every call until timeout
19
+
-`suppressions_file` under `[scanner]`: persistent TOML suppressions that filter recurring findings before severity counting, reporting, and evidence tiers
16
20
17
21
### Changed
18
22
- Default `project.languages` in `config.example.toml` expanded from `["c", "python"]` to include `go`, `javascript`, `php`
19
23
- Semgrep runner no longer aborts the entire scan on a non-zero exit code; partial JSON findings from stdout are preserved
20
24
- Verification gate downgrades to `NeedsReview` instead of `FalsePositive` when a single check fails, preserving incremental evidence
25
+
- Default runtime LLM temperature reduced from 0.5 to 0.0 so repeated scans on the same input produce identical findings
26
+
- Agent verifications that reach the turn limit are marked `NeedsReview` instead of being counted as supported findings
27
+
- Hunt prompt domains are derived from the `prompts/hunt/` directory (one domain per `.md` file stem); adding a prompt module no longer requires a code change
21
28
22
29
### Removed
23
30
- Experimental pipeline tier: the `CpgSlice`, `RuleSynthesis`, `SecurityAgentVerification`, `ThreatModeling`, `AutoPatching`, `PocCompiler`, `ExploitSynth`, and `VariantSearch` phases, along with the `[scanner] profile` option and their configuration and LLM-phase slots. The pipeline is now a fixed 15-phase core (3 parallel + 12 sequential); `Validate` is a core phase.
24
31
25
32
### Fixed
26
33
- Finding ID collisions: `generate_id` now includes `rule_id` and a snippet discriminator byte in the hash, preventing distinct vulnerabilities on the same file/line/CWE from sharing an ID
27
34
-`generate_id` distinguishes `None` from `Some("")` snippets via a discriminator byte
35
+
- Resumed scans produce the same outputs as fresh scans (markdown report, evidence tiers, suppression filtering) instead of only `findings.json`
36
+
- Hunt prompt loader no longer silently drops on-disk modules (`memory_safety` and `authz_absence` existed but were never loaded)
37
+
- Diff tests no longer resolve the external `v1.0.0` tag; they generate hermetic temporary rev-specs
Copy file name to clipboardExpand all lines: docs/configuration.md
+33-4Lines changed: 33 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,35 @@ enable_cve_bootstrap = true
130
130
enable_hunt_prompts = true
131
131
```
132
132
133
+
#### Suppressions File
134
+
135
+
An optional TOML file that filters out known false positives before reporting:
136
+
137
+
```toml
138
+
# suppressions.toml
139
+
[[suppression]]
140
+
file_path = "src/lib_json/json_value.cpp"
141
+
cwe_id = "CWE-120"
142
+
line = 128
143
+
reason = "destination size clamped by preceding malloc"
144
+
```
145
+
146
+
Enable it in `[scanner]`:
147
+
148
+
```toml
149
+
[scanner]
150
+
# ...
151
+
suppressions_file = "suppressions.toml"
152
+
```
153
+
154
+
**Matching rules:**
155
+
-`file_path`: suffix match (finding path must end with this value)
156
+
-`cwe_id`: prefix match (finding CWE must start with this value)
157
+
-`line`: optional; when set, finding line must be within ±5 lines
158
+
-`reason`: required; shown in suppression logs
159
+
160
+
A finding with `line_number = None` never matches a line-constrained entry.
161
+
133
162
| Flag | Default | Side effects |
134
163
| --- | --- | --- |
135
164
|`early_termination_threshold`|`1000.0`| None |
@@ -207,7 +236,7 @@ enabled = false
207
236
208
237
BACO supports single or multiple models per phase. When multiple models are configured, they are used in round-robin fashion to distribute load across different models/providers.
209
238
210
-
**Default temperature:**`0.5` (controlled randomness for better security analysis)
239
+
**Default temperature:**`0.0` (deterministic — repeated scans of an unchanged tree produce comparable findings; set an explicit value when you want sampling variance)
211
240
212
241
**Default max_reasoning_tokens:** unset (`None` — no cap unless configured)
213
242
@@ -220,7 +249,7 @@ timeout_secs = 60
220
249
max_retries = 3
221
250
retry_backoff_ms = 1000
222
251
max_concurrent = 4
223
-
temperature = 0.5
252
+
temperature = 0.0
224
253
enable_llm_cache = false
225
254
cache_dir = null
226
255
```
@@ -258,15 +287,15 @@ Timeout configuration operates at two levels:
258
287
- Max retries: Configured via `[llm] max_retries` (default: 3)
259
288
- Source: `src/llm/mod.rs:254-269`
260
289
261
-
Retries are bounded; after exhausting retries on one model, the client fails over to the next configured model (if multiple models are specified).
290
+
Retries are bounded; after exhausting retries on one model, the client fails over to the next configured model (if multiple models are specified). Within a single scan, a model that is exhausted consecutively `BREAKER_THRESHOLD` (3) times is skipped by the circuit breaker for the rest of the run instead of being retried first on every request.
0 commit comments