Claude Code was reported to carry the user's email into request headers; Anthropic says it added a blocking plugin in v2.1.317
小心,Claude Code会擅自泄露你的邮箱!请抓紧时间更新
Anthropic's Claude Code wrote the user's login email into the system prompt, and when the model called external interfaces that required leaving a contact email, it assembled the real email into the request header and sent it out on its own; engineer Lydia Hallie apologized on November 6 and explained the cause. On July 25, a developer decompiled v2.1.220 and found that the client read the login email from local configuration on every startup and assembled it into the prompt, while IS_DEMO, which the official recommendation said to enable during livestreams, only blocked the display of interface text and did not clean the model context; at least 4 tickets submitted by the community since April were closed by a bot on the grounds of inactivity or duplication. As for fixes, v2.1.246 only appended natural-language reminders, v2.1.289 stuffed the reminder into the system tag of every tool call, and only v2.1.317 added a built-in plugin that is enabled by default and uses deterministic rules to block requests containing an email; the latest version is v2.1.319.
The material sorts through the tickets submitted by the community since April and the July decompilation report, making it possible to see the handling trajectory of this email-leakage issue from long being overlooked to the rollout of a blocking plugin.