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-094/CodeInjection/UnsafeCodeConstruction.expected
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ nodes
7
7
| lib/index.js:5:35:5:38 | name |
8
8
| lib/index.js:6:26:6:29 | name |
9
9
| lib/index.js:6:26:6:29 | name |
10
+
| lib/index.js:13:38:13:41 | data |
11
+
| lib/index.js:13:38:13:41 | data |
12
+
| lib/index.js:14:21:14:24 | data |
13
+
| lib/index.js:14:21:14:24 | data |
10
14
edges
11
15
| lib/index.js:1:35:1:38 | data | lib/index.js:2:21:2:24 | data |
12
16
| lib/index.js:1:35:1:38 | data | lib/index.js:2:21:2:24 | data |
@@ -16,6 +20,11 @@ edges
16
20
| lib/index.js:5:35:5:38 | name | lib/index.js:6:26:6:29 | name |
17
21
| lib/index.js:5:35:5:38 | name | lib/index.js:6:26:6:29 | name |
18
22
| lib/index.js:5:35:5:38 | name | lib/index.js:6:26:6:29 | name |
23
+
| lib/index.js:13:38:13:41 | data | lib/index.js:14:21:14:24 | data |
24
+
| lib/index.js:13:38:13:41 | data | lib/index.js:14:21:14:24 | data |
25
+
| lib/index.js:13:38:13:41 | data | lib/index.js:14:21:14:24 | data |
26
+
| lib/index.js:13:38:13:41 | data | lib/index.js:14:21:14:24 | data |
19
27
#select
20
28
| lib/index.js:2:21:2:24 | data | lib/index.js:1:35:1:38 | data | lib/index.js:2:21:2:24 | data | $@ flows to here and is later $@. | lib/index.js:1:35:1:38 | data | Library input | lib/index.js:2:15:2:30 | "(" + data + ")" | interpreted as code |
21
29
| lib/index.js:6:26:6:29 | name | lib/index.js:5:35:5:38 | name | lib/index.js:6:26:6:29 | name | $@ flows to here and is later $@. | lib/index.js:5:35:5:38 | name | Library input | lib/index.js:6:17:6:29 | "obj." + name | interpreted as code |
30
+
| lib/index.js:14:21:14:24 | data | lib/index.js:13:38:13:41 | data | lib/index.js:14:21:14:24 | data | $@ flows to here and is later $@. | lib/index.js:13:38:13:41 | data | Library input | lib/index.js:14:15:14:30 | "(" + data + ")" | interpreted as code |
0 commit comments