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 e4deb7d commit b64cb4dCopy full SHA for b64cb4d
javascript/ql/lib/semmle/javascript/security/dataflow/HardcodedCredentialsQuery.qll
@@ -59,8 +59,7 @@ class Configuration extends DataFlow::Configuration {
59
n = DataFlow::globalVarRef("TextEncoder").getAnInstantiation().getAMemberCall("encode")
60
|
61
src = n.getArgument(0) and
62
- trg = n and
63
- n.getLocation().getFile().getRelativePath().matches("%HardcodedCredentials.js%")
+ trg = n
64
)
65
or
66
exists(DataFlow::CallNode n | n = DataFlow::globalVarRef("Buffer").getAMemberCall("from") |
0 commit comments