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
@@ -1,4 +1,8 @@
1
1
nodes
2
+
| lib/isImported.js:5:49:5:52 | name |
3
+
| lib/isImported.js:5:49:5:52 | name |
4
+
| lib/isImported.js:6:22:6:25 | name |
5
+
| lib/isImported.js:6:22:6:25 | name |
2
6
| lib/lib2.js:3:28:3:31 | name |
3
7
| lib/lib2.js:3:28:3:31 | name |
4
8
| lib/lib2.js:4:22:4:25 | name |
@@ -271,6 +275,10 @@ nodes
271
275
| lib/subLib/index.js:8:22:8:25 | name |
272
276
| lib/subLib/index.js:8:22:8:25 | name |
273
277
edges
278
+
| lib/isImported.js:5:49:5:52 | name | lib/isImported.js:6:22:6:25 | name |
279
+
| lib/isImported.js:5:49:5:52 | name | lib/isImported.js:6:22:6:25 | name |
280
+
| lib/isImported.js:5:49:5:52 | name | lib/isImported.js:6:22:6:25 | name |
281
+
| lib/isImported.js:5:49:5:52 | name | lib/isImported.js:6:22:6:25 | name |
274
282
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
275
283
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
276
284
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
@@ -587,6 +595,7 @@ edges
587
595
| lib/subLib/index.js:7:32:7:35 | name | lib/subLib/index.js:8:22:8:25 | name |
588
596
| lib/subLib/index.js:7:32:7:35 | name | lib/subLib/index.js:8:22:8:25 | name |
589
597
#select
598
+
| lib/isImported.js:6:10:6:25 | "rm -rf " + name | lib/isImported.js:5:49:5:52 | name | lib/isImported.js:6:22:6:25 | name | $@ based on $@ is later used in $@. | lib/isImported.js:6:10:6:25 | "rm -rf " + name | String concatenation | lib/isImported.js:5:49:5:52 | name | library input | lib/isImported.js:6:2:6:26 | cp.exec ... + name) | shell command |
590
599
| 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 $@ is later used in $@. | lib/lib2.js:4:10:4:25 | "rm -rf " + name | String concatenation | lib/lib2.js:3:28:3:31 | name | library input | lib/lib2.js:4:2:4:26 | cp.exec ... + name) | shell command |
591
600
| 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 $@ is later used in $@. | lib/lib2.js:8:10:8:25 | "rm -rf " + name | String concatenation | lib/lib2.js:7:32:7:35 | name | library input | lib/lib2.js:8:2:8:26 | cp.exec ... + name) | shell command |
592
601
| lib/lib.js:4:10:4:25 | "rm -rf " + name | lib/lib.js:3:28:3:31 | name | lib/lib.js:4:22:4:25 | name | $@ based on $@ is later used in $@. | lib/lib.js:4:10:4:25 | "rm -rf " + name | String concatenation | lib/lib.js:3:28:3:31 | name | library input | lib/lib.js:4:2:4:26 | cp.exec ... + name) | shell command |
0 commit comments