Cursor says the fake Claude Code extension began with a key exposed at Fireworks AI
Cursor's two-week investigation says an exposed access key led to unredacted credentials in old agent traces, and from there to the tampered extension that reached at most 5,000 users on October 29.

On October 29, a tampered copy of Anthropic’s Claude Code extension sat in Cursor’s extension marketplace for about 11 hours. For two weeks the open question was how an attacker got there. Cursor’s November 13 update gives its answer: it started at Fireworks AI, a vendor Cursor used for training and inference, with an access key Cursor had issued and Fireworks exposed.
I read both of Cursor’s own posts in full, plus Microsoft’s analysis of the malicious code. Everything below is Cursor’s account unless I say otherwise, and nobody outside Cursor has verified the chain yet.
How one exposed key became a poisoned extension
Cursor describes four steps. An attacker used the exposed key to copy data from a read-only storage bucket that Cursor shared with Fireworks. The bucket held coding agent traces, mostly from 2025, from sessions that weren’t in Privacy Mode, which Cursor says it was permitted to use for model training.
A small number of those traces contained credentials nobody had redacted. Starting from them, the attacker reached select SaaS tools Cursor uses and took archived non-production source repositories, limited customer support data and emails, product usage metrics, summaries of some agent conversations, and some credentials that users had sent to Cursor support.
Then came the extension. Cursor says the attacker used a credential stolen from that internal data to place tampered copies of the Claude Code extension, versions 2.1.312 and 2.1.313, straight onto the cache that serves its marketplace. Cursor says Anthropic didn’t publish them, that this wasn’t a flaw in Anthropic’s product, and that Open VSX, the upstream source, never carried the malware.
The numbers Cursor gives
| What | Cursor’s figure |
|---|---|
| Users who may have received the malicious build | At most 5,000 |
| How long it was available | About 11 hours on October 29 (2:27am to 1:35pm Pacific, per its first notice) |
| Non-Privacy Mode users whose agent traces were exposed | Fewer than 0.05% |
| Customers with API credentials exposed | Fewer than 0.01% |
| Last attacker activity seen | November 1, blocked |
All five figures are Cursor’s own. No outside party has counted anything.
“At most 5,000” is a ceiling, not a count. Cursor says only users who requested those specific cached versions on October 29 could have received the build. It also says it has contacted every affected customer directly, so the practical test is simple: if you didn’t get a notice, Cursor says your data wasn’t in the traces.
What the extension did
Cursor’s October 29 notice says the code tried to add an attacker’s SSH key, switch on the local SSH service, open a reverse tunnel and set up persistence on macOS and Windows. Cursor says that on most machines the SSH step fails because it needs administrator rights, so the attacker couldn’t have logged in through the tunnel. The key and the persistence scripts still got written, which is why Cursor says uninstalling the extension may not be enough. Check for the key.
Microsoft’s security team, which analyzed the injected code separately, says the loader collected host details and the names of environment variables that look like keys or tokens, not their values. It also says the code swallowed its own errors and the extension kept working normally to avoid alerting users. Microsoft adds that the malicious packages never appeared on the Visual Studio Marketplace or in npm.
What nobody has explained yet
Cursor doesn’t say when the key was exposed at Fireworks. Fireworks has its own bulletins about two October incidents, which our earlier post on the Notion chat transcripts walks through, but Cursor’s update doesn’t say whether its key was part of either one. I haven’t seen Fireworks connect them, so treat the link as unconfirmed from Fireworks’ side.
Cursor also doesn’t say how many of the credentials in the traces were live when the attacker found them, only that fewer than 0.01% of customers had API credentials exposed. And “limited” support data and “select” repositories are Cursor’s words. The company says it brought in outside forensics experts, but it hasn’t published their findings.
My read
My read: the surprising part isn’t the extension, it’s the starting point. A training-data bucket is the kind of thing nobody guards like a production database, and it still held secrets pasted into agent sessions. Cursor’s new secret scanning is the right fix, but it can’t pull back traces that are already out. Most of these were from 2025, so the exposure came from sessions people had long forgotten.
If you use an AI coding tool, two habits cost nothing. Turn on whatever privacy or no-training mode it offers, and don’t paste live keys into an agent session, because that text may be stored far longer than you’d guess. The same lesson showed up in Railway’s breach report, where the attacker went looking for AI keys specifically.
Cursor says it moved all inference traffic off Fireworks, rotated every credential it found exposed, rebuilt the marketplace and added secret scanning across its repositories. Whether that holds will show up in the next incident report, or in the lack of one.
Note on sources: I read Cursor's November 13 update and its October 29 notice in full, and Microsoft's October 30 analysis. MLQ.ai's summary matched Cursor's figures. I didn't find a statement from Fireworks about Cursor's key, and Anthropic's position here comes only through Cursor and Microsoft.
Sources
- Cursor: An update on our recent security incident
- Cursor: Security notice on malicious Anthropic.claude-code 2.1.312 and 2.1.313
- Microsoft Security: Inside a malicious Claude Code-branded extension and its persistent SSH backdoor
- MLQ.ai: Cursor says hackers used a key exposed at Fireworks AI to plant a malicious Claude Code extension