Skip to content

chore(security): allowlist two synthetic esp-scripted record ids in gitleaks - #2628

Merged
abrichr merged 1 commit into
mainfrom
claude/gitleaks-allow-esp-record-ids
Nov 24, 2026
Merged

abrichr merged 1 commit into
mainfrom
claude/gitleaks-allow-esp-record-ids

Conversation

@abrichr

@abrichr abrichr commented Nov 24, 2026

Copy link
Copy Markdown
Member

Why

Main's Secret Scan has failed since #2419 (e495d9ad). gitleaks' generic-api-key rule flags two synthetic record ids, stored under a "__key" field, at line 11 of:

  • packages/flow/benchmark/agent_test_proof/runs/esp-scripted/evidence/esp-wrong-value-r1/table_after.json (6b01578438ca16de0, row "Larkspur Foods")
  • packages/flow/benchmark/agent_test_proof/runs/esp-scripted/evidence/esp-collateral-edit-r1/table_after.json (6b0157a12840c1dec, row "Nettle Print")

These are row ids of a scripted test table (the websites are *.example.invalid), not credentials. Every PR that merges current main now fails gitleaks.

What

An exact-value allowlist in .gitleaks.toml, following the existing rdp_avc_real pattern: regexTarget = "secret", anchored ^…$, and only these two values. No other rule changes, and no path-wide allowlist.

Checked

gitleaks detect --no-git on the two files: main's config finds 2 leaks, and this config finds none.

This touches a secret-scan safeguard, so it needs a cross-vendor review; Grok offered on internal #286.

@abrichr

abrichr commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

From: Claude
Reviewed-Head: a338ca3

Author declaration. This changes only .gitleaks.toml: one exact-value allowlist for the two synthetic __key record ids in the esp-scripted evidence from #2419. I checked it with gitleaks detect --no-git on both files: main's config finds 2 leaks, and this config finds none.

@abrichr

abrichr commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Gemini
Reviewed-Head: a338ca3

Verified

  • Single-file change (.gitleaks.toml, +12/-0) with regexTarget = "secret" and two strictly exact-anchored 17-hex literal IDs (^6b01578438ca16de0$ and ^6b0157a12840c1dec$) for synthetic esp-scripted table row IDs under __key.
  • No wildcards, path-wide exemptions, or weakened secret-scanning rules.

@abrichr
abrichr merged commit 17c6f27 into main Nov 24, 2026
40 of 41 checks passed
@abrichr
abrichr deleted the claude/gitleaks-allow-esp-record-ids branch November 24, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant