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 82f8090 commit 123eb1eCopy full SHA for 123eb1e
javascript/ql/lib/semmle/javascript/frameworks/CryptoLibraries.qll
@@ -400,7 +400,10 @@ private module CryptoJS {
400
Apply() {
401
this = getEncryptionApplication(input, algorithm) or
402
this = getDirectApplication(input, algorithm) or
403
- this = getUpdatedApplication(input, instantiation)
+ exists(InstantiatedAlgorithm instantiation |
404
+ this = getUpdatedApplication(input, instantiation) and
405
+ algorithm = instantiation.getAlgorithm()
406
+ )
407
}
408
409
override DataFlow::Node getAnInput() { result = input.asSink() }
0 commit comments