Repository navigation
fix(ci): select the qualified TruffleHog scanner image - #171
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR selects TruffleHog scanner image 3.99.4 through the pinned action’s existing version input. Example: A secret-scanning runner has an older cached latest image.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-directed scanner repair is absent from main, and the focused patch has no actionable correctness or security findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGitHub push and pull-request events supply a commit range to the security workflow, which invokes TruffleHog and fails when verified credentials are detected. flowchart TD
A[Push or pull request] --> B[Resolve commit range]
B --> C[Pinned TruffleHog action]
C --> D[Scanner image 3.99.4]
D --> E[Verified secret scan]
E --> F[Workflow result]
Technical reviewBest possible solution: Use the existing version input to select 3.99.4 while preserving the established verified-secret gate. Do we have a high-confidence way to reproduce the issue? Main omits version, and the pinned action defaults to latest and invokes docker run without forcing a pull, establishing the cached-image reuse path from source. Is this the best way to solve the issue? The single existing input is the smallest complete change for explicit runtime selection, with no parallel mechanism or unsupported claim of immutable image identity. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 78a2cb65e070. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 23, 2026, 6:21 PM ET / 22:21 UTC. |
What Problem This Solves
The source-pinned action otherwise defaults to mutable latest, allowing historical cached scanner contents. Select the released TruffleHog3.99.4 scanner image whose actual payloads have incident-hardening evidence.
User Impact
CI secret scanning uses the selected qualified runtime. Product code/data and scan policy remain unchanged. This is a scanner-input change, not complete repository or fleet remediation; upstream image version tags remain mutable.
Why This Change Was Made
Use the pinned action's existing
versioninput. Preserve its source reference, image namespace, scan ranges, --only-verified/--debug where already selected, --fail/--no-update, triggers, permissions and failure gate. All caller action references were source-verified to use identical action.yml bytes that run IMAGE:VERSION.Evidence
git diff --checkpasses. Fresh independent P0–P3 review is scoped-clean. Required AGENTS.md commands pass on isolated native Linux ARM64 with exact Go1.27.3: GOWORK=off go mod tidy, unchangedgo.mod/go.sum, go vet ./..., go test -count=1 ./... (19 packages). No exported API/TUI change; downstream compatibility is not triggered by this literal workflow input.Exact source and artifact identities
Candidate
e68a4fba5553267f7fdc1eedd9d33001beb0671b, base78a2cb65e070ba1ae6065b76e009151b4a300ff0, tree5f1c6fe7f55e0b8c40da940385db05c0c4b22953. Workflow SHA25639b5e51c2fe7422b097c2a02bb4d672eb871ebc58b24d4e5354c9acd4db5c774.Captured canonical3.99.4 image index SHA256
bf9238f5bdf26ac28230d4b0bae5162a752b151bf10bea612dad7a62da938731; ARM64 image payloadb57ff51268b83496fd58889b252e61549cd1071467aed4f4706b1df53ec13150; AMD64 payload70b9108715250b19518b03acea56b2f4907a36dcfaaf77693444bdc007a761b1. Action body SHA256c3847cdbebcf469ef336c9b3f32dc6075ed65523e80e661cf404daebd57e5ba9. Qualification retains upstream +dirty/build-metadata limitations rather than claiming a reproducible source attestation.