Claude Code has been handing users’ email addresses to the websites it visits Anthropic's Claude Code AI coding agent was inserting users' account email addresses into the User-Agent header of requests sent to third-party websites, according to a GitHub bug report filed by developer taylor-edwards against Claude Code version 2.1.318 that drew more than 330 thumbs-up and over 1,000 points on Hacker News. Claude Code contributor poteat said the team introduced a built-in mod called `cc-plugin-privacy` to deterministically block the behavior in v2.1.317 and later, enabled by default and switchable via the `/plugins` command, after the team became aware of the problem "a few days ago when this problem started popping off on Reddit." The underlying behavior traces to a July 25 report (issue 81138) that Claude Code adds "The user's email address is " to Claude's instructions every session, and an August change in version 2.1.234 that told Claude to use the address only to identify the user rather than removing it. The Claude Code logo. Image: Anthropic Claude Code, Anthropic’s AI coding agent, has been putting its users’ email addresses into requests it sends to other people’s websites, according to a bug report on GitHub https://github.com/anthropics/claude-code/issues/107757 that has gathered more than 330 thumbs-up and over 1,000 points on Hacker News since it was posted late on Thursday. Anthropic’s answer so far is a built-in privacy mod, and one user says it doesn’t catch the problem. The report was filed by a developer who posts as taylor-edwards, running Claude Code version 2.1.318 on a Mac. They say the agent put their address in the User-Agent header, the line of text a program sends to identify itself to a website, while it was searching the web for them: I receive dozens of scam emails per day because claude code divulged my email to arbitrary 3rd parties in the User-Agent request header while conducting web searches without my permission. taylor-edwards, in the GitHub bug report They want the behaviour removed entirely, not offered as a setting, and say they are moving their company to a rival coding agent. The link to the scam emails is their own account and hasn’t been independently checked. Why Claude knows your email address Claude Code tells the model who you are. A report from July 25 https://github.com/anthropics/claude-code/issues/81138 , still open, quoted the code that reads your account’s address from a settings file and adds it to Claude’s instructions in every session: “The user’s email address is