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
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -301,6 +301,16 @@ 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 |
304
314
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
305
315
| lib/subLib2/compiled-file.ts:3:26:3:29 | name |
306
316
| lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -703,6 +713,22 @@ edges
703
713
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
704
714
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
705
715
| lib/lib.js:558:41:558:44 | name | lib/lib.js:566:26:566:29 | name |
716
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
717
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
718
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
719
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:573:22:573:25 | name |
720
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
721
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
722
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
723
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:579:25:579:28 | name |
724
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
725
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
726
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
727
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:590:29:590:32 | name |
728
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
729
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
730
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
731
+
| lib/lib.js:572:41:572:44 | name | lib/lib.js:593:25:593:28 | name |
706
732
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
707
733
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
708
734
| lib/subLib2/compiled-file.ts:3:26:3:29 | name | lib/subLib2/compiled-file.ts:4:25:4:28 | name |
@@ -826,6 +852,10 @@ edges
826
852
| 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
853
| 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
854
| 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 |
855
+
| 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 |
856
+
| 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 |
857
+
| 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 |
858
+
| 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 |
829
859
| 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
860
| 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
861
| 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