Claude Code adds protection against sending users’ email addresses to websites

In an issue posted on November 5, a Claude Code user reported finding their email address in the User-Agent header during web searches. The author linked the disclosure to a stream of phishing emails. The issue received more than 730 positive reactions, although the account did not establish a causal connection between the disclosure and those messages.
Lydia Hallie from the Claude Code team explained the mechanism in a Hacker News discussion and apologized. She said account email addresses had been added to the model’s context after users complained about invented names in @author tags. When writing commands such as curl, the model sometimes inserted the address into User-Agent, the header a program uses to identify itself to a server.
Participants reported encountering this behavior when accessing the US Securities and Exchange Commission’s API. SEC documentation asks automated clients to identify themselves in User-Agent and includes an email address in its example.
From version 2.1.317, the built-in cc-plugin-privacy module blocks these requests and is enabled by default. The team said email addresses would be removed from the model’s context in the next release. An earlier issue, #55743, raised concerns in May about email addresses being included in context without an option to disable that inclusion.
Original source: habr.com ↗
Comments on source platforms
Rank is the maximum of the latest discussion counts. These are source metrics.
Хабр
- Discussion ↗: 0
Measured: 13 Nov 2026, 08:28 UTC
TabNews
- Discussion ↗: 3
Measured: 18 Nov 2026, 01:47 UTC