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.
1 parent e977d6e commit 08e86fdCopy full SHA for 08e86fd
javascript/ql/src/semmle/javascript/security/SensitiveActions.qll
@@ -129,11 +129,7 @@ abstract class SensitiveDataFunctionName extends SensitiveFunctionName {
129
class CredentialsFunctionName extends SensitiveDataFunctionName {
130
SensitiveDataClassification classification;
131
132
- CredentialsFunctionName() {
133
- // TODO: is it by purpose that we don't check whether `this` does not
134
- // match the regexps in `notSensitive`?
135
- this.regexpMatch(maybeSensitive(classification))
136
- }
+ CredentialsFunctionName() { nameIndicatesSensitiveData(this, classification) }
137
138
override SensitiveDataClassification getClassification() { result = classification }
139
}
0 commit comments