Anthropic VS code extension on Cursor backdoored for nearly 12 hours
The compromised build was version 2.1.313 of Anthropic’s Claude VS Code extension. It was distributed through Anthropic’s official account in the Cursor marketplace, making the incident especially serious: users encountered it through a channel that appeared legitimate. A software extension adds capabilities to a host program, and VS Code extensions are used inside that code editor. Here, the package was listed for Cursor, an AI-assisted developer-tools maker. The article reports that the malicious build effectively superseded version 2.1.312. Independent researcher Kevin Beaumont and Phorion CTO and co-founder Luke Roberts both said the upload came from Anthropic’s official Cursor account. Cursor and Anthropic had not explained how attackers gained control of the account. The article does not describe what the malicious code did, leaving the route of compromise unresolved.
What was the compromised version of Anthropic’s extension, and where was it distributed?
The compromised build was version 2.1.313 of Anthropic’s Claude VS Code extension. It was distributed through Anthropic’s official account in the Cursor marketplace, making the incident especially serious: users encountered it through a channel that appeared legitimate.
A software extension adds capabilities to a host program, and VS Code extensions are used inside that code editor. Here, the package was listed for Cursor, an AI-assisted developer-tools maker. The article reports that the malicious build effectively superseded version 2.1.312.
Independent researcher Kevin Beaumont and Phorion CTO and co-founder Luke Roberts both said the upload came from Anthropic’s official Cursor account. Cursor and Anthropic had not explained how attackers gained control of the account. The article does not describe what the malicious code did, leaving the route of compromise unresolved.
How many users could have received the malicious version, and how long was it available?
The reported upper bound was 5,000 users, not a confirmed count of affected machines. The article says the malicious build could have reached that many people if they downloaded it or if their systems fetched and installed it automatically.
The release was version 2.1.313, which appeared in Cursor’s marketplace through Anthropic’s official account. Security researcher Kevin Beaumont reported that Anthropic published version 2.1.314 several hours after 2.1.313 became available on Cursor. That timing suggests an exposure window of several hours, although the source gives no exact start or end time.
Cursor extensions auto-update by default, according to Phorion co-founder Luke Roberts, but users can change that setting. So the potential reach depended on marketplace availability and users’ download or update behavior. The 5,000 figure is an upper estimate; it does not establish how many users actually installed the malicious version or whether each was harmed.
What is a code editor extension, and what can it do on a developer’s machine?
A code editor extension is an add-on that works inside an editor such as Visual Studio Code. Developers use extensions to add or customize features without replacing the editor itself. The source identifies the compromised package as a VS Code extension for Anthropic’s Claude model.
In general, an extension runs as software in the editor’s environment. Depending on its permissions and design, it may interact with open files, a project workspace, editor settings, or tools the developer has connected. That access can make extensions useful, but it also means a malicious one may create risks beyond the editor window.
The article does not say what the compromised extension could access or what its code did. It only reports that version 2.1.313 was malicious and could have reached at most 5,000 users. Those limits matter: the risk of extensions is a general security concern, while the precise actions and effects of this particular package are not described in the source.
How could Cursor’s automatic updates spread a malicious extension to users?
Automatic updates can move a compromised extension from a marketplace to users’ editors without each person making a new download choice. The article says Cursor extensions auto-update by default, though users can configure this behavior in settings.
In this incident, version 2.1.313 was posted to Anthropic’s official Cursor account and effectively superseded version 2.1.312. If a Cursor installation automatically fetched and installed the newer release, its user could receive the malicious version. The source also says users might have received it by downloading it themselves.
The article estimates that at most 5,000 users could have been affected, but it does not give a confirmed installation count. Anthropic pushed version 2.1.314 several hours after the compromised version became available. Automatic updates can deliver fixes quickly, but this case shows they can also spread a bad release. Users could configure updates in Cursor’s settings, according to Phorion’s Luke Roberts.
Why might attackers target cloud credentials stored or used on developers’ machines?
Cloud credentials are login details or access tokens used to reach services hosted by a cloud provider. In general, attackers may seek them because valid credentials can let someone access cloud data, applications, or computing resources. The article’s section heading refers to searching for cloud credentials, but its text does not confirm that any were taken.
Developers may use cloud accounts and tools as part of their work, so credentials available on a developer’s machine could potentially provide a path into connected services. That is general security context, not a reported finding about this extension. The source does not describe what the malicious code attempted, what information it accessed, or whether it succeeded.
What the article does report is a supply-chain compromise: attackers gained access to an official distribution channel and posted version 2.1.313. Up to 5,000 users could have received it. The potential value of credentials helps explain why attackers might target developer environments, but readers should not mistake that possibility for proof that credentials were exposed here.
What is a software supply-chain compromise?
A software supply-chain compromise is an attack on software or on the people, systems, or channels involved in building and delivering it. Instead of approaching every user separately, an attacker may tamper with a trusted component or release path. This definition is general security context; the article describes this incident as a supply-chain compromise.
Phorion CTO and co-founder Luke Roberts said the attacker gained access to the official distribution channel. Version 2.1.313 was posted through Anthropic’s official account on Cursor, effectively superseding version 2.1.312. Since Cursor extensions auto-update by default, users could receive the compromised release through the normal update process.
The article says the malicious version could have affected at most 5,000 users. Anthropic released version 2.1.314 several hours later, but neither Cursor nor Anthropic had explained how the attackers gained control of the account. The incident shows how a breach of a trusted delivery path can put many users at risk, even when they obtain software from an official source.
Why does software security depend on being able to trust the people and channels that deliver updates?
Software security depends partly on trust: users need confidence that the program they install is the one its publisher intended to distribute. They also need confidence in the channel that delivers updates. If that channel or its account is compromised, a release can appear legitimate while containing malicious code. This is general security context that helps explain the incident.
Here, Phorion’s Luke Roberts said an attacker gained access to the official distribution channel. The malicious version, 2.1.313, was posted through Anthropic’s official account in Cursor’s marketplace. Cursor extensions auto-update by default, so users could receive the release without manually selecting it.
The report says at most 5,000 users could have been affected. Anthropic pushed version 2.1.314 several hours after the compromised build appeared. Neither Cursor nor Anthropic had explained how the attackers gained control of the account. The article does not detail what the malicious code did, but it shows why security depends on protecting publisher accounts and the systems that deliver updates.
This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.
Read more in the JupiteX app
Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.
Or read more news on the web