How Long the Malicious Version Stayed on the Marketplace
On October 29, 2026, it became known that two versions of Anthropic's Claude Code tool — 2.1.312 and 2.1.313 — were distributed in a maliciously altered form on Cursor's VS Code extension marketplace. The notice was published that same day on Cursor's blog, and the next day Ars Technica wrote about the incident.
The malicious copy was available on the marketplace on October 29 from about 2:27 a.m. to 1:35 p.m. Pacific Time, a window of roughly 11 hours. Those 11 hours are the period during which the malicious copy was open for download: a user who installed the extension during that window may have received exactly that malicious copy.
Cursor's security notice of October 29, 2026 states that the maliciously altered versions 2.1.312 and 2.1.313 were not developed by Anthropic.
This point defines the essence of the incident: the distribution channel and the developer are different. The extension was distributed on Cursor's marketplace, but its malicious copies were not created as an Anthropic product. That is why the notice draws a separate distinction between both the source and the question of authorship: the name a user saw may not match the real origin.
How the Backdoor Was Meant to Work
According to Cursor's notice, the malicious code attempted to install a persistent SSH backdoor. It collected information about the host and the user, then tried to add an attacker-controlled SSH key to the authorized_keys list — the list that stores the keys permitted to log in over SSH. The key was labeled svc-telemetry.
At the same time, the code attempted to enable the local SSH service and open a reverse SSH tunnel. Cursor described this combination of actions as an attempt that goes beyond a single installation and is aimed at preserving access later on. The notice presents exactly this sequence — information gathering, adding a foreign key, enabling the service, and opening a tunnel — as an attempted backdoor installation.
SSH appears here as a remote-access tool: if the key lands in the list and the service is enabled, the groundwork is laid for connecting to the system from outside. A reverse tunnel changes the direction of the connection — instead of the outside party reaching directly into the internal system, the system itself connects to an external server. The notice mentions precisely these two elements of the mechanism — the key and the tunnel — together.
What Is Known About the Scope of Impact
In its October 30, 2026 report, citing a statement from Cursor, Ars Technica wrote that at most 5,000 users were affected by the malicious version. The phrase "at most" means this number is an upper bound: Cursor assessed that the impact did not exceed that level. This figure is presented as a Cursor statement relayed through Ars Technica, not as an independently confirmed final victim count.
In terms of timing, the incident spanned two days: Cursor published its official notice on October 29, and Ars Technica covered the statement about the scope of impact on October 30. The primary source and its coverage thus exist as two separate sources counted individually in the fact pack.
How Cursor Responded
Cursor removed the malicious version from the marketplace and, as a precaution, temporarily shut down the entire marketplace. The company audited access permissions and confirmed that no other extension had been compromised — this audit result is noted separately in the notice.
In addition, Cursor rotated its keys, rebuilt the marketplace, and worked together with its hosting provider to take down the attacker's server. The notice says the server was taken down, meaning one part of the malicious infrastructure was put out of operation. This list of measures is not limited to a single action: removal, shutdown, audit, key rotation, rebuild, and server takedown were carried out one after another.
Why Removing the Extension May Not Be Enough
Cursor's notice warns separately that removing the extension may not be enough. The reason is that the malicious payload leaves behind independent persistence scripts, and these scripts keep running even after the extension is removed.
The notice gives specific examples for two platforms: a LaunchAgent on macOS and a scheduled task on Windows. In other words, the persistence mechanism does not depend on the extension itself, but on the operating system's automatic startup mechanisms. The incident therefore cannot be considered closed by removal from the marketplace alone — Cursor's own notice stresses this point.
The word "independent" carries the key meaning here: the script lives separately from the extension's files, so removing the extension does not automatically stop it from running. It is precisely because of this independence that the notice says removal alone may not be enough — the issue is not the extension, but the script that remains on the system after it.
Sources: Cursor security notice, Ars Technica report




