AI 编程 4.0 · 优秀 2026-11-02 · 文章

Cursor marketplace compromise of Claude Code extension: official security notice

Cursor 官方公告确认:10 月 29 日 2:2713:35(太平洋时间)间,其市场上的 Anthropic.claude-code 2.1.312/2.1.313 为带后门版本回传主机信息,把备注 svc-telemetry 的攻击者公钥写入 authorized_keys;多数机器因 sshd 需管理员权限而幸免约 5,000 名用户受影响;Anthropic 系统未被入侵,攻击者滥用的是市场发布权限,官方渠道无恙排查:grep svc-telemetry ~/.ssh/authorized_keys,命中按官方脚本清持久化换钥匙,只卸载扩展不够

打开原文回到归档

Cursor marketplace compromise of Claude Code extension: official security notice

中文导读

Cursor 官方公告确认:10 月 29 日 2:27–13:35(太平洋时间)间,其市场上的 Anthropic.claude-code 2.1.312/2.1.313 为带后门版本——回传主机信息,把备注 svc-telemetry 的攻击者公钥写入 authorized_keys;多数机器因 sshd 需管理员权限而幸免。约 5,000 名用户受影响;Anthropic 系统未被入侵,攻击者滥用的是市场发布权限,官方渠道无恙。排查:grep svc-telemetry ~/.ssh/authorized_keys,命中按官方脚本清持久化、换钥匙,只卸载扩展不够。

English Summary

Cursor's official security notice confirms that Anthropic.claude-code builds 2.1.312 and 2.1.313 published to its VS Code marketplace between 02:27-13:35 PT on October 29 were backdoored: they collected hostname, username, Git email, and public IP, appended an attacker public key (comment svc-telemetry) to authorized_keys, and installed persistence with a reverse SSH tunnel; the sshd enablement step typically failed without admin rights. Cursor estimates ~5,000 users affected. Anthropic says its own systems were not breached - the attacker abused marketplace publishing rights; official-channel builds are clean. Detection: grep -qs svc-telemetry ~/.ssh/authorized_keys; on a hit, run the official cleanup to remove persistence and rotate SSH keys - uninstalling the extension is insufficient.

关键信息

  • 事实面经 DevRadar 2026-11-01 摘要、Cursor 官方公告标题与路透社转述(约 5,000 名用户)交叉核对;官方公告正文未直接抓取
  • 事件窗口:2026-10-29 02:27-13:35 PT
  • HN 讨论(含 Anthropic 员工澄清):news.ycombinator.com/item?id=50300683