mirror of
https://github.com/github/codeql.git
synced 2026-05-24 08:07:07 +02:00
Shared: Fix for 'profile'.
This commit is contained in:
@@ -41,7 +41,7 @@ fn test_passwords(
|
||||
sink(my_password); // $ sensitive=password
|
||||
sink(password_str); // $ sensitive=password
|
||||
sink(password_confirmation); // $ sensitive=password
|
||||
sink(profile_password); // $ MISSING: sensitive=password
|
||||
sink(profile_password); // $ sensitive=password
|
||||
sink(unencrypted_password); // $ MISSING: sensitive=password
|
||||
sink(unencoded_password); // $ MISSING: sensitive=password
|
||||
sink(pass_phrase); // $ sensitive=password
|
||||
|
||||
@@ -151,7 +151,7 @@ module HeuristicNames {
|
||||
string notSensitiveRegexp() {
|
||||
result =
|
||||
"(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|(?<!pass)code)|"
|
||||
+ "certain|concert|secretar|wildcard|account(ant|ab|ing|ed)|file|path|([_-]|\\b)url).*"
|
||||
+ "certain|concert|secretar|wildcard|account(ant|ab|ing|ed)|(?<!pro)file|path|([_-]|\\b)url).*"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user