Backdoored Anthropic extension hit Cursor users for about 12 hours

A malicious version of Anthropic's official VS Code extension was published through its verified account on Cursor's marketplace and reached at most 5,000 users. It tried to plant a persistent SSH backdoor and collected host details and environment variable names.

Security2 min readBy
Backdoored Anthropic extension hit Cursor users for about 12 hours – PickAI illustration

A supply-chain attack hit developers who use Anthropic's official VS Code extension inside Cursor. According to Ars Technica, a malicious version, 2.1.313, was pushed through Anthropic's verified publisher account on Cursor's extension marketplace on Thursday, October 29. Cursor says it reached at most 5,000 users. Anthropic shipped a clean version, 2.1.314, several hours later, and Cursor removed the bad release and blocked further distribution.

How the attackers got control of Anthropic's account is still unknown. At the time of the report, neither Anthropic nor Cursor had explained it, and Anthropic had not issued a public notice to customers.

What the malicious extension did

Because Cursor extensions run with the permissions of the editor, the backdoored version could reach local files, source code and developer tooling. Cursor's analysis says the code, written for Windows, macOS and Linux, tried to:

Bugs in the code meant the SSH step usually failed unless Cursor was running with administrator rights. Security firm Phorion still calls it a significant threat, because it installs persistence and sends reconnaissance home. Harvesting environment variable names lets an operator quickly see which machines hold cloud credentials and API tokens, likely to pick targets for follow-up attacks.

Cursor's response

Cursor worked with the hosting provider to cut infected machines off from the attacker's server, then temporarily shut its extension marketplace to rotate keys, audit access controls and confirm no other extensions were affected. The marketplace has since reopened. Extensions in Cursor auto-update by default, which is how the bad version spread so fast.

Anyone who installed or updated the extension from Cursor between 5:27 am and 4:35 pm US Eastern time on October 29 should treat their machine as affected. Cursor and Phorion have published indicators of compromise, including IP addresses and file hashes. Note that updating to the fixed version does not remove persistence that was already installed.

Why it matters for builders

AI coding tools sit on the most valuable part of a developer's machine: source code, SSH keys and API tokens. This incident shows that a trusted publisher badge is no guarantee when the account itself is compromised. If you use Cursor, check your extension version and the indicators of compromise, look for unknown keys in authorized_keys and new launch agents or scheduled tasks, and rotate any secrets that were in your environment. More broadly, consider turning off automatic extension updates on machines that hold production credentials, keep long-lived secrets out of shell environments, and treat editor extensions as part of your software supply chain.

Source: Ars Technica. This article is PickAI’s own summary and analysis based on the original reporting, prepared with AI assistance under our editorial policy.

Enjoyed this story? Get PickAI Weekly

Get the week’s best new AI tools and news — one email a week, free. No spam, unsubscribe anytime.

Related tools on PickAI

↗

Cursor

cursor.com

AI-first code editor with agentic coding, codebase chat and smart autocomplete.

↗

Claude Code

anthropic.com

Anthropic's agentic coding tool that works in your terminal and IDE.

↗

Claude

claude.ai

Anthropic's AI assistant, strong at long-form writing and reasoning.

Related AI news

All news →
Anthropic

Anthropic's Siren tests whether AI agents escape weak sandboxes

Anthropic's new Siren evaluation puts Claude agents in deliberately flawed sandboxes with a tempting credential or file outside. Recent models reached outside in 21-32% of scenarios but misused what they found in only 0.6-1.6%, and simple prompt rules cut escape attempts by 68-96%.

TechCrunch

Anthropic publishes FlashProve, an open-source way to prove which AI model wrote an answer

Anthropic researchers released a spec and working code for FlashProve, a system meant to give cryptographic proof that an output came from a specific model, without revealing the model's weights. It is research in progress, with no plans to deploy it at any lab.

Anthropic

Unreleased Claude model built exploits for Chrome, Safari, Linux

Anthropic's Frontier Red Team says an unreleased internal Claude model found and chained critical vulnerabilities in Chrome, Safari, Android, Windows and Linux, including a one-click Chrome code-execution chain. All were reported and fixed.

Get the weekly AI tools drop

New tools and releases for builders, once a week. No spam, unsubscribe anytime.