Event ·Multi-source

Anthropic 回应 Claude Code 暗藏检测中国用户代码,明日更新删除

用户 LegitMichel777 逆向分析 Claude Code 2.1.196 版本时发现自 2.1.91 版本起内置检测中国用户的机制。该机制检查系统时区是否为 Asia/Shanghai 或 Asia/Urumqi,并匹配含 147 条域名的清单,包括百度、阿里巴巴、字节跳动、月之暗面等。检测结果通过替换日期格式和 Unicode 字符(U+2019、U+02BC、U+02B9)编码在系统提示词中,代码使用了密钥为“91”的 XOR 混淆。Anthropic 团队成员 Thariq Shihipar 回应称这是 2026 年 3 月上线的实验性措施,用于防止账户转售和模型蒸馏攻击,将在 7 月 2 日更新中删除。

Current read

Claude Code 被曝偷偷检测中国用户时区和域名,代码藏得够深,Anthropic 承诺明天删,值得一看。

11 sources76° AI heatLast updated 2026/7/1 07:41:45

Evidence

11 sources
Related source 3SuperTechFans
View source
Related source 4@koltregaskes
View source
Related source 9Claude Code: GitHub Releases
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.