Skip to content

Commit 3d03e71

Browse files
erik-kroghesbena
andauthored
Update javascript/ql/src/semmle/javascript/security/dataflow/IndirectCommandInjectionCustomizations.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
1 parent fd0d5c9 commit 3d03e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/IndirectCommandInjectionCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module IndirectCommandInjection {
5353
// `require("arg")({...spec})` => `{_: [], a: ..., b: ...}`
5454
this = DataFlow::moduleImport("arg").getACall()
5555
or
56-
// https://www.npmjs.com/package/argparse
56+
// `(new (require(argparse)).ArgumentParser({...spec})).parse_args()` => `{a: ..., b: ...}`
5757
this =
5858
API::moduleImport("argparse")
5959
.getMember("ArgumentParser")

0 commit comments

Comments
 (0)