Open question

Claude Code put the user's email in request headers, including subagent calls

A user reported that Claude Code put their email address in the User-Agent header of the requests it made, including routine ones run by subagents. Four days and one partial fix later, the issue stays open.

Logged 11 Nov 2026

What was reported

On 5 November a reporter opened issue 107757 against the Claude Code repository, describing web searches that carried an identifying value in the User-Agent header. The reporter wrote that they now receive "dozens of scam emails per day" because the tool divulged their address to arbitrary third parties without permission. No captured request log was attached.

The issue carries the bug, macOS, tools and security labels, and it has drawn more than a hundred comments. It remains open as of 9 November, four days after it was filed and after one shipped fix. That open state is the part that matters.

The partial fix

Anthropic's reply points to a built-in mod called cc-plugin-privacy, said to block the behaviour from version 2.1.317 onward. The mod's own README is plainer about the limits, calling itself a courtesy rather than a boundary and conceding that the check covers only one shape of the problem. A narrow promise.

The README states that WebFetch and WebSearch are not checked, and neither are MCP tools, so the covered path is far narrower than a reader of the reply might assume. It describes the test as two word matches over the whole input, with no parser on purpose. Reporters on 2.1.318 still describe the behaviour as unfixed, while the stable npm channel sits at 2.1.311 and the latest publish is 2.1.322. Two version stories.

Log take: no captured request log proves an email left after 2.1.317, so the leak is reported rather than established, and what is established is a fix narrower than its announcement. The mod closes a single shape of the problem and leaves the rest untouched, which is the gap worth watching. The evidence is thin.

Sources

Research