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
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,12 @@ nodes
173
173
| lib/lib.js:307:39:307:42 | name |
174
174
| lib/lib.js:308:23:308:26 | name |
175
175
| lib/lib.js:308:23:308:26 | name |
176
+
| lib/lib.js:314:40:314:43 | name |
177
+
| lib/lib.js:314:40:314:43 | name |
178
+
| lib/lib.js:315:22:315:25 | name |
179
+
| lib/lib.js:315:22:315:25 | name |
180
+
| lib/lib.js:320:23:320:26 | name |
181
+
| lib/lib.js:320:23:320:26 | name |
176
182
edges
177
183
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
178
184
| lib/lib2.js:3:28:3:31 | name | lib/lib2.js:4:22:4:25 | name |
@@ -381,6 +387,14 @@ edges
381
387
| lib/lib.js:307:39:307:42 | name | lib/lib.js:308:23:308:26 | name |
382
388
| lib/lib.js:307:39:307:42 | name | lib/lib.js:308:23:308:26 | name |
383
389
| lib/lib.js:307:39:307:42 | name | lib/lib.js:308:23:308:26 | name |
390
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:315:22:315:25 | name |
391
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:315:22:315:25 | name |
392
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:315:22:315:25 | name |
393
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:315:22:315:25 | name |
394
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:320:23:320:26 | name |
395
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:320:23:320:26 | name |
396
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:320:23:320:26 | name |
397
+
| lib/lib.js:314:40:314:43 | name | lib/lib.js:320:23:320:26 | name |
384
398
#select
385
399
| 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 libary 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 |
386
400
| 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 libary 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 |
@@ -433,3 +447,5 @@ edges
433
447
| lib/lib.js:272:10:272:32 | "rm -rf ... version | lib/lib.js:267:46:267:48 | obj | lib/lib.js:272:22:272:32 | obj.version | $@ based on libary input is later used in $@. | lib/lib.js:272:10:272:32 | "rm -rf ... version | String concatenation | lib/lib.js:272:2:272:33 | cp.exec ... ersion) | shell command |
434
448
| lib/lib.js:277:11:277:30 | "rm -rf " + opts.bla | lib/lib.js:276:8:276:11 | opts | lib/lib.js:277:23:277:30 | opts.bla | $@ based on libary input is later used in $@. | lib/lib.js:277:11:277:30 | "rm -rf " + opts.bla | String concatenation | lib/lib.js:277:3:277:31 | cp.exec ... ts.bla) | shell command |
435
449
| lib/lib.js:308:11:308:26 | "rm -rf " + name | lib/lib.js:307:39:307:42 | name | lib/lib.js:308:23:308:26 | name | $@ based on libary input is later used in $@. | lib/lib.js:308:11:308:26 | "rm -rf " + name | String concatenation | lib/lib.js:308:3:308:27 | cp.exec ... + name) | shell command |
450
+
| lib/lib.js:315:10:315:25 | "rm -rf " + name | lib/lib.js:314:40:314:43 | name | lib/lib.js:315:22:315:25 | name | $@ based on libary input is later used in $@. | lib/lib.js:315:10:315:25 | "rm -rf " + name | String concatenation | lib/lib.js:315:2:315:26 | cp.exec ... + name) | shell command |
451
+
| lib/lib.js:320:11:320:26 | "rm -rf " + name | lib/lib.js:314:40:314:43 | name | lib/lib.js:320:23:320:26 | name | $@ based on libary input is later used in $@. | lib/lib.js:320:11:320:26 | "rm -rf " + name | String concatenation | lib/lib.js:320:3:320:27 | cp.exec ... + name) | shell command |
0 commit comments