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 {
103103 */
104104 string notSensitiveRegexp ( ) {
105105 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).*"
107107 }
108108
109109 /**
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ module HeuristicNames {
103103 */
104104 string notSensitiveRegexp ( ) {
105105 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).*"
107107 }
108108
109109 /**
You can’t perform that action at this time.
0 commit comments