The Library

Cursor Security Breach: A Key Issued to Fireworks AI Led to a Malicious Claude Code Extension, What Is Confirmed and What to Check This Week

An attacker used an access key Cursor had issued to Fireworks AI, and a malicious Claude Code extension reached Cursor's marketplace. Here is what Cursor confirms, what is still unknown and what to check this week.

Elite Performance Exclusive LLC 7 min read

Where Worldwide

Cursor Security Breach: A Key Issued to Fireworks AI Led to a Malicious Claude Code Extension, What Is Confirmed and What to Check This Week
On this page 9 sections

An attacker got hold of an access key that Cursor had issued to Fireworks AI. After that, a maliciously modified copy of Anthropic's Claude Code extension was made available in the Cursor VS Code Extension Marketplace. If anyone on your team writes code in Cursor, check this week whether they have Claude Code extension version 2.1.312 or 2.1.313. Cursor says that build tries to install a persistent SSH backdoor on the computer.

This is a supply chain incident. The developers who got the bad build did nothing unusual: they used a normal editor, a normal marketplace and a well-known extension name. Below is what Cursor and Fireworks say, what is still not known, and the checks to run.

What happened in the Cursor security breach

Cursor has published two notices. The first is a security notice about the Claude Code extension. It says a maliciously modified version of Anthropic's Claude Code extension was made available in the Cursor VS Code Extension Marketplace. It gives the time window as "Between about 2:27am PT and 1:35pm PT today," meaning the day that notice was posted. The material we checked does not put a calendar date next to that window.

The second is a security incident update, and it explains the cause. In Cursor's words: "An attacker obtained an access key we had issued to Fireworks." Cursor adds: "The key was exposed by Fireworks." Fireworks handled inference traffic for Cursor, and Cursor says it has now moved all of that traffic off Fireworks.

Fireworks has published its own bulletin. It says a third-party cloud provider that hosted Fireworks R&D machines experienced a security incident on October 23. The sources we checked do not say exactly how that provider incident connects to the exposed key, so we are not going to guess.

Date What the source says
October 23 A third-party cloud provider hosting Fireworks R&D machines had a security incident (Fireworks)
October 29 Cursor said it was investigating a security incident (Cursor)
November 1 The last attacker activity Cursor has seen, and it was blocked (Cursor)

Which Claude Code extension versions are affected

Cursor names Anthropic.claude-code versions 2.1.312 and 2.1.313 for Windows and macOS. The notice does not mention Linux.

Cursor's incident update says at most 5,000 users who requested specific cached versions of the extension potentially received the malicious build. That is an upper limit, not a count of infected machines.

Here is Cursor's description of what the build did: "The extension runs malicious code that attempts to install a persistent SSH backdoor." A persistent SSH backdoor is a hidden way back into the machine that survives a reboot.

What data was exposed in the Cursor breach

Apart from the extension, Cursor says the attacker reached some data:

  • A shared read-only bucket that, in Cursor's words, "contained limited coding agent traces, mostly from 2025, from sessions not in Privacy Mode". Cursor says coding agent traces were exposed for fewer than 0.05% of users.
  • Limited customer support data and email conversations, plus "some credentials users had sent to the Cursor support team."
  • API credentials: Cursor says less than 0.01% of customers had them exposed.

What is confirmed and what is not known

Everything above comes from Cursor and Fireworks describing their own incidents, not an independent investigation. Here is how we read it:

  • Stated by Cursor: the extension name and versions, the SSH backdoor behavior, the key issued to Fireworks as the way in, the percentages above, and the steps Cursor took.
  • Cursor's assessment, not a certainty: "We believe the incident is contained. The last attacker activity we have seen was on November 1, and it was blocked."
  • Not known from the sources: who the attacker is, how many of the up to 5,000 users actually ran the build, how the key allowed anyone to publish into the marketplace, whether Linux users were exposed, and whether copies of the extension outside Cursor's marketplace were affected.

What Cursor has done so far

Cursor says it moved all inference traffic off Fireworks, deactivated the key it had issued to Fireworks, and rotated every exposed credential it found. If your team pasted a password or token into a Cursor support ticket, rotate it yourself.

What to do this week

Check How If the answer is yes
Does anyone use Cursor with the Claude Code extension? Ask your developers, and look at the extensions list in Cursor on each Windows and macOS machine Write down the installed version
Is the version 2.1.312 or 2.1.313? Check the version number shown for Anthropic.claude-code Treat the machine as compromised and work through the next rows
Clean the machine Following Cursor's advice, work from a trusted system to remove the unauthorized SSH key, persistence mechanisms and running tunnel processes Uninstalling the extension alone is not enough
Rotate credentials Rotate the credentials and sessions that the affected machine could reach, for example server SSH keys, code repository tokens, cloud keys and API keys Start with anything that reaches production
Support tickets Search for any password, token or key your team ever sent to Cursor support Rotate it now, even if Cursor has not contacted you
Privacy Mode Find out which Cursor users were not using Privacy Mode Review what code or secrets those agent sessions may have contained

Do the cleanup and rotation from a computer you trust, not from the machine that may have the backdoor: changing passwords from a compromised machine can hand the attacker the new ones.

Why this matters for a company network

A developer's laptop usually holds SSH keys to servers, tokens for the code repository, cloud credentials and sometimes access to customer databases, so a backdoor on it can reach everything those credentials protect. That is why Cursor's advice covers credentials and sessions reachable from affected hosts, not only the host itself.

The incident also shows how many parties sit between your team and the code it installs: Cursor, a key issued to Fireworks, a marketplace, and the Claude Code name, plus Fireworks' own cloud provider. Your company has a contract with few, if any, of those links. We have written about the same problem for servers in Who Is Patching the Software That Runs Your Business? and for AI-built software in AI Can Build Your App. Who Is Going to Keep It Running?.

Three habits help:

  • Keep a list of which editors and extensions your developers use, and who approved them.
  • Store production secrets somewhere other than developer laptops wherever you can.
  • Never send passwords or keys to any vendor's support team. If you already have, rotate them.

Cursor security breach questions people are asking

Was the official Claude Code extension hacked?

Cursor describes a maliciously modified version of Anthropic's Claude Code extension that was made available in the Cursor VS Code Extension Marketplace.

Which Claude Code extension versions are malicious?

According to Cursor, Anthropic.claude-code versions 2.1.312 and 2.1.313 for Windows and macOS.

How many people got the malicious extension?

Cursor says at most 5,000 users who requested specific cached versions potentially received it. The sources do not give the number who actually installed or ran it.

Was my code exposed in the Cursor breach?

Possibly, if you used coding agent sessions without Privacy Mode. Cursor says the exposed traces were limited, mostly from 2025, and affected fewer than 0.05% of users.

Is the Cursor breach over?

Cursor says it believes the incident is contained. The last attacker activity it has seen was on November 1, and it was blocked.

What does Fireworks AI have to do with the Cursor hack?

Cursor says the attacker obtained an access key that Cursor had issued to Fireworks, and that Fireworks exposed the key. Fireworks reports a security incident on October 23 at a third-party cloud provider that hosted its R&D machines.

Is uninstalling the extension enough?

No. Cursor advises removing the unauthorized SSH key, persistence mechanisms and tunnel processes, then rotating credentials and sessions, all from a trusted system.

The bigger lesson

In this case, the bad code arrived under a well-known extension name, from the marketplace built into the editor. Trusting your tools is not enough; you also need to know what is installed, what each machine can reach, and how fast you can rotate every key if one is compromised.

If you want a second set of eyes on your development and server setup, see security hardening or request a quote.

Get security alerts like this by email, along with our free checklist, at security alerts.

Sources: Cursor: Claude Code extension security notice; Cursor: Security incident update; Fireworks AI: October security incident update.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.