Claude Code was putting users' email addresses in web-request headers — fix shipped, gaps reported
A bug report filed on November 5 in Anthropic's claude-code GitHub repository (issue #107757) says Claude Code sent the signed-in account's email address in the User-Agent header of web requests the agent triggered, exposing the address to arbitrary third-party sites and their server logs. The reporter links the leak to receiving dozens of scam emails a day and argues the behaviour should be removed from the harness entirely, not made a setting.
An Anthropic contributor replied the same day that a built-in mod, cc-plugin-privacy, introduced in version 2.1.317, deterministically blocks the behaviour and is enabled by default. Follow-up reports say the coverage is incomplete: the mod does not govern network scripts the agent writes and runs itself, at least one user on version 2.1.318 reports a test header still passing, and a separate issue open since July (#81138) documents the same email address being injected into the model's system prompt.
An independent test of the published fix code, posted November 6, ran 23 leak shapes against it: the exact reported leak is blocked, but 8 other shapes passed through. The GitHub issue remains open, and Anthropic staff say they are also removing the account email address from the context Claude Code gives the model.