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
{{ message }}
Repository navigation
Feedback tool arguments are recorded unscrubbed on MCP spans #27181
The feedback tool removes tokens and email addresses from a report before sending it as User Feedback. With MCP input recording on, which is the default, the span of the same tools/call gets the raw arguments as mcp.request.argument.*, so the scrubbing only covers half of what we send.
feedback message: "Task: refund\n\nCalled with key [REDACTED_API_KEY] for [REDACTED_EMAIL] and it broke"
span attribute: mcp.request.argument.description = "Called with key sk-abcdefghijklmnopqrstuvwxyz0123 for me@example.com and it broke"
Reproduced on Node with mcpFeedbackIntegration on MCP SDK v1 and v2. Turning off dataCollection.mcp.inputs removes it, but that drops the arguments of every other tool too.
Fix: record the feedback tool's arguments on the span with the same scrubbing as the report, or leave them off.
Activity
linear-code commentedon Dec 4, 2026
JS-4233
logaretm commentedon Dec 4, 2026
This is expected, as per our data collection spec, if the user turns it off then it works as expected.