字号·· | 护眼
thenextweb

Anthropic否认遭入侵,被篡改的Claude Code扩展波及Cursor用户Anthropic denies breach as tampered Claude Code extension hits Cursor users

点「原文对照」整页切到原文,或双击某段只看那段的原文。

图片来源:拉扎尔·斯坦科维奇 / UnsplashCredit: Lazar Stankovic / Unsplash

一份被篡改的 Anthropic Claude Code 扩展在 10 月 29 日星期四的 Cursor 扩展市场中停留约 11 小时。它的下载量最高达到 5,000 名用户。Cursor 在安全通告中称,恶意版本试图在开发者的机器上植入 SSH 后门。

A tampered copy of Anthropic’s Claude Code extension sat in Cursor’s extension marketplace for about 11 hours on Thursday 29 October. It reached up to 5,000 users. The malicious versions tried to plant an SSH backdoor on developers’ machines, Cursor said in a security notice.

Anthropic 表示其系统未被入侵。研究此攻击的安全公司称,该扩展是通过 Anthropic 在 Cursor 上的官方账号发布的。Anthropic 与 Cursor 均未说明攻击者是如何获得访问权限的。

Anthropic says nobody breached its own systems. A security firm that studied the attack says the extension went out through Anthropic’s official account on Cursor. Neither Anthropic nor Cursor has said how the attacker got access.

Cursor 发现的情况:受影响的版本为 Windows 与 macOS 的 2.1.312 和 2.1.313。它们的上线时间约为太平洋时间凌晨 2:27 至下午 1:35。Cursor 于今年早些时候被 SpaceX 收购,声明 Anthropic 并未开发该代码。

What Cursor found The affected versions were 2.1.312 and 2.1.313 for Windows and macOS. They were live from about 2:27am to 1:35pm Pacific time. Cursor, which SpaceX acquired earlier this year, said Anthropic did not develop the code.

该扩展会收集每台机器及其用户的详细信息,包括主机名、用户名、Git 邮箱和公网 IP 地址。随后它尝试添加攻击者的 SSH 密钥并开启计算机的 SSH 服务,还尝试向攻击者的服务器打开反向隧道。

The extension collected details about each machine and its user, including the hostname, username, Git email and public IP address. It then tried to add the attacker’s SSH key and turn on the computer’s SSH service. It also tried to open a reverse tunnel to the attacker’s server.

最后一步需要管理员权限,而该扩展在大多数 macOS 和 Windows 机器上并不具备此权限,因此通常会失败,Cursor 说。但密钥、持久化脚本以及数据上传仍然成功。仅卸载扩展可能不足以将其移除。

That last step needs administrator rights, which the extension lacks on most macOS and Windows machines. So it would usually fail, Cursor said. But the key, the persistence scripts and the data upload still went through. Uninstalling the extension may not be enough to remove them.

我们确认一次安全事件,影响了通过 Cursor IDE 扩展市场访问的被修改的 Claude Code VS Code 扩展,最多波及 5,000 名用户。该恶意版本并非 Anthropic 开发。它不影响从 Grok Bot、Grok 或我们其他 SpaceXSI 产品下载的其他扩展。

We identified a security incident affecting a modified Claude Code VS Code extension accessed through our Cursor IDE extension marketplace, impacting at most 5,000 users. This malicious version of the extension was not developed by Anthropic. It does not impact other extensions downloaded from the Grok Bot, Grok or our other SpaceXSI products.

为此,我们于今日下午下线了扩展市场,联合相关供应商对恶意软件进行中和,并在确认不存在进一步风险后重新上线了市场。

In response, we took down our extension marketplace this afternoon, worked with relevant providers to neutralize the malware, and have reinstated the marketplace after confirming there is no further risk.

如果受到影响,请查看本博文中的说明,了解如何查找恶意软件包并建立缓解任何潜在影响的路径。我们要求所有客户更新到 Claude Code for VS Code 2.1.314 版本:10 月 30 日,Cursor 移除了相关版本,并在检查其他扩展程序期间关闭了整个市场。随后,它轮换了密钥并重新开放了市场。它还让攻击者的服务器下线。

If affected, please review instructions in this blog post to understand how to find the malicious package and establish a path to mitigate any potential impact. We are asking all customers update to Claude Code for VS Code version 2.1.314: October 30, 2026 Cursor removed the versions and shut its whole marketplace while it checked the other extensions. It then rotated its keys and reopened it. It also had the attacker’s server taken offline.

它已发布脚本,用于检查并移除后门。Anthropic:“我们未构建或发布”Anthropic 技术人员 Felix Rieseberg 在一篇帖子中回应称,我们正与 Cursor 共同处理此次事件,但这并非 Anthropic 系统或员工笔记本电脑遭到入侵。一名恶意行为者利用对 Cursor 市场的访问权限,发布了 Claude Code 扩展程序的篡改版本,而我们并未构建或发布该版本。我们官方渠道上的版本未受影响,这仅影响 Cursor 用户。

It has published scripts to check for and remove the backdoor. Anthropic: ‘didn’t build or publish’Felix Rieseberg, a member of Anthropic’s technical staff, responded in a post on We’re working with Cursor on this incident, but it wasn’t a compromise of Anthropic’s systems or employee laptops. A malicious actor used access to Cursor’s marketplace to publish a tampered copy of the Claude Code extension, which we didn’t build or publish. The versions on our official channels are not affected and this only impacts Cursor users.

安全公司 Phorion 首先标记了此次入侵。其联合创始人兼首席技术官 Luke Roberts 向 Ars Technica 表示,攻击者进入了官方分发渠道。

The security firm Phorion first flagged the compromise. Its co-founder and chief technology officer, Luke Roberts, told Ars Technica that the attacker reached the official distribution channel.

“恶意版本 2.1.313 被发布到了官方 Anthropic 账号下,实际上取代了 2.1.312,”Roberts 对 Ars 表示。

“The malicious version 2.1.313 was posted to the official Anthropic account, effectively superseding 2.1.312,” Roberts told Ars.

独立研究员 Kevin Beaumont 也提出了同样的观点,Dan Goodin 为 Ars 报道了此事。Roberts 表示,Cursor 中的扩展程序默认会自动更新。Cursor 已告知用户切换到干净版本 2.1.314。

Independent researcher Kevin Beaumont made the same point, Dan Goodin reported for Ars. Extensions update automatically in Cursor by default, Roberts said. Cursor has told users to move to a clean version, 2.1.314.

Phorion 发现,该恶意软件还发送了最多 40 个与密钥、令牌和密码匹配的环境变量名称,但未发送其值。这使攻击者能够快速列出每台机器上存放哪些云凭据。

The malware also sent the names of up to 40 environment variables matching keys, tokens and secrets, but not their values, Phorion found. That gives the attacker a quick list of which cloud credentials sit on each machine.

今年,针对开发者工具的供应链攻击已袭击了 npm 软件包,研究人员已警告称,AI 编码工具可能会放大此类攻击。

Supply-chain attacks on developer tools have hit npm packages this year, and researchers have warned that AI coding tools could amplify such attacks.

阅读媒体原文 ↗