diff --git a/detect_secrets/plugins/keyword.py b/detect_secrets/plugins/keyword.py index c50170ad..1cb1e0fc 100644 --- a/detect_secrets/plugins/keyword.py +++ b/detect_secrets/plugins/keyword.py @@ -62,21 +62,29 @@ 'dummy_secret', 'false', 'false):', + 'false,', + 'false;', 'none', 'none,', 'none}', 'not', 'null', 'null,', + 'null;', + 'password', 'password)', 'password,', 'password},', + 'some_key', 'string,', 'string}', 'string}}', 'test-access-key', + 'todo', 'true', 'true):', + 'true,', + 'true;', '{', ) FOLLOWED_BY_COLON_RE = re.compile(