Merge pull request #11178 from erik-krogh/passcode

JS/RB/PY: Recognize `passcode` as sensitive
This commit is contained in:
Erik Krogh Kristensen
2022-11-10 17:58:34 +01:00
committed by GitHub
5 changed files with 19 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ module HeuristicNames {
*/
string notSensitiveRegexp() {
result =
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|code)|certain|concert|secretar|accountant|accountab).*"
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|(?<!pass)code)|certain|concert|secretar|accountant|accountab).*"
}
/**