Skip to content
Query Squire QS markQSQuerySquire
Model watch

Anthropic’s Cursor extension version 2.1.313 contained SSH backdoor code for 12 hours

A malicious update to Anthropic’s official Cursor extension attempted to install persistent SSH access on developer machines before being replaced.

Depth
1 outlet · newest source 845h ago
Anthropic’s Cursor extension version 2.1.313 contained SSH backdoor code for 12 hours

Key points

  • Version 2.1.313 of the Anthropic Claude extension was distributed via the official Cursor marketplace account.
  • The code attempted to add an attacker-controlled SSH key and open a reverse tunnel on Windows, macOS and Linux.
  • Anthropic replaced the version with 2.1.314, but has not yet issued a public warning to customers.

Anthropic distributed a backdoored version of its Claude extension, identified as version 2.1.313, through its official account on the Cursor marketplace, according to reports published by Ars Technica. Both Beaumont and Phorian co-founder Luke Roberts verified that the distribution occurred via Anthropic’s verified account, though the mechanism for account takeover remains unexplained by either Cursor or Anthropic.Version 2.1.313 of Anthropic’s Cursor extension, distributed via the official marketplace account, contained a payload attempting to establish persistent SSH access.

Evidence: reportedAnthropic VS code extension on Cursor backdoored for nearly 12 hours

aifleet-ars

How we got here

The incident began when attackers gained control of the distribution channel for Anthropic’s VS Code extension. They posted version 2.1.313, which effectively replaced the previous version 2.1.312. Because Cursor extensions are configured to auto-update by default, systems likely fetched and installed the malicious code without user intervention. The affected user base is estimated at a maximum of 5,000 developers who either downloaded the update or had it installed automatically during the exposure window.

What is new

Cursor disclosed that the code in version 2.1.313 attempted to install a persistent SSH backdoor. The payload was designed to work across Windows, macOS and Linux operating systems. It aimed to collect host information, including hostnames, usernames, OS details, environment variables and configured Git emails. Crucially, the code tried to add an attacker-controlled SSH key to the authorized_keys file, enable the local SSH service and establish a reverse SSH tunnel to the attacker’s infrastructure.

Evidence: reportedAnthropic VS code extension on Cursor backdoored for nearly 12 hours

aifleet-ars

What changes, what does not

Anthropic has not yet issued a public notice to customers regarding this supply-chain compromise. Cursor stated that, outside of highly unusual circumstances where Cursor was started with administrator privileges, the specific step to add the SSH key would fail due to errors in the malicious code. However, because extensions run with the permissions of the Integrated Development Environment, the backdoored version would likely gain access to local files, source code and developer tooling once installed, regardless of the SSH key failure.

In practice

Users should verify whether their systems received version 2.1.313 between the time it was posted and when 2.1.314 was released. Since auto-updates are enabled by default in Cursor, many installations may have received the code. Anthropic’s silence on the matter leaves users without official guidance on remediation steps or confirmed scope beyond the estimated 5,000 users.

Evidence: reportedAnthropic VS code extension on Cursor backdoored for nearly 12 hours

aifleet-ars

Why it matters

  • The compromise of a vendor’s official distribution channel demonstrates that verified accounts in IDE marketplaces are not immune to supply-chain attacks.
  • Default auto-update settings in development tools can propagate malicious code quickly, affecting thousands of users before detection.
  • Even if specific payloads fail due to coding errors, the installation of untrusted code grants access to local source code and environment variables.
  • The lack of immediate public notification from the vendor leaves users to rely on third-party reports for incident awareness and timeline details.

Topics: Anthropic, Cursor, supply chain, SSH, developer tools

Updated

Then / now / next

Then

Version 2.1.312 was the latest safe version of the Anthropic Claude extension.

Now

Version 2.1.314 has replaced the backdoored 2.1.313 on the Cursor marketplace.

Next

Analysts are waiting for Anthropic or Cursor to explain how attackers accessed the official account.

Story timeline

  1. Then Version 2.1.312 was the latest safe version of the Anthropic Claude extension.
  2. 30 Oct 2026 Anthropic VS code extension on Cursor backdoored for nearly 12 hours
  3. Now Version 2.1.314 has replaced the backdoored 2.1.313 on the Cursor marketplace.
  4. Next Analysts are waiting for Anthropic or Cursor to explain how attackers accessed the official account.

The strongest doubt

Counterpoint from the sources

Phorian noted that the SSH key installation step would fail in most cases due to errors in the malicious code, suggesting the immediate risk of remote SSH access was lower than the code’s intent.

Ask the article

Local keyword search of this article; no generated answers.

Did this article give you the evidence you needed?

No vote saved on this device.
Your choice stays on this device. No public tally.

Terms in this story

Reverse SSH tunnel

A type of network tunnel that allows remote access to a local machine through an external server.

Supply-chain compromise

An attack where malicious code is inserted into a legitimate software component during development or distribution.

Authorized_keys

A file on Unix-like systems that lists the public keys allowed to log in to a user account.

Questions readers ask

Which version of the extension was compromised?

Version 2.1.313 of the Anthropic Claude extension was backdoored.

Did the SSH backdoor successfully install on user machines?

The attempt to add the SSH key likely failed for most users due to code errors, unless Cursor was run with administrator privileges.

How many users were potentially affected?

At most 5,000 users are believed to have received the malicious version.

Connected stories

This storyiOS 27.3 betas unlock Siri AI integration for all developers via App Intents frameworkiOS 27.3 betas unlock Siri AI inAustralia joins US-led AI supply chain pact ahead of Quad summit in ManilaAustralia joins US-led AI supplyAnthropic IPO timing may hinge on December compute costs, Fast Company reportsAnthropic IPO timing may hinge oAnthropic adds self-hosted Managed Agents to infrastructure optionsAnthropic adds self-hosted Manag

Reading receipt

  • Version 2.1.313 of the Anthropic Claude extension was distributed via the official Cursor marketplace account.
  • The code attempted to add an attacker-controlled SSH key and open a reverse tunnel on Windows, macOS and Linux.
  • Anthropic replaced the version with 2.1.314, but has not yet issued a public warning to customers.

Still open: How did attackers gain access to Anthropic’s verified Cursor marketplace account?

Still open: Has Anthropic provided any internal guidance to users about checking for the malicious version?

Time spent: 0:00 · Depth: Full

Sources

  1. Ars Technica AI

Related stories

Background reading