Update javascript/ql/lib/semmle/javascript/frameworks/CryptoLibraries.qll

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
smiddy007
2023-03-28 11:14:28 -04:00
committed by GitHub
parent 82f8090e91
commit 123eb1e57b

View File

@@ -400,7 +400,10 @@ private module CryptoJS {
Apply() {
this = getEncryptionApplication(input, algorithm) or
this = getDirectApplication(input, algorithm) or
this = getUpdatedApplication(input, instantiation)
exists(InstantiatedAlgorithm instantiation |
this = getUpdatedApplication(input, instantiation) and
algorithm = instantiation.getAlgorithm()
)
}
override DataFlow::Node getAnInput() { result = input.asSink() }