mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Update javascript/ql/src/semmle/javascript/security/dataflow/IndirectCommandInjectionCustomizations.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
fd0d5c9e46
commit
3d03e7192c
@@ -53,7 +53,7 @@ module IndirectCommandInjection {
|
||||
// `require("arg")({...spec})` => `{_: [], a: ..., b: ...}`
|
||||
this = DataFlow::moduleImport("arg").getACall()
|
||||
or
|
||||
// https://www.npmjs.com/package/argparse
|
||||
// `(new (require(argparse)).ArgumentParser({...spec})).parse_args()` => `{a: ..., b: ...}`
|
||||
this =
|
||||
API::moduleImport("argparse")
|
||||
.getMember("ArgumentParser")
|
||||
|
||||
Reference in New Issue
Block a user