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
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,14 @@ 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 |
212
+
| lib/lib.js:418:20:418:23 | name |
213
+
| lib/lib.js:418:20:418:23 | name |
214
+
| lib/lib.js:419:25:419:28 | name |
215
+
| lib/lib.js:419:25:419:28 | name |
208
216
edges
209
217
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
210
218
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
@@ -444,6 +452,14 @@ edges
444
452
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
445
453
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
446
454
| lib/lib.js:405:39:405:42 | name | lib/lib.js:406:22:406:25 | name |
455
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
456
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
457
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
458
+
| lib/lib.js:413:39:413:42 | name | lib/lib.js:414:24:414:27 | name |
459
+
| lib/lib.js:418:20:418:23 | name | lib/lib.js:419:25:419:28 | name |
460
+
| lib/lib.js:418:20:418:23 | name | lib/lib.js:419:25:419:28 | name |
461
+
| lib/lib.js:418:20:418:23 | name | lib/lib.js:419:25:419:28 | name |
462
+
| lib/lib.js:418:20:418:23 | name | lib/lib.js:419:25:419:28 | name |
447
463
#select
448
464
| 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
465
| 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 +518,5 @@ edges
502
518
| 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
519
| 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
520
| 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 |
521
+
| 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 |
522
+
| lib/lib.js:419:13:419:28 | "rm -rf " + name | lib/lib.js:418:20:418:23 | name | lib/lib.js:419:25:419:28 | name | $@ based on library input is later used in $@. | lib/lib.js:419:13:419:28 | "rm -rf " + name | String concatenation | lib/lib.js:419:3:419:29 | asyncEx ... + name) | shell command |
0 commit comments