Claude Code 被指把用户邮箱写入网页请求的 User-Agent
Claude Code was reported to leak user email addresses in website User-Agent headers
一份获 HN 1,366 分的开放 issue 称,Claude Code 把用户邮箱写进了发给网站的 User-Agent[1]。问题发生在未经用户同意执行网页搜索时,编码 Agent 的工具边界因此暴露:网页抓取本应只发送完成任务所需的最少信息,请求来源不应绑定个人身份。参考价值是 Agent harness 必须默认最小化客户端元数据,并由用户控制外发字段;限制是报告来自单个用户环境,Anthropic 尚未在公开正文中说明是否复现或计划修复。
An open issue with 1,366 Hacker News points says Claude Code put user email addresses into User-Agent headers sent to websites[1]. The report concerns web searches performed without consent, exposing a coding-agent tool boundary: retrieval should transmit only information required for the task, and request attribution should not carry personal identity. The reference is that agent harnesses must minimise client metadata by default and let users control outbound fields; the limitation is that the report comes from one user environment, and Anthropic has not stated publicly whether it reproduced the behaviour or plans a fix.