openvibers/openvibe.shared Commits

gitleaks: allow the two made-up secrets in test/config.test.js (they prove redaction), matched on path and exact value

OP OpenVibers committed 26 Sept 2026 · 1c7b28037e · 1 file, +11 −0


Changes

ddiff --git a/.gitleaks.toml b/.gitleaks.toml
nnew file mode 100644
iindex 0000000..691866d
---- /dev/null
++++ b/.gitleaks.toml
@@@ -0,0 +1,11 @@
++# gitleaks configuration, used by the shared security workflow (.github/workflows/security.yml).
++# The default rules stay on; every allowlist below is one proven false positive, matched on path AND
++# value so nothing else is hidden.
++[extend]
++useDefault = true
++
++[[allowlists]]
++description = "Made-up secrets in the configuration model's tests (test/config.test.js): they exist to prove secrets are redacted, never logged and never served"
++condition = "AND"
++paths = ['''^test/config\.test\.js$''']
++regexes = ['''^(sk_live_TOPSECRET_9f8e7d6c5b4a|re_abcdef123456)$''']