tail -f

$ cat blog/2026-11-15.md

Cursor breach put a backdoored Claude Code extension in its store

Cursor says stolen credentials let attackers serve fake Claude Code extension builds to up to 5,000 developers. PyPI's new pages show how registries can flag such swaps.

Cursor has published an incident report, dated 13 November according to BleepingComputer, explaining how attackers got far enough into its systems to plant malicious copies of Anthropic's Claude Code extension in the marketplace its editor uses. The tampered builds, versions 2.1.312 and 2.1.313, were served on 29 October for about 11 hours. Cursor estimates that up to 5,000 developers who requested those versions in that window may have received them.

The chain started far from the editor, with an access key held by an AI infrastructure provider, and ended on developer laptops. It is a clear example of how a leaked credential in one company's training data pipeline can turn into a supply chain attack on everyone downstream.

From a provider's key to the extension cache

According to Cursor, the attackers first obtained an access key stored at Fireworks AI, a third party Cursor used for model training and inference. With it they copied a read-only storage bucket Cursor used to exchange data with Fireworks. That bucket held historical coding-agent traces, mostly from 2025, from users who had not turned on Privacy Mode. Some of those traces contained API credentials that had never been redacted.

Those credentials opened other doors. The attackers took archived non-production source code repositories, some support emails, product usage metrics, customer contact details, summaries of some agent conversations, and credentials customers had handed to Cursor's support team. Cursor says fewer than 0.05% of users had traces exposed and fewer than 0.01% of customers had API credentials compromised. Its monitoring caught the activity and the company revoked the Fireworks key and rotated credentials, but by then the attackers already held one that let them publish to the marketplace cache.

Cursor stresses that Anthropic's genuine extension and Open VSX, the marketplace it draws from, were not compromised. The fake copies were placed directly on the cache that serves Cursor's own extension marketplace. Production infrastructure, official app releases, customer code repositories, and code and prompts from Privacy Mode users were also unaffected, the company says.

What the fake extension did

BleepingComputer reports that the modified extension ran malicious JavaScript that gathered system information, added an SSH key controlled by the attacker, tried to switch on SSH access and set up persistence. Researchers found bugs that probably stopped the backdoor from working on many Windows and macOS machines where SSH was not already enabled, which limits the damage but is no reason to skip checking.

Cursor has since moved its inference traffic off Fireworks, rebuilt the extension marketplace and redeployed production infrastructure. BleepingComputer places the incident in a wider run of October attacks on AI developer platforms that Wiz calls "Black October", which also hit Railway, Northflank, Lightning AI, OpenCode and Warp, mostly to steal credentials for AI model access.

Registries are starting to show where a release came from

A swapped build in a trusted store is exactly the kind of problem PyPI is trying to make visible. PyPI has announced that a redesign of its project pages is live, work funded by the Open Source Security Foundation that adds a security tab showing whether each release file carries an attestation, either from a Trusted Publisher or as SLSA build provenance tied to a source commit.

The pages now raise prominent warnings when provenance looks wrong: a release where only some files are attested, files built by different systems or repositories, a release published from another repository or workflow than the previous one, or a project that suddenly stops attesting its uploads. PyPI says many of these have innocent explanations, but each is worth checking before installing, since they can point to a hijacked account or publishing pipeline. Releases without provenance are not necessarily malicious; their origin simply cannot be verified.

What to do

  • If you use Cursor and installed or updated the Claude Code extension around 29 October, check whether you got version 2.1.312 or 2.1.313 and follow Cursor's remediation guidance.
  • On affected machines, look for SSH keys and SSH services you did not set up yourself.
  • If you shared credentials with Cursor support, or used Cursor without Privacy Mode and pasted secrets into agent sessions, rotate those secrets.
  • If you maintain a Python package, publish with Trusted Publishing so your releases carry attestations PyPI can show.

Sources

Written with AI from the sources above and edited by Andrei Ciungan before publishing. The full stories belong to their publishers.