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/UnsafeShellCommandConstruction.expected
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -301,6 +301,24 @@ nodes
301
301
| lib/lib.js:562:26:562:29 | name |
302
302
| lib/lib.js:566:26:566:29 | name |
303
303
| lib/lib.js:566:26:566:29 | name |
304
+
| lib/lib.js:572:41:572:44 | name |
305
+
| lib/lib.js:572:41:572:44 | name |
306
+
| lib/lib.js:573:22:573:25 | name |
307
+
| lib/lib.js:573:22:573:25 | name |
308
+
| lib/lib.js:579:25:579:28 | name |
309
+
| lib/lib.js:579:25:579:28 | name |
310
+
| lib/lib.js:590:29:590:32 | name |
311
+
| lib/lib.js:590:29:590:32 | name |
312
+
| lib/lib.js:593:25:593:28 | name |
313
+
| lib/lib.js:593:25:593:28 | name |
314
+
| lib/lib.js:608:42:608:45 | name |
315
+
| lib/lib.js:608:42:608:45 | name |
316
+
| lib/lib.js:609:22:609:25 | name |
317
+
| lib/lib.js:609:22:609:25 | name |
318
+
| lib/lib.js:626:29:626:32 | name |
319
+
| lib/lib.js:626:29:626:32 | name |
320
+
| lib/lib.js:629:25:629:28 | name |
321
+
| lib/lib.js:629:25:629:28 | name |
304
322
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
305
323
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
306
324
| lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -703,6 +721,34 @@ edges
703
721
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
704
722
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
705
723
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
724
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
725
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
726
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
727
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
728
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
729
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
730
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
731
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
732
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
733
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
734
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
735
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
736
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
737
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
738
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
739
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
740
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:609:22:609:25 | name |
741
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:609:22:609:25 | name |
742
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:609:22:609:25 | name |
743
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:609:22:609:25 | name |
744
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:626:29:626:32 | name |
745
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:626:29:626:32 | name |
746
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:626:29:626:32 | name |
747
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:626:29:626:32 | name |
748
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:629:25:629:28 | name |
749
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:629:25:629:28 | name |
750
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:629:25:629:28 | name |
751
+
| lib/lib.js:608:42:608:45 | name | lib/lib.js:629:25:629:28 | name |
706
752
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
707
753
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
708
754
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -826,6 +872,13 @@ edges
826
872
| lib/lib.js:560:14:560:29 | "rm -rf " + name | lib/lib.js:558:41:558:44 | name | lib/lib.js:560:26:560:29 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:558:41:558:44 | name | library input | lib/lib.js:560:9:560:30 | exec("r ... + name) | shell command |
827
873
| lib/lib.js:562:14:562:29 | "rm -rf " + name | lib/lib.js:558:41:558:44 | name | lib/lib.js:562:26:562:29 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:558:41:558:44 | name | library input | lib/lib.js:562:9:562:30 | exec("r ... + name) | shell command |
828
874
| lib/lib.js:566:14:566:29 | "rm -rf " + name | lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:558:41:558:44 | name | library input | lib/lib.js:566:9:566:30 | exec("r ... + name) | shell command |
875
+
| lib/lib.js:573:10:573:25 | "rm -rf " + name | lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:572:41:572:44 | name | library input | lib/lib.js:573:2:573:26 | cp.exec ... + name) | shell command |
876
+
| lib/lib.js:579:13:579:28 | "rm -rf " + name | lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:572:41:572:44 | name | library input | lib/lib.js:579:5:579:29 | cp.exec ... + name) | shell command |
877
+
| lib/lib.js:590:17:590:32 | "rm -rf " + name | lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:572:41:572:44 | name | library input | lib/lib.js:590:9:590:33 | cp.exec ... + name) | shell command |
878
+
| lib/lib.js:593:13:593:28 | "rm -rf " + name | lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:572:41:572:44 | name | library input | lib/lib.js:593:5:593:29 | cp.exec ... + name) | shell command |
879
+
| lib/lib.js:609:10:609:25 | "rm -rf " + name | lib/lib.js:608:42:608:45 | name | lib/lib.js:609:22:609:25 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:608:42:608:45 | name | library input | lib/lib.js:609:2:609:26 | cp.exec ... + name) | shell command |
880
+
| lib/lib.js:626:17:626:32 | "rm -rf " + name | lib/lib.js:608:42:608:45 | name | lib/lib.js:626:29:626:32 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:608:42:608:45 | name | library input | lib/lib.js:626:9:626:33 | cp.exec ... + name) | shell command |
881
+
| lib/lib.js:629:13:629:28 | "rm -rf " + name | lib/lib.js:608:42:608:45 | name | lib/lib.js:629:25:629:28 | name | This string concatenation which depends on $@ is later used in a $@. | lib/lib.js:608:42:608:45 | name | library input | lib/lib.js:629:5:629:29 | cp.exec ... + name) | shell command |
829
882
| 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 | This string concatenation which depends on $@ is later used in a $@. | 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 |
830
883
| 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 | This string concatenation which depends on $@ is later used in a $@. | 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 |
831
884
| 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 | This string concatenation which depends on $@ is later used in a $@. | 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