From 2bf17515867f6bd4fee431811ae4a58055cf1c60 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Thu, 5 Nov 2026 23:50:44 -0800 Subject: [PATCH] ci: detect Fanout bearer secrets --- .gitleaks.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitleaks.toml b/.gitleaks.toml index 0a72adf..95ba52a 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -15,3 +15,9 @@ id = "local-workstation-path" description = "Local workstation home directory path" regex = '''(/Users|/home)/[A-Za-z0-9_.-]+/''' keywords = ["/users/", "/home/"] + +[[rules]] +id = "fanout-bearer-secret" +description = "Fanout opaque bearer secret" +regex = '''fo[iacr]_[A-Za-z0-9_-]{43}\b''' +keywords = ["foi_", "foa_", "for_", "foc_"]