File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
python/ql/lib/semmle/python/security/internal
ruby/ql/lib/codeql/ruby/security/internal Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ module HeuristicNames {
103
103
*/
104
104
string notSensitiveRegexp ( ) {
105
105
result =
106
- "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)|certain|concert|secretar|accountant|accountab).*"
106
+ "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|(?<!pass) code)|certain|concert|secretar|accountant|accountab).*"
107
107
}
108
108
109
109
/**
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ module HeuristicNames {
103
103
*/
104
104
string notSensitiveRegexp ( ) {
105
105
result =
106
- "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)|certain|concert|secretar|accountant|accountab).*"
106
+ "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|(?<!pass) code)|certain|concert|secretar|accountant|accountab).*"
107
107
}
108
108
109
109
/**
You can’t perform that action at this time.
0 commit comments