Skip to content

Commit a7746a0

Browse files
committed
🔭 [Keyword Plugin] Add more to FALSE_POSITIVES
1 parent 50e2edf commit a7746a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: detect_secrets/plugins/keyword.py

+9
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,26 @@
4949
FALSE_POSITIVES = {
5050
'""',
5151
'""):',
52+
'"\'',
5253
'")',
5354
'#pass',
5455
'#password',
56+
'$(shell',
57+
"'\"",
5558
"''",
5659
"''):",
5760
"')",
5861
"'this",
5962
'(nsstring',
63+
'-default}',
6064
'<a',
6165
'<aws_secret_access_key>',
66+
'<input',
6267
'<password>',
68+
'=',
69+
'\\k.*"',
70+
"\\k.*'",
71+
'`grep',
6372
'dummy_secret',
6473
'false',
6574
'false):',

0 commit comments

Comments
 (0)