Skip to content
Future Frontpage FF markFFFUTUREFRONTPAGE

The AI developments that belong on page one.

Foundation models

Malicious Claude Extension Version 2.1.313 Attempted to Install Reverse SSH Tunnel on Developer Machines

A compromised update to Anthropic’s official Cursor extension attempted to establish persistent remote access for up to 5,000 users across multiple operating systems.

Key points

  • The malicious version 2.1.313 was distributed via Anthropic’s official account on the Cursor marketplace.
  • Attackers attempted to install a persistent SSH backdoor by adding an unauthorized key and opening a reverse tunnel.
  • Cursor reported that the exploit would fail on most systems due to code errors and lack of administrator privileges.
Malicious Claude Extension Version 2.1.313 Attempted to Install Reverse SSH Tunnel on Developer Machines
Depth
1 outlet · newest source 114h ago

Ars Technica reported on Friday that an official extension for Anthropic’s Claude model was compromised, potentially affecting as many as 5,000 developers. The incident involved a supply-chain attack where the malicious package was published through Anthropic’s official account on the Cursor marketplace. Cursor confirmed that the compromised extension, version 2.1.313, was distributed before a clean update, version 2.1.314, was pushed several hours after the previous version became available. It remains unclear how the attackers gained control of the official distribution channel.

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

aifleet-ars

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

aifleet-ars

The figures

Behind the figures

Independent researcher Kevin Beaumont identified the timeline of the malicious version's availability and the subsequent patch. Luke Roberts, CTO and co-founder of security firm Phorian, confirmed that version 2.1.313 was posted to the official Anthropic account, superseding the previous safe version. Cursor stated that extensions auto-update by default in their environment, which likely contributed to the spread. The company noted that users can configure automatic updates in their settings, potentially limiting exposure for some.

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

aifleet-ars

What it means for your stack

The malicious code attempted to collect host information, including hostname, username, OS architecture, and environment variables. It also tried to add an attacker-controlled SSH key to authorized_keys and enable a local SSH service. Because Cursor extensions run with the permissions of the Integrated Development Environment, the backdoored version likely would gain access to local files and source code once installed. However, Cursor noted that due to errors in the malicious code, this step would fail outside of highly unusual circumstances where Cursor was started with administrator privileges.

Building on this

Developers should audit their Cursor extension settings to verify automatic update configurations, as this mechanism facilitated the rapid installation of the malicious version. The incident highlights the risk of supply-chain compromises in official vendor accounts; even extensions from official accounts can be targeted. Engineers should monitor for unexpected SSH keys or reverse tunnel connections on their development machines. Since the backdoor code was written for Windows, macOS, and Linux, cross-platform teams should ensure consistent security monitoring. The lack of a public notice from Anthropic suggests that internal detection and vendor response times may vary.

Why it matters

  • The compromise of an official vendor account demonstrates that trust in marketplace signatures is insufficient without additional integrity checks.
  • The potential exposure of environment variables and source code poses significant risks to intellectual property and credential security.
  • The failure of the exploit due to code errors indicates that not all supply-chain attacks result in full system compromise, but residual risk remains.
  • The absence of a public warning from Anthropic highlights the importance of independent researcher monitoring for timely incident disclosure.

Topics: Cursor, Anthropic, supply chain security, IDE extensions, SSH backdoor

Updated

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.

Questions readers ask

Did Anthropic confirm how the attackers accessed their account?

No, neither Cursor nor Anthropic has explained how the attackers gained control of the official distribution account.

What specific data did the malicious extension attempt to collect?

It attempted to collect hostname, username, OS, architecture, home directory path, environment variable names, working directories, configured Git email, and public IP.

Is a fix available for the compromised extension?

Yes, Anthropic pushed version 2.1.314, which replaced the malicious version 2.1.313 on the Cursor marketplace.

Connected stories

This storyAI IPO filings surge as Amazon and Alphabet shares slump on infrastructure cost fearsAI IPO filings surge as Amazon aAnthropic launches election war room as AI firms pledge midterm safeguardsAnthropic launches election war AI executives face public doubt over personal-use claims as Anthropic prepares for listingAI executives face public doubt Anthropic Prospectus Risks Omit Scaling Cost Concerns for AI DevelopersAnthropic Prospectus Risks Omit

Reading receipt

  • The malicious version 2.1.313 was distributed via Anthropic’s official account on the Cursor marketplace.
  • Attackers attempted to install a persistent SSH backdoor by adding an unauthorized key and opening a reverse tunnel.
  • Cursor reported that the exploit would fail on most systems due to code errors and lack of administrator privileges.
Time spent: 0:00 · Depth: Full

Sources

  1. Ars Technica AI

Related stories