HomeData BreachesCursor Says Stolen Fireworks AI Key Led to Trojanized Claude Code Extension

Cursor Says Stolen Fireworks AI Key Led to Trojanized Claude Code Extension

Cursor, the AI-powered coding platform built on top of Visual Studio Code, published a detailed update on Friday explaining how a stolen vendor credential led to both a data breach and the brief distribution of a trojanized copy of Anthropic’s Claude Code extension through its marketplace. The update closes out an investigation that began on October 29, when Cursor first disclosed the incident, and it ties the breach to a separate compromise at Fireworks AI, a company Cursor used for model training and inference.

How the attacker got in

According to Cursor, the intrusion started when an attacker obtained an access key that Cursor had issued to Fireworks AI so the two companies could share data. That key was exposed as part of a breach at Fireworks itself, and the attacker used it to pull data from a read-only storage bucket that held what Cursor calls coding agent traces, essentially logs of how its AI coding assistant handled past sessions. Most of the exposed traces dated back to 2025 and came from users who had not turned on Cursor’s Privacy Mode, a setting that lets customers opt out of having their activity used to train AI models. Because those sessions were not in Privacy Mode, Cursor had been permitted to share them with Fireworks for that purpose.

A small number of those traces contained credentials that should have been stripped out but were not, exposing API keys belonging to less than 0.01 percent of Cursor’s customers. The attacker used those leaked credentials as a foothold to reach other software-as-a-service tools Cursor relies on internally. From there, the attacker pulled a mix of data: some archived, non-production Cursor source code repositories that included business contact information, limited customer support records and email threads, product usage statistics and contact details, summaries of some coding agent conversations, and a number of credentials that customers had previously sent to Cursor’s support team.

A trojanized extension reached up to 5,000 users

Once Cursor’s monitoring systems flagged the unauthorized activity, the company deactivated the compromised vendor key and began rotating credentials across its systems. But the attacker had already moved again. On October 29, using a credential taken from the data exposed earlier, the attacker placed malicious, unauthorized copies of Anthropic’s Claude Code extension directly into the cache that serves Cursor’s built-in VS Code extension marketplace. Cursor was explicit that Anthropic never published this tampered version and that the flaw was not a vulnerability in Anthropic’s software. Open VSX, the open-source registry that is the original source for the extension, was never touched either; the tampering happened only inside the caching layer Cursor uses to serve the marketplace to its own users.

Cursor estimated that at most 5,000 users who requested specific cached versions of the extension on October 29 could have received the malicious build, which remained available for roughly 11 hours before it was pulled. The company took its entire extension marketplace offline, removed the tampered files, and worked with the cloud provider hosting the attacker’s infrastructure to shut it down. The affected versions were labeled 2.1.312 and 2.1.313, and Cursor has warned that simply uninstalling the extension is not enough to remove the threat if a system was compromised, since the earlier October 29 notice described the malicious build as attempting to install a persistent SSH backdoor, a method of remote access designed to survive a reboot or a routine cleanup.

What Cursor says was not affected

Cursor’s update draws a fairly firm line around what the attacker could not reach. Users who had Privacy Mode turned on were not affected at all, and among users who did not have it enabled, coding agent traces were exposed for fewer than 0.05 percent, all of whom Cursor says it has identified and contacted directly. The company also said none of the following were touched: live or current traffic sent to Cursor today, its production infrastructure, the Cursor desktop application and its official updates (which are built and shipped from a separate code repository the attacker never accessed, with no signing keys exposed), other Cursor products such as its cloud agents, any other extension in the marketplace, which Cursor says it has since validated and rebuilt, and customer code repositories.

Remediation and a pattern across Fireworks’ customers

Cursor said it has since moved all of its inference traffic away from Fireworks AI entirely, deactivated the key it had issued to the company, and cut off Fireworks’ access to any data Cursor had shared with it. Beyond that, Cursor rotated every credential it found exposed and, as a precaution, rotated all credentials across its internal systems regardless of whether there was evidence they had been touched. The company also added secret-scanning tools across its code repositories and other internal data sources, redeployed its production infrastructure from scratch, and brought in outside forensics investigators. Cursor said the last sign of attacker activity it observed was on November 1, and that attempt was blocked.

The breach at Fireworks AI appears to have reached beyond Cursor. Separately, ride-hailing company Uber confirmed in a filing with California regulators that an unnamed service provider notified it on October 9 that a third party had compromised the provider’s internal credentials and used them to reach Uber’s account with that provider, ultimately stealing driver’s license information belonging to thousands of Uber drivers. Uber did not name the provider, but TechCrunch has reported it was Fireworks AI. Workplace software company Notion also confirmed last week that its data was exposed in the same Fireworks AI breach.

Why this matters

The incident is a reminder that AI coding tools and the vendors behind them have become part of the software supply chain in the same way package registries and build pipelines already were. A single exposed key at a third-party AI vendor rippled out to affect a code editor used by software developers, a ride-hailing company’s driver records, and a workplace collaboration tool, three very different kinds of organizations connected only by a shared data-sharing relationship with Fireworks AI. Organizations that use AI coding assistants or share data with AI training and inference vendors may want to review what data those arrangements expose, confirm whether credentials are ever included in logs or traces shared with third parties, and treat any software update delivered through a plugin or extension marketplace with the same scrutiny given to code dependencies.

Sources: Cursor and The Hacker News.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments