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.
key
1 parent 880262d commit ff85db3Copy full SHA for ff85db3
javascript/ql/src/Security/CWE-798/HardcodedCredentials.ql
@@ -30,7 +30,7 @@ where
30
// exclude dummy passwords and templates
31
not (
32
sink.getNode().(Sink).(DefaultCredentialsSink).getKind() =
33
- ["password", "credentials", "token"] and
+ ["password", "credentials", "token", "key"] and
34
PasswordHeuristics::isDummyPassword(val)
35
or
36
sink.getNode().(Sink).getKind() = "authorization header" and
0 commit comments