Laptops

Anthropic Claude extension backdoored on Cursor

A malicious update targeted as many as 5,000 developers through a supply chain attack.

Your developer tools might be more vulnerable than you think. A malicious version of the Anthropic Claude extension was distributed through the official account on the Cursor marketplace on Thursday, potentially compromising 5,000 users. The backdoored version, 2.1.313, was available for nearly 12 hours before being replaced by a clean update.

According to Ars Technica, the compromise occurred when an attacker gained access to the official distribution channel. This allowed them to push a malicious update that many users likely received automatically, as Cursor extensions update by default. The issue affects those who downloaded or updated the extension between 5:27 am and 4:35 pm ET on Thursday.

The risk to your source code

The malicious code was designed to install a persistent SSH backdoor across Windows, macOS, and Linux. Because these extensions run with the same permissions as the development environment, they could theoretically access local files, source code, and developer credentials. Phorian CTO Luke Roberts told Ars Technica that the malware could take inventory of cloud credentials and API tokens to prioritize targets.

While some bugs in the malicious code prevented it from working perfectly on all systems, it remains a significant threat. Cursor has since worked with cloud providers to shut down the server the malware was communicating with and audited its marketplace to ensure no other packages were hit.

Why it matters for your workflow

If you are using Cursor, you should verify you are on version 2.1.314 or later. I often tell people they don't need the latest shiny AI tool, and supply chain attacks like this are exactly why. When you grant a third-party extension access to your IDE, you are trusting their security as much as your own. Anthropic has not yet issued a public warning or explained how their account was hijacked.

For those worried about similar issues, you can disable automatic updates in the Cursor settings menu. It is an extra step in your day, but it prevents a compromised server from pushing unvetted code directly onto your machine without you knowing.

  • Anthropic
  • Claude
  • Coding
  • Cursor
  • cybersecurity