Commit b92e99f
fix(graphql): publish apm:graphql:resolve:start for IAST taint tracking
The IAST plugin subscribes to 'apm:graphql:resolve:start' to taint
resolver args when they originate from a tainted query source (e.g.
hardcoded query literals like books(title: "ls")). The orchestrion
resolve.js was only publishing to the AppSec channel, so IAST never
received field args for hardcoded arguments — only variable args were
tainted via HTTP request body tracking.
Publish { rootCtx, args, info, path, pathString } to the IAST channel
from bindStart to restore parity with the shimmer instrumentation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6c4c132 commit b92e99f
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| |||
0 commit comments