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
fix(security): gitleaks scans every file of a list target again #781
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/securityType security: a vulnerability or a leak
Gitleaks takes one source per run, and GitleaksScanner.build_command has always passed only target_path[0] to --source, so with the binary installed a list target scanned only its first file. 5d34541 (#763) extended that to the built-in patterns: run_gitleaks_scan (security/gitleaks.py:238) now hands the scanner target[0], where it used to pass the whole list to _resolve_scan_files. The review pipeline passes every reviewed file (ai/review/pipeline.py:1080), so a review scans only its first file for secrets whether or not the binary is installed. The review tests patch run_gitleaks_scan, so none caught it.
Scope & Deliverables
Deliverable: a list target scans every file again, and a test calls run_gitleaks_scan with two files where only the second holds a secret.
Constraint: this is a critical fix: a P0 security regression whose introducing commit (5d34541) is cited, so it joins the current release.
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/securityType security: a vulnerability or a leak
Activity
chore(docs): plan the architecture review's deepening candidates and …
chore(docs): plan the architecture review's deepening candidates and …
fix(security): gitleaks scans every file of a list target (#781) (#784)
dan-petty commentedon Oct 1, 2026
Closed by #784, merged into
release/v0.2.24.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.24 (#905)