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
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,14 @@ nodes
254
254
| lib/lib.js:498:45:498:48 | name |
255
255
| lib/lib.js:499:31:499:34 | name |
256
256
| lib/lib.js:499:31:499:34 | name |
257
+
| lib/lib.js:509:39:509:42 | name |
258
+
| lib/lib.js:509:39:509:42 | name |
259
+
| lib/lib.js:510:22:510:25 | name |
260
+
| lib/lib.js:510:22:510:25 | name |
261
+
| lib/lib.js:513:23:513:26 | name |
262
+
| lib/lib.js:513:23:513:26 | name |
263
+
| lib/lib.js:519:23:519:26 | name |
264
+
| lib/lib.js:519:23:519:26 | name |
257
265
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
258
266
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
259
267
| lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -574,6 +582,18 @@ edges
574
582
| lib/lib.js:498:45:498:48 | name | lib/lib.js:499:31:499:34 | name |
575
583
| lib/lib.js:498:45:498:48 | name | lib/lib.js:499:31:499:34 | name |
576
584
| lib/lib.js:498:45:498:48 | name | lib/lib.js:499:31:499:34 | name |
585
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:510:22:510:25 | name |
586
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:510:22:510:25 | name |
587
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:510:22:510:25 | name |
588
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:510:22:510:25 | name |
589
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:513:23:513:26 | name |
590
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:513:23:513:26 | name |
591
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:513:23:513:26 | name |
592
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:513:23:513:26 | name |
593
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:519:23:519:26 | name |
594
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:519:23:519:26 | name |
595
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:519:23:519:26 | name |
596
+
| lib/lib.js:509:39:509:42 | name | lib/lib.js:519:23:519:26 | name |
577
597
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
578
598
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
579
599
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -666,6 +686,9 @@ edges
666
686
| lib/lib.js:478:27:478:46 | config.installedPath | lib/lib.js:477:33:477:38 | config | lib/lib.js:478:27:478:46 | config.installedPath | $@ based on $@ is later used in $@. | lib/lib.js:478:27:478:46 | config.installedPath | Path concatenation | lib/lib.js:477:33:477:38 | config | library input | lib/lib.js:479:12:479:20 | exec(cmd) | shell command |
667
687
| lib/lib.js:483:13:483:33 | ' my na ... + name | lib/lib.js:482:40:482:43 | name | lib/lib.js:483:30:483:33 | name | $@ based on $@ is later used in $@. | lib/lib.js:483:13:483:33 | ' my na ... + name | String concatenation | lib/lib.js:482:40:482:43 | name | library input | lib/lib.js:485:2:485:20 | cp.exec(cmd + args) | shell command |
668
688
| lib/lib.js:499:19:499:34 | "rm -rf " + name | lib/lib.js:498:45:498:48 | name | lib/lib.js:499:31:499:34 | name | $@ based on $@ is later used in $@. | lib/lib.js:499:19:499:34 | "rm -rf " + name | String concatenation | lib/lib.js:498:45:498:48 | name | library input | lib/lib.js:499:3:499:35 | MyThing ... + name) | shell command |
689
+
| lib/lib.js:510:10:510:25 | "rm -rf " + name | lib/lib.js:509:39:509:42 | name | lib/lib.js:510:22:510:25 | name | $@ based on $@ is later used in $@. | lib/lib.js:510:10:510:25 | "rm -rf " + name | String concatenation | lib/lib.js:509:39:509:42 | name | library input | lib/lib.js:510:2:510:26 | cp.exec ... + name) | shell command |
690
+
| lib/lib.js:513:11:513:26 | "rm -rf " + name | lib/lib.js:509:39:509:42 | name | lib/lib.js:513:23:513:26 | name | $@ based on $@ is later used in $@. | lib/lib.js:513:11:513:26 | "rm -rf " + name | String concatenation | lib/lib.js:509:39:509:42 | name | library input | lib/lib.js:513:3:513:27 | cp.exec ... + name) | shell command |
691
+
| lib/lib.js:519:11:519:26 | "rm -rf " + name | lib/lib.js:509:39:509:42 | name | lib/lib.js:519:23:519:26 | name | $@ based on $@ is later used in $@. | lib/lib.js:519:11:519:26 | "rm -rf " + name | String concatenation | lib/lib.js:509:39:509:42 | name | library input | lib/lib.js:519:3:519:27 | cp.exec ... + name) | shell command |
669
692
| lib/subLib2/compiled-file.ts:4:13:4:28 | "rm -rf " + name | lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name | $@ based on $@ is later used in $@. | lib/subLib2/compiled-file.ts:4:13:4:28 | "rm -rf " + name | String concatenation | lib/subLib2/compiled-file.ts:3:26:3:29 | name | library input | lib/subLib2/compiled-file.ts:4:5:4:29 | cp.exec ... + name) | shell command |
670
693
| lib/subLib2/special-file.js:4:10:4:25 | "rm -rf " + name | lib/subLib2/special-file.js:3:28:3:31 | name | lib/subLib2/special-file.js:4:22:4:25 | name | $@ based on $@ is later used in $@. | lib/subLib2/special-file.js:4:10:4:25 | "rm -rf " + name | String concatenation | lib/subLib2/special-file.js:3:28:3:31 | name | library input | lib/subLib2/special-file.js:4:2:4:26 | cp.exec ... + name) | shell command |
671
694
| lib/subLib3/my-file.ts:4:10:4:25 | "rm -rf " + name | lib/subLib3/my-file.ts:3:28:3:31 | name | lib/subLib3/my-file.ts:4:22:4:25 | name | $@ based on $@ is later used in $@. | lib/subLib3/my-file.ts:4:10:4:25 | "rm -rf " + name | String concatenation | lib/subLib3/my-file.ts:3:28:3:31 | name | library input | lib/subLib3/my-file.ts:4:2:4:26 | cp.exec ... + name) | shell command |
0 commit comments