Add mask* as a heuristic name for an obfuscating function.

This commit is contained in:
Max Schaefer
2020-06-24 07:10:03 +01:00
parent e6a44d4578
commit ef340954e4

View File

@@ -55,7 +55,8 @@ module HeuristicNames {
* that is hashed, encrypted, or a test value, and hence non-sensitive.
*/
string notSensitive() {
result = "(?is).*(test|redact|censor|obfuscate|hash|md5|sha|((?<!un)(en))?(crypt|code)).*"
result =
"(?is).*(test|redact|censor|obfuscate|hash|md5|(?<!un)mask|sha|((?<!un)(en))?(crypt|code)).*"
}
}