From a338ca3bd90e352e52ba8738f82db39b8f31cb33 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Tue, 24 Nov 2026 08:04:41 -0500 Subject: [PATCH] chore(security): allowlist two synthetic esp-scripted record ids in gitleaks --- .gitleaks.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitleaks.toml b/.gitleaks.toml index 0c168c7d1e..7e73d375d2 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -35,6 +35,18 @@ regexes = [ '''^Oaun30(21|24)sibl$''', ] +# benchmark/agent_test_proof/runs/esp-scripted stores the test app's synthetic +# record ids under a "__key" field in each table_after.json snapshot. These two +# trip the generic entropy rule; they are row ids of a scripted test table, not +# credentials. Only these exact values are allowed. +[[allowlists]] +description = "Synthetic record ids in benchmark/agent_test_proof esp-scripted evidence" +regexTarget = "secret" +regexes = [ + '''^6b01578438ca16de0$''', + '''^6b0157a12840c1dec$''', +] + # packages/desktop embeds PostHog's public project key for opt-in usage stats. # A phc_ project key can only send events, never read them; the same value is # shipped to every browser by openadapt.ai. Only this exact value is allowed.