Cursor confirmed that a Cursor breach let hackers distribute a malicious version of Anthropic’s Claude Code extension through its marketplace after they stole credentials from AI infrastructure provider Fireworks AI. The company disclosed the incident in a report published on Friday, saying the attack exposed up to 5,000 developers to malware that installed persistent SSH backdoors.
How the Cursor breach began
According to Cursor, the attack started when hackers obtained an access key stored on Fireworks AI, a third-party provider used for AI model training and inference. The attackers used that key to copy data from a read-only storage bucket that Cursor used to share information with Fireworks. The Cursor breach therefore reached beyond the company’s own systems and into a vendor’s environment.
The bucket held historical AI coding-agent traces, mostly from 2025. These records came from users who had not enabled Privacy Mode, which means their data could be used for model training. Some of the traces contained unredacted API credentials, and the attackers used those credentials to reach additional Cursor systems.
Cursor said fewer than 0.05% of users had coding-agent traces exposed, while fewer than 0.01% of customers had API credentials compromised. The company’s monitoring systems detected the unauthorized activity, which led it to revoke the Fireworks access key, rotate exposed credentials and investigate further unauthorized access. As the investigation progressed, Cursor temporarily turned off some internal and product services as a precaution.

Malicious Claude Code builds and SSH backdoors
The most serious part of the Cursor breach was the malicious extension. Cursor said the attackers already held a credential that allowed them to distribute extensions through its marketplace. On October 29, they used it to place unauthorized copies of Anthropic’s Claude Code extension in the cache that serves the Cursor VS Code extension marketplace.
The malicious extensions, versions 2.1.312 and 2.1.313, were available for about 11 hours before Cursor removed them. Cursor said the attack did not compromise Anthropic’s legitimate extension or Open VSX, the extension marketplace Cursor uses. The attackers had modified the legitimate Claude Code extension so that it ran malicious JavaScript.
That code collected system information, installed an attacker-controlled SSH key, attempted to enable SSH access and configured persistence mechanisms to keep remote access in place. Security researchers, however, found coding errors that likely prevented the backdoor from working on many Windows and macOS systems where SSH was not already enabled. Cursor estimates that up to 5,000 users who requested the affected extension versions during the exposure window may have received the malicious builds.

Customer data taken from Cursor’s SaaS tools
Using the exposed credentials, the hackers stole data from several of Cursor’s software-as-a-service tools. The stolen material included:
- Archived, non-production Cursor source code repositories, some containing business contact information.
- Limited customer support information and email conversations.
- Product usage metrics and customer contact details.
- Summaries of some AI coding-agent conversations.
- Credentials that customers had previously shared with Cursor’s support team.
Cursor said its production infrastructure, official application releases, customer code repositories, and code and prompts belonging to users with Privacy Mode enabled were not affected. The company has since moved all inference traffic away from Fireworks, revoked and rotated exposed credentials, rebuilt its extension marketplace and redeployed its production infrastructure as a precaution.
Black October and the wider wave of attacks
The incident is part of a wave of attacks on AI developer platforms that cybersecurity company Wiz has dubbed “Black October.” These attacks targeted development infrastructure to steal authentication credentials, especially those that grant access to AI models. Stolen credentials have been used for unauthorized AI inference, generating substantial charges for affected customers, and some incidents have also been linked to attempts at AI model distillation.
Several companies have been affected, including Railway, Northflank, Lightning AI, OpenCode and Warp. At Railway, attackers stole customer authentication secrets that were later used to generate approximately $740,000 in fraudulent AI charges. OpenCode reported exposed API keys and unauthorized AI usage.
Fireworks AI was also hit by several breaches in October. One involved exposed API keys and tokens, and another saw attackers access development machines through a compromised third-party cloud provider. Those Fireworks incidents also reached other customers, including Notion, which recently disclosed that AI chat transcripts from a small number of workspaces had been exposed.
What developers should do now
Cursor is asking customers who installed or updated to the affected Claude Code extension during the attack window to follow its remediation guidance. Developers who relied on Fireworks-hosted inference or shared credentials with Cursor support should also consider rotating those keys. Cursor has not said when its investigation will be fully complete, and it has not released a full list of affected accounts beyond the estimates in its report.
