Cursor says a leaked vendor key led to a fake Claude Code extension

In short

5,000 most users who may have got the bad extension; ~11 hours how long the malicious copy was available; <0.01% customers with API credentials exposed; <0.05% non-Privacy-Mode users whose traces were exposed

How the attack ran

Cursor's post says the incident "started at Fireworks". Fireworks is a third-party vendor that Cursor used for model training and inference (running a model to answer requests). Cursor had issued it an access key, and the post says the key "was exposed by Fireworks". The post does not say how.

With that key the attacker copied data from a read-only storage bucket Cursor used to share data with Fireworks. Cursor describes the contents as limited coding-agent traces, mostly from 2025, from sessions not in Privacy Mode. Privacy Mode is Cursor's setting that keeps a user's prompts and code from being stored for training; sessions outside it are ones Cursor says it was permitted to use for model training. (Our plain gloss of the setting; the post only names it.)

Mostly 2025: the agent traces in the shared bucket were recorded, outside Privacy Mode. Before 29 Oct: the attacker copies the traces with the leaked key and finds a few unredacted credentials in them. (The post gives no earlier date.) 29 Oct: using a stolen credential from that data, the attacker places malicious copies of Claude Code in the marketplace cache. Cursor shares that it is investigating. 30 Oct: Cursor publishes a security notice with indicators of compromise, remediation steps and scripts to check a system, and starts notifying users and team admins. 1 Nov: the last attacker activity Cursor saw; it says it was blocked. 13 Nov: Cursor publishes this account after what it calls an extensive two-week investigation.

What the attacker reached

The post says a small number of traces held credentials that had not been redacted. From those, the attacker reached "select SaaS tools" used by Cursor. Through them the attacker accessed:

Cursor says traces were exposed for fewer than 0.05% of users who were not using Privacy Mode, and that it has notified each of them. Under 0.01% of customers had API credentials exposed, and it emailed team admins a list of the specific keys to rotate.

The fake extension

An extension marketplace is the catalogue inside a code editor where users install add-ons. Cursor's marketplace serves extensions from a cache, a stored copy kept for speed. On 29 October the attacker wrote malicious copies of Anthropic's Claude Code extension straight into that cache.

Cursor makes three points about it:

The affected versions are Anthropic.claude-code 2.1.312 and 2.1.313. Cursor says anyone who installed or updated to them during the window should follow the steps in its security notice, because "uninstalling the extension alone may not be enough".

What Cursor says was not affected

Cursor says prompts and code of Privacy Mode users, customer code repositories, its production systems, official app updates and release-signing keys were not affected.

The post also lists live traffic sent to Cursor now (the trace data was storage for historical offline analysis), active inference requests, plugins from the Cursor Marketplace, and other Cursor and SpaceX SI products such as Cloud Agents and Grok Bot. Cursor says it ships its app from a separate code-hosting system the attacker never accessed. It also says it checked all other extensions in the marketplace and found them authentic.

What Cursor did

It says it disabled more services than the evidence required, which briefly disrupted some features. It also says it "believes the incident is contained" and apologises to those affected.

Why it matters (our reading)

The chain is the lesson. A key held by a vendor opened a bucket of old traces; credentials left inside those traces opened internal tools; one of those credentials was then enough to tamper with what a marketplace served to users. Each step was small, and together they reached software on users' machines. The post's own fixes (secret scanning, narrower network access, rotating credentials) target exactly those links.

Terms in plain English

Where things stand

Cursor says the last attacker activity was on 1 November and that it continues to monitor and will contact customers directly if more information emerges. It promises to update the post if anything important changes. What is not public in the post: how Fireworks' key was exposed, how many people actually received the malicious extension (only a ceiling of 5,000), and any independent confirmation.

Sources

Sources

More from AI Research Labs

All stories from AI Research Labs