AI

Tampered Claude Code extension on Cursor marketplace planted persistent SSH backdoors

A malicious actor used access to Cursor’s extension marketplace to distribute a tampered Claude Code extension, Anthropic said. The package, version 2.1.313, was available for about 11 hours on October 29, and security reporting says it could expose up to 5,000 developers to malware that installed persistent SSH backdoors. Anthropic said its systems and employee laptops were not compromised; its official distribution channels were unaffected.

AI-written summary, checked against the cited sources. How summaries work

Image: Ars Technica

Why it matters

Cursor users who installed version 2.1.313 should investigate their systems for the persistent SSH backdoor and follow remediation guidance. The malicious package was not distributed through Anthropic’s official channels or Microsoft Visual Studio Marketplace.

Primary source

Inside a malicious Claude Code-branded extension and its persistent SSH backdoor Microsoft Security Blog

What we know

Confirmed by several sources

Reported by one source

  • Microsoft said the malicious packages were not published through Microsoft Visual Studio Marketplace or npm’s @anthropic-ai/claude-code package. — Microsoft Security Blog
  • The malware was designed for Windows, macOS, and Linux. — The Register
  • The malicious package was found on Open VSX. — Help Net Security

Open questions

  • It is not yet clear how the attacker gained access to Cursor’s marketplace or account. — Ars Technica
  • The number of developers whose machines were actually affected is not established; reports describe up to 5,000 as potentially exposed. — Ars Technica, The Register, BleepingComputer

Coverage 10 publishers

  1. Hacker NewsFirst report

    Official Claude Code Extension Compromise: Security Advisory | Phorion

    Phorion has detected a backdoor in the official Claude Code for VS Code extension bundle on the Cursor Marketplace that drops a persistent SSH backdoor across macOS, Linux, and Windows. This write-up …

  2. The Hacker News

    Official Claude Code Extension on Cursor Marketplace Trojanized with Persistent SSH Backdoor

    Cybersecurity researchers have disclosed that a trojanized version of Anthropic's official Claude Code extension was distributed through the Cursor Marketplace as a legitimate update, attempting to install a persistent SSH backdoor on…

  3. Help Net Security

    Claude Code extension poisoned with persistent SSH backdoor

    A tampered build of Anthropic’s Claude Code extension for VS Code-compatible editors planted an SSH backdoor on developers’ machines, researchers at macOS security firm Phorion have found. The company spotted the malicious package, version…

  4. BleepingComputer

    Malicious Claude Code extension on Cursor planted SSH backdoors

    A malicious version of Anthropic's Claude Code VS Code extension was distributed through Cursor's extension marketplace for approximately 11 hours on October 29, exposing up to 5,000 developers to malware designed to install persistent SSH…

  5. Lobsters

    Anthropic has quietly told Claude Code to stop remaking existing video games

    Claude Code 2.1.314 tells Claude not to build recreations of existing video games, even renamed ones. Original and genre games are still fine.

  6. The Register

    Anthropic: That Claude Code extension compromise… couldn't be us

    Anthropic has denied allegations that a malicious version of the official Claude Code extension published to Cursor’s marketplace was linked to any kind of compromise of its own systems. The company was forced to issue a statement after…

  7. Dark Reading

    Devs Hit by Trojanized Claude Code Extension for Cursor

    Two serious security issues hit Cursor on the same day, highlighting the risks for AI-powered integrated development environments (IDEs).

  8. Ars Technica

    Anthropic VS code extension on Cursor backdoored for nearly 12 hours

    An official extension for Anthropic’s Claude model was backdoored and threatened as many as 5,000 developers' machines, multiple sources reported Friday. Anthropic so far has yet to warn customers of the incident. The compromised package…

  9. Microsoft Security BlogPrimary source

    Inside a malicious Claude Code-branded extension and its persistent SSH backdoor

    In this article Attack chain overviewAttack chainHost reconnaissance collectionSSH authorization and tunnel identitiesProtocol Tunneling (T1572): reverse SSH forwardingPlatform-specific startup persistenceMitigation and protection…

  10. Techmeme

    Anthropic says a malicious actor used access to Cursor's marketplace to publish a “tampered” copy of the Claude Code extension, which it didn't build or publish

    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…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.