mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
JS: Fix issue for .apply() calls
This commit is contained in:
@@ -55,6 +55,9 @@ private module Cached {
|
||||
invoke.isSpreadArgument(_) and
|
||||
storeContent = dynamicArgumentsContent()
|
||||
} or
|
||||
TApplyCallTaintNode(MethodCallExpr node) {
|
||||
node.getMethodName() = "apply" and exists(node.getArgument(1))
|
||||
} or
|
||||
TDestructuredModuleImportNode(ImportDeclaration decl) {
|
||||
exists(decl.getASpecifier().getImportedName())
|
||||
} or
|
||||
|
||||
Reference in New Issue
Block a user