NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedCybersecurity

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

Starting with version 2.1.317, a built-in module blocks requests in which Claude Code sends a user’s email address to websites in the User-Agent header.

Published: 25 Nov 2026, 15:00 UTC
A shield stops an envelope symbol along a network path from an abstract terminal to websites.
Illustration: protecting an email address from disclosure in a coding assistant’s outgoing requests.

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.

Хабр

TabNews