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
| main.go:18:46:18:48 | definition of req | main.go:18:46:18:48 | definition of req [Return] | provenance | |
3
+
| main.go:18:46:18:48 | definition of req | main.go:18:46:18:48 | definition of req [Return] | provenance | |
3
4
| main.go:18:46:18:48 | definition of req | main.go:21:28:21:31 | name | provenance | |
4
5
| main.go:18:46:18:48 | definition of req | main.go:21:28:21:31 | name | provenance | |
5
6
| main.go:18:46:18:48 | definition of req [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | provenance | |
6
7
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | provenance | |
8
+
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | provenance | |
7
9
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:86:37:86:38 | in | provenance | |
8
10
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:86:37:86:38 | in | provenance | |
9
11
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | provenance | |
10
12
| proto/Hello.pb.micro.go:86:37:86:38 | in | main.go:18:46:18:48 | definition of req | provenance | |
11
13
| proto/Hello.pb.micro.go:86:37:86:38 | in | main.go:18:46:18:48 | definition of req | provenance | |
12
14
| proto/Hello.pb.micro.go:86:37:86:38 | in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | provenance | |
13
15
| proto/Hello.pb.micro.go:86:37:86:38 | in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | provenance | |
16
+
| proto/Hello.pb.micro.go:86:37:86:38 | in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | provenance | |
14
17
nodes
15
18
| main.go:18:46:18:48 | definition of req | semmle.label | definition of req |
16
19
| main.go:18:46:18:48 | definition of req | semmle.label | definition of req |
17
20
| main.go:18:46:18:48 | definition of req [Return] | semmle.label | definition of req [Return] |
21
+
| main.go:18:46:18:48 | definition of req [Return] | semmle.label | definition of req [Return] |
18
22
| main.go:21:28:21:31 | name | semmle.label | name |
19
23
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | semmle.label | definition of in |
20
24
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in | semmle.label | definition of in |
21
25
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | semmle.label | definition of in [Return] |
26
+
| proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | semmle.label | definition of in [Return] |
22
27
| proto/Hello.pb.micro.go:86:37:86:38 | in | semmle.label | in |
23
28
| proto/Hello.pb.micro.go:86:37:86:38 | in | semmle.label | in |
24
29
subpaths
30
+
| proto/Hello.pb.micro.go:86:37:86:38 | in | main.go:18:46:18:48 | definition of req | main.go:18:46:18:48 | definition of req [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in |
31
+
| proto/Hello.pb.micro.go:86:37:86:38 | in | main.go:18:46:18:48 | definition of req | main.go:18:46:18:48 | definition of req [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in |
32
+
| proto/Hello.pb.micro.go:86:37:86:38 | in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in |
33
+
| proto/Hello.pb.micro.go:86:37:86:38 | in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in | proto/Hello.pb.micro.go:85:53:85:54 | definition of in [Return] | proto/Hello.pb.micro.go:85:53:85:54 | definition of in |
25
34
#select
26
35
| main.go:21:28:21:31 | name | main.go:18:46:18:48 | definition of req | main.go:21:28:21:31 | name | This log entry depends on a $@. | main.go:18:46:18:48 | definition of req | user-provided value |
Copy file name to clipboardExpand all lines: go/ql/test/library-tests/semmle/go/frameworks/Twirp/RequestForgery.expected
+56Lines changed: 56 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,43 @@
2
2
| server/main.go:30:38:30:48 | selection of Text | rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | server/main.go:30:38:30:48 | selection of Text | The $@ of this request depends on a $@. | server/main.go:30:38:30:48 | selection of Text | URL | rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | user-provided value |
3
3
| server/main.go:30:38:30:48 | selection of Text | server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | The $@ of this request depends on a $@. | server/main.go:30:38:30:48 | selection of Text | URL | server/main.go:19:56:19:61 | definition of params | user-provided value |
| rpc/notes/service.twirp.go:1203:102:1203:103 | definition of in | rpc/notes/service.twirp.go:1203:102:1203:103 | definition of in [Return] | provenance | |
40
+
| rpc/notes/service.twirp.go:1252:98:1252:99 | definition of in | rpc/notes/service.twirp.go:1252:98:1252:99 | definition of in [Return] | provenance | |
41
+
| server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params [Return] | provenance | |
18
42
| server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params [Return] | provenance | |
19
43
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | provenance | |
20
44
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | provenance | |
| rpc/notes/service.twirp.go:477:44:477:51 | typedReq | rpc/notes/service.twirp.go:87:70:87:71 | definition of in | rpc/notes/service.twirp.go:87:70:87:71 | definition of in [Return] | rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq |
94
+
| rpc/notes/service.twirp.go:477:44:477:51 | typedReq | rpc/notes/service.twirp.go:226:66:226:67 | definition of in | rpc/notes/service.twirp.go:226:66:226:67 | definition of in [Return] | rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq |
95
+
| rpc/notes/service.twirp.go:477:44:477:51 | typedReq | server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params [Return] | rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq |
96
+
| rpc/notes/service.twirp.go:495:35:495:44 | reqContent | rpc/notes/service.twirp.go:87:70:87:71 | definition of in | rpc/notes/service.twirp.go:87:70:87:71 | definition of in [Return] | rpc/notes/service.twirp.go:493:2:493:2 | capture variable reqContent |
97
+
| rpc/notes/service.twirp.go:495:35:495:44 | reqContent | rpc/notes/service.twirp.go:226:66:226:67 | definition of in | rpc/notes/service.twirp.go:226:66:226:67 | definition of in [Return] | rpc/notes/service.twirp.go:493:2:493:2 | capture variable reqContent |
| rpc/notes/service.twirp.go:558:44:558:51 | typedReq | rpc/notes/service.twirp.go:87:70:87:71 | definition of in | rpc/notes/service.twirp.go:87:70:87:71 | definition of in [Return] | rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq |
100
+
| rpc/notes/service.twirp.go:558:44:558:51 | typedReq | rpc/notes/service.twirp.go:226:66:226:67 | definition of in | rpc/notes/service.twirp.go:226:66:226:67 | definition of in [Return] | rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq |
101
+
| rpc/notes/service.twirp.go:558:44:558:51 | typedReq | server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params [Return] | rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq |
102
+
| rpc/notes/service.twirp.go:576:35:576:44 | reqContent | rpc/notes/service.twirp.go:87:70:87:71 | definition of in | rpc/notes/service.twirp.go:87:70:87:71 | definition of in [Return] | rpc/notes/service.twirp.go:574:2:574:2 | capture variable reqContent |
103
+
| rpc/notes/service.twirp.go:576:35:576:44 | reqContent | rpc/notes/service.twirp.go:226:66:226:67 | definition of in | rpc/notes/service.twirp.go:226:66:226:67 | definition of in [Return] | rpc/notes/service.twirp.go:574:2:574:2 | capture variable reqContent |
0 commit comments