You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/ql/test/query-tests/Security/CWE-078/UnsafeShellCommandConstruction.expected
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,10 @@ nodes
205
205
| lib/lib.js:405:39:405:42 | name |
206
206
| lib/lib.js:406:22:406:25 | name |
207
207
| lib/lib.js:406:22:406:25 | name |
208
+
| lib/lib.js:413:39:413:42 | name |
209
+
| lib/lib.js:413:39:413:42 | name |
210
+
| lib/lib.js:414:24:414:27 | name |
211
+
| lib/lib.js:414:24:414:27 | name |
208
212
edges
209
213
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
210
214
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
@@ -444,6 +448,10 @@ edges
444
448
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
445
449
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
446
450
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
451
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
452
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
453
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
454
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
447
455
#select
448
456
| lib/lib2.js:4:10:4:25 | "rm -rf " + name | lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name | $@ based on library input is later used in $@. | lib/lib2.js:4:10:4:25 | "rm -rf " + name | String concatenation | lib/lib2.js:4:2:4:26 | cp.exec ... + name) | shell command |
449
457
| lib/lib2.js:8:10:8:25 | "rm -rf " + name | lib/lib2.js:7:32:7:35 | name | lib/lib2.js:8:22:8:25 | name | $@ based on library input is later used in $@. | lib/lib2.js:8:10:8:25 | "rm -rf " + name | String concatenation | lib/lib2.js:8:2:8:26 | cp.exec ... + name) | shell command |
@@ -502,3 +510,4 @@ edges
502
510
| lib/lib.js:351:10:351:27 | "rm -rf " + unsafe | lib/lib.js:349:29:349:34 | unsafe | lib/lib.js:351:22:351:27 | unsafe | $@ based on library input is later used in $@. | lib/lib.js:351:10:351:27 | "rm -rf " + unsafe | String concatenation | lib/lib.js:351:2:351:28 | cp.exec ... unsafe) | shell command |
503
511
| lib/lib.js:366:17:366:56 | "learn ... + model | lib/lib.js:360:20:360:23 | opts | lib/lib.js:366:28:366:42 | this.learn_args | $@ based on library input is later used in $@. | lib/lib.js:366:17:366:56 | "learn ... + model | String concatenation | lib/lib.js:367:3:367:18 | cp.exec(command) | shell command |
504
512
| lib/lib.js:406:10:406:25 | "rm -rf " + name | lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name | $@ based on library input is later used in $@. | lib/lib.js:406:10:406:25 | "rm -rf " + name | String concatenation | lib/lib.js:406:2:406:26 | cp.exec ... + name) | shell command |
513
+
| lib/lib.js:414:12:414:27 | "rm -rf " + name | lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name | $@ based on library input is later used in $@. | lib/lib.js:414:12:414:27 | "rm -rf " + name | String concatenation | lib/lib.js:414:2:414:28 | asyncEx ... + name) | shell command |
0 commit comments