Anthropic's Claude Code AI programming agent transmitted users' email addresses to third-party websites without consent, causing widespread spam complaints.
Users discovered that during web searches the tool included their email in the User-Agent request header. Additional reports indicated that Claude Code extracted the email of logged-in accounts and appended it to the model’s system prompt for every session before sending requests to external sites.
Multiple bug reports were filed on GitHub over recent months, with users stating they received dozens of scam emails daily after adopting the tool. One user noted a sharp rise in spam on their work mailbox compared with previous use of Copilot. Similar confirmations appeared on Hacker News.
Users argued that exposing account emails should never be an optional feature and should not occur at all. On 2 November 2026, Anthropic released version 2.1.317, which now prompts for explicit permission before forwarding the email address to websites or other parties.
