← Fresh drops

Cursor traces the fake Claude Code extension to a leaked Fireworks key: what happened and what to check

Cursor has explained how tampered copies of Anthropic's Claude Code extension reached its marketplace on 29 October. The chain started with an access key exposed at Fireworks, one of its AI suppliers, and ran through old coding-agent logs that contained pasted passwords.

On 13 November Cursor published the root cause of the incident in which its extension marketplace served tampered copies of Anthropic's Claude Code extension on 29 October. Cursor says the attacker started with an access key that Cursor had issued to Fireworks, an AI inference company it used, and that Fireworks had exposed. The case matters to every team using AI coding tools, because the step that turned one leaked key into a wider breach was credentials people had pasted into coding-agent sessions.

What happened on 29 October

For about 11 hours on 29 October, Cursor's marketplace cache for VS Code extensions served malicious copies of the Claude Code extension, versions 2.1.312 and 2.1.313, for Windows and macOS. Cursor says at most 5,000 users requested those versions. Anthropic did not build or publish them, and its own extension, distributed through official channels, was not compromised. The Open VSX registry was not affected either.

Cursor's security notice says the fake extension collected basic details about the machine and user, added an SSH key labelled "svc-telemetry" to the user's authorised keys, tried to open a reverse SSH tunnel to the attacker's server and set itself to restart, as a macOS LaunchAgent or a Windows scheduled task. Cursor says the step that switches on SSH usually failed without administrator rights, although the key was still added, the restart mechanism installed and the machine details sent. BleepingComputer, citing the security firm Phorion, reported that coding errors likely stopped the attackers from gaining remote access to many machines. We covered the initial incident in our earlier article on the backdoored extension; this update explains how it got there.

How one leaked key opened four doors

Cursor's 13 November update describes a chain of access, reported in the same terms by BleepingComputer, The Hacker News and SecurityWeek.

  • Fireworks exposed an access key that Cursor had issued to it.
  • With that key, the attacker copied data from a read-only storage bucket Cursor shared with Fireworks. It held coding-agent traces, mostly from 2025, from sessions that did not use Cursor's Privacy Mode, which Cursor was permitted to use for model training.
  • A small number of traces contained credentials that had not been redacted, because users had pasted them into agent sessions.
  • Those credentials gave access to some of the online software tools Cursor uses, and a credential found there let the attacker reach the cache serving its extension marketplace on 29 October.

Cursor says the attacker also reached archived non-production code, limited support data and emails, usage metrics, summaries of some agent conversations and credentials users had sent to Cursor support. It says traces were exposed for fewer than 0.05% of users and API credentials for fewer than 0.01% of customers, that affected users were notified, and that it saw no attacker activity after 1 November.

What Cursor, Fireworks and Anthropic have said

Cursor says Privacy Mode prompts and code, its production systems, app updates, release signing keys and customer code repositories were not affected. It has deactivated the Fireworks key, moved all inference away from Fireworks, rotated internal credentials, rebuilt the marketplace and added secret scanning. SecurityWeek reports Cursor's explanation that Anthropic was never hacked and that all the malicious activity took place in Cursor's environment.

Fireworks has published its own incident bulletin, first issued on 9 October and last updated on 9 November. It describes secrets stored at Fireworks being accessed, a later security incident at a third-party cloud provider that hosted its research machines, and access to billing data and some customers' incomplete model weights and datasets. SecurityWeek and The Hacker News report that Notion and Uber have also disclosed breaches linked to the Fireworks compromise. The bulletin does not mention Cursor, and we found no Fireworks statement confirming or disputing Cursor's account, so the attribution rests on Cursor's investigation. In October, Anthropic's Felix Rieseberg said on X, as reported by The Register, that the tampered copy only affected Cursor users.

Why this matters beyond Cursor

The pattern is familiar. In January 2023 CircleCI told every customer to rotate all the secrets they stored with it, after malware on one engineer's laptop stole a logged-in session and let an attacker into its production systems. In both cases the damage reached far beyond the original weak point, because a single store held other people's keys.

What is newer is where the keys sat. AI coding agents keep detailed logs of what users type and what the agent does, and those logs can be stored by the tool maker and shared with inference suppliers. We think any secret pasted into an AI chat should be treated as copied to every company in that chain, for as long as the logs are kept.

What to do this week

  • Check whether Claude Code 2.1.312 or 2.1.313 was installed or updated from Cursor's marketplace on 29 October.
  • Search the ~/.ssh/authorized_keys file for "svc-telemetry" and compare your machine with the indicators in Cursor's notice.
  • If you find them, isolate the machine, run Cursor's remediation script for macOS or Windows, and rotate any credentials reachable from it using a clean device. Cursor warns that uninstalling the extension alone may not be enough.
  • Agree a team rule that keys and passwords never go into agent chats, and use environment variables or a secrets manager instead.
  • Turn on Privacy Mode or the equivalent setting in every AI coding tool your team uses, and ask vendors which suppliers receive your logs.

To set up AI coding tools safely, start with the Claude course and our stacks library.