We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tokenImage
1 parent 63a04c0 commit 4832dc5Copy full SHA for 4832dc5
java/ql/lib/semmle/code/java/security/SensitiveLoggingQuery.qll
@@ -12,7 +12,8 @@ class VariableWithSensitiveName extends Variable {
12
VariableWithSensitiveName() {
13
exists(string name | name = this.getName() |
14
name.regexpMatch(getCommonSensitiveInfoRegex()) and
15
- not name.regexpMatch("(?i).*null.*")
+ not name.regexpMatch("(?i).*null.*") and
16
+ not name.matches("tokenImage") // appears in parser code generated by JavaCC
17
)
18
}
19
0 commit comments