From d42d518a4a31ebc59b3909ebfebe61e06c0b3151 Mon Sep 17 00:00:00 2001 From: Barak Fatal <35402131+bo156@users.noreply.github.com> Date: Sun, 4 Feb 2024 13:49:44 +0200 Subject: [PATCH] Added regex for recaptcha_key in the keyword denylist (#182) --- detect_secrets/plugins/keyword.py | 1 + 1 file changed, 1 insertion(+) diff --git a/detect_secrets/plugins/keyword.py b/detect_secrets/plugins/keyword.py index 4bcec822..1c678a82 100644 --- a/detect_secrets/plugins/keyword.py +++ b/detect_secrets/plugins/keyword.py @@ -63,6 +63,7 @@ 'secret', 'contraseƱa', 'contrasena', + 'recaptcha_.*key', ) # Includes ], ', " as closing CLOSING = r'[]\'"]{0,2}'