AI 编程 4.0 · 优秀 2026-11-05 · GitHub

Claude Code sends your email address to websites via User-Agent header

一份针对 claude-code v2.1.318 的公开 bug 报告(2026-11-05 提交,HN 250+ 分)称:CLI 在执行网页搜索发起请求时,把用户邮箱地址放进 User-Agent 请求头,暴露给任意第三方网站;报告者称由此每天收到几十封诈骗邮件,并主张应从 harness 中彻底移除该标识,而不是做成 opt-in/opt-out 设置评论区基本在讨论隐私处理而非反驳报告本身;在上游确认前应视为未经证实的报告这是智能体 harness 流量向其触碰的每个网站标识用户身份的典型案例,涉及智能体隐私设计指纹识别与企业部署

打开原文回到归档

Claude Code sends your email address to websites via User-Agent header

  • ID: 3b58ffb3
  • 原文链接: https://github.com/anthropics/claude-code/issues/107757
  • 作者: taylor-edwards
  • 日期: 2026-11-05
  • 更新: N/A
  • 分类: agents
  • 来源类型: github
  • 标签: agent-security, privacy, claude-code, user-agent, agent-harness
  • 质量评分: 4/5
  • 抓取时间: 2026-11-06T04:25:51Z

中文导读

一份针对 claude-code v2.1.318 的公开 bug 报告(2026-11-05 提交,HN 250+ 分)称:CLI 在执行网页搜索发起请求时,把用户邮箱地址放进 User-Agent 请求头,暴露给任意第三方网站;报告者称由此每天收到几十封诈骗邮件,并主张应从 harness 中彻底移除该标识,而不是做成 opt-in/opt-out 设置评论区基本在讨论隐私处理而非反驳报告本身;在上游确认前应视为未经证实的报告这是智能体 harness 流量向其触碰的每个网站标识用户身份的典型案例,涉及智能体隐私设计指纹识别与企业部署

为什么值得关注

一份针对 claude-code v2.

关键信息

  • 标题:Claude Code sends your email address to websites via User-Agent header
  • 作者:taylor-edwards
  • 发布时间:2026-11-05
  • 关联标签:agent-security, privacy, claude-code, user-agent, agent-harness

原文要点

  • Issue #107757, state: open, 36 comments, filed 2026-11-05 by taylor-edwards against claude-code v2.1.318 (darwin, tmux).
  • Reporter (verbatim): “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.”
  • Reporter requests removal of the email-bearing User-Agent from the harness entirely rather than opt-in/opt-out, calling it “a goldmine for scammers”.

English Summary

An open bug report against claude-code v2.1.318 (filed 2026-11-05, 250+ points on Hacker News) alleges the CLI includes the user's email address in the User-Agent header of requests made during web searches, exposing it to arbitrary third-party sites; the reporter links this to dozens of scam emails per day and argues the identifier should be removed from the harness entirely rather than offered as an opt-in/opt-out setting. Comments largely debate the privacy handling rather than dispute the report; treat as unconfirmed until acknowledged upstream. A concrete instance of agent-harness traffic identifying users to every site an agent touches - relevant to agent privacy design, fingerprinting, and enterprise deployment.

Obsidian Notes

  • opencli web read 导航被拒,改用 GitHub REST API 拉取 issue 元数据与正文。
  • 要点与引文锚定在 issue 原始正文与元数据,未添加外部推断。