mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Add mask* as a heuristic name for an obfuscating function.
This commit is contained in:
@@ -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)).*"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user