File tree Expand file tree Collapse file tree
rust/ql/test/library-tests/sensitivedata
shared/concepts/codeql/concepts/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ fn test_passwords(
4242 sink ( password_str) ; // $ sensitive=password
4343 sink ( password_confirmation) ; // $ sensitive=password
4444 sink ( profile_password) ; // $ sensitive=password
45- sink ( unencrypted_password) ; // $ MISSING: sensitive=password
46- sink ( unencoded_password) ; // $ MISSING: sensitive=password
45+ sink ( unencrypted_password) ; // $ sensitive=password
46+ sink ( unencoded_password) ; // $ sensitive=password
4747 sink ( pass_phrase) ; // $ sensitive=password
4848 sink ( passphrase) ; // $ sensitive=password
4949 sink ( passPhrase) ; // $ sensitive=password
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ module HeuristicNames {
150150 */
151151 string notSensitiveRegexp ( ) {
152152 result =
153- "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|(( ?<!un)(en))? (crypt|(?<!pass) code)|"
153+ "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|(?<!un)en (crypt|code)|"
154154 + "certain|concert|secretar|wildcard|coauthor|account(ant|ab|ing|ed)|(?<!pro)file|path|([_-]|\\b)url).*"
155155 }
156156
You can’t perform that action at this time.
0 commit comments