Tag: Fireworks AI

Cursor breach: a key held by Fireworks AI led to a backdoored Claude Code extension

Cursor breach: a key held by Fireworks AI led to a backdoored Claude Code extension

For about 11 hours on October 29, 2026, a developer who installed or updated the Claude Code extension inside Cursor could have pulled a copy with 66 extra lines at the top of extension.js. Those lines ran as soon as the editor loaded the extension, planted an SSH key labelled svc-telemetry, and kept dialling a reverse tunnel out to an attacker’s server.

On November 13, Cursor explained how the attacker got publishing access. It started with an access key Cursor had issued to Fireworks AI, its inference and training partner, which Fireworks then exposed. The key could only read a storage bucket. But the bucket held old coding-agent traces, and some contained live credentials nobody had redacted. From there it was a short walk to the cache behind Cursor’s extension marketplace.

Severity: high. Payload bugs and a short window limited the damage, but this is a confirmed compromise of a software distribution point, and the root cause is common across AI companies right now.

At a glance

  • Victim: Cursor (Anysphere). Upstream exposure at Fireworks AI.
  • Malicious packages: Anthropic.claude-code 2.1.312 and 2.1.313 for Windows and macOS, served only from the Cursor VS Code extension marketplace, roughly 2:27am to 1:35pm PT on October 29, 2026. Open VSX never had the malware, and Anthropic did not publish these builds.
  • Reach: Cursor says at most 5,000 users who requested the cached versions that day may have received them.
  • Data taken: archived non-production source repositories, limited support data and emails, usage metrics and contact details, summaries of some agent conversations, and some credentials users sent to support. Traces were exposed for fewer than 0.05% of users; API credentials for fewer than 0.01% of customers.
  • Not affected, per Cursor: production systems, the Cursor app and its updates, release signing keys, Privacy Mode data, customer code repositories, other marketplace extensions.
  • CVE: none. Who should care: anyone who ran Cursor on Windows or macOS on October 29, notified Cursor customers, and any company that hands keys or training data to an AI vendor.

What we know

Cursor’s security notice went up on October 29 and was revised on October 30 with indicators, check commands and remediation scripts. Phorion and OpenSourceMalware published payload analyses the same day. Nobody outside Cursor yet knew how a package had been published under Anthropic’s name.

The November 13 update fills that gap. The attacker obtained an access key Cursor had issued to Fireworks, which Cursor says was “exposed by Fireworks”, and used it to copy data from a read-only bucket the two companies shared. It held limited coding-agent traces, mostly from 2025, from non-Privacy-Mode sessions Cursor was allowed to use for training. Some traces contained unredacted credentials. Those opened select SaaS tools, and a stolen credential from that data let the attacker place the malicious copies on the marketplace cache.

Cursor says the last attacker activity it saw was on November 1, and it was blocked. It moved inference off Fireworks, deactivated the key, rotated exposed and all internal credentials, rebuilt the marketplace, added secret scanning, redeployed production and hired outside forensics. “We believe the incident is contained,” the company wrote.

Timeline from October 6 to November 13, 2026: Fireworks AI incident, malicious Claude Code builds served on October 29, Cursor IOCs and research on October 30, last attacker activity November 1, root cause disclosed November 13.
Key dates from Cursor's notice and update and Fireworks AI's bulletins. When the Fireworks-held key was taken is not public.

What Cursor has not said: when the Fireworks-held key was taken, which SaaS tools were entered, or what kind of credential allowed writing to the marketplace cache. Fireworks has two public incident bulletins for October (one identified on October 6, one involving a third-party cloud provider on October 23 and 24). Neither mentions Cursor, so as of November 16 it is unknown which of them, if either, exposed this key.

How the attack unfolded

The chain has five links, and only the last one involves code running on developer machines.

Five-step attack chain: partner key exposed, agent traces copied, SaaS tools entered, marketplace cache poisoned, backdoor on developer hosts.
How a read-only partner key became a poisoned extension, per Cursor's November 13 update and the payload analyses.

A read-only key to a bucket of historical traces sounds low risk on paper, which is how these keys get approved. Step two changed that: the traces contained working secrets. An agent trace records everything the agent saw, including the .env file it read and the token a user pasted into a prompt. Unscrubbed, a training export is also a credential dump.

Steps three and four are ordinary SaaS lateral movement, ending with a credential that could write to the cache serving Cursor’s marketplace. Cursor names Open VSX as the marketplace source, and the package there was clean throughout. The poisoned copy existed only in Cursor’s cache, so checking Open VSX or Anthropic’s side would have shown nothing wrong.

Step five is the payload. Phorion says the injected prefix runs when Node loads extension.js, before the extension’s activate function, so the user never has to open Claude Code. Cursor and both research teams agree on what it does:

  • Sends hostname, username, OS, architecture, home and working directories, global Git email, public IP and the names (not the values) of environment variables to the attacker. Phorion counts up to 40 credential-looking variable names.
  • Appends an attacker public key with the comment svc-telemetry to authorized_keys.
  • Tries to turn on the local SSH server: Remote Login on macOS, OpenSSH Server on Windows, sshd on Linux.
  • Opens a reverse SSH tunnel to 134.209.82.225 and retries about every 60 seconds, with a LaunchAgent disguised as com.apple.sysmond on macOS, a SYSTEM scheduled task named SysMon (Startup-folder fallback) on Windows, and an @reboot cron entry on Linux.

No extra executables were downloaded, per OpenSourceMalware. BleepingComputer noted the script never grabbed credential values, which suggests the plan was to come in through the tunnel and look around by hand.

Who is affected and how badly

Sloppy code saved a lot of people. Phorion found that on macOS the malware checks Remote Login without admin rights, gets an access error instead of “Off”, and never tries to enable SSH. On Windows a helper hardcodes /bin/sh, which a standard install lacks, so the OpenSSH setup fails. Cursor says enabling SSH needs admin rights the extension lacks on most macOS and Windows hosts.

That is not “nothing happened”. The key, persistence and beacon still landed, and the tunnel still came up. If an SSH server was already running, as on a Mac with Remote Login on or a Windows box with OpenSSH set up, the tunnel gave the attacker a way in as that user. Phorion notes that turning Remote Login on later wakes the dormant backdoor too.

On the data side, Cursor says it notified the users whose traces and the customers whose credentials were exposed, and sent admins a list of keys to rotate. No notice means your data was not in the exposed traces.

One number is disputed. Cursor’s November 13 update says at most 5,000 users received the bad builds. OpenSourceMalware wrote that Cursor had dropped that estimate from its October advisory (the current notice indeed lacks it) and suspects the real number is higher. I’d treat 5,000 as Cursor’s best estimate, not a hard ceiling.

Where “Black October” fits, and where it doesn’t

Some coverage files this under Wiz’s “Black October” report, which tracks about 17 AI developer platforms hit from early October to November 8, including Fireworks AI, Railway, OpenCode and Warp. The common pattern is intruders hunting stored environment variables that grant AI model access. To be precise: Wiz’s report, as last updated November 10, does not mention Cursor. The link runs through Fireworks, which is on Wiz’s list, and nobody has publicly tied the extension attacker to the LLMJacking (stolen-key AI usage) crews Wiz describes.

Wiz’s data is still useful if you hold AI keys. Two stolen enterprise Amazon Bedrock keys were tested within 30 minutes of the vendor-side theft with a single InvokeModel call from a residential IP. Later came a quota enumeration script and a flood: about 800,000 calls in roughly 30 hours on one key, about 1.7 million in 13 hours on the other, likely over $100,000 at list price by Wiz’s estimate.

What to do now

  1. Find every Windows and macOS machine that ran Cursor on October 29 and check for the planted key. Cursor’s check for macOS:
grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"

And for Windows PowerShell, also from Cursor’s notice:

$files = "$HOME\.ssh\authorized_keys", "C:\ProgramData\ssh\administrators_authorized_keys" | Where-Object { Test-Path $_ }
if ($files -and (Select-String svc-telemetry $files)) { "svc-telemetry key found" } else { "No key found; machine not impacted" }
  1. If the key is there, isolate the host and collect evidence before cleaning up. Uninstalling the extension does not remove the standalone persistence scripts. Cursor provides remediate-macos.sh (run as the user, not root) and remediate-windows.ps1 (run elevated) on its notice page; download them from there, not from a mirror. Rebuilding the host is the safer call.
  2. From a clean machine, rotate everything the affected account could reach: Git and cloud tokens, SSH keys, and whatever the environment variable names in the beacon point to. Assume the attacker has that list.
  3. Block 134.209.82.225 on ports 22 and 8099 at the egress firewall, as OpenSourceMalware recommends, and search past flow logs for it.
  4. If Cursor notified you that keys were exposed, rotate the specific keys on its list and review their provider logs back to at least October. For AI provider keys, look for the Wiz pattern: a lone model call from an unfamiliar residential IP, then quota lookups, then volume.
  5. Audit what you share with AI vendors. List every key you have issued to a model or inference partner, what it can read, and whether the data behind it was scrubbed for secrets.

Detection and monitoring

Every indicator below comes from Cursor’s October 30 notice unless marked otherwise. Endpoint telemetry is the main source; SSH server logs and egress logs fill the gaps.

  • Files: ~/.config/.smt, ~/.config/.smtk, $TMPDIR/.stk_<10 hex> and ~/Library/LaunchAgents/com.apple.sysmond.plist on macOS; %USERPROFILE%\.config\smt.cmd, %USERPROFILE%\.config\smtk, %TEMP%\.stk_<10 hex> and sysmon.cmd in the Startup folder on Windows; scheduled task SysMon.
  • Hashes: backdoored extension.js SHA-256 ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15. Cursor also lists SHA-256 and MD5 for the four VSIX packages.
  • SSH: key comment svc-telemetry, fingerprint SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk; tunnel key fingerprint SHA256:KOAU57+ZG6u3MG4WwzPzPX2O5YEe9qdOC1Bl+6MVyDQ.
  • Network: outbound SSH as tunnel@134.209.82.225 on TCP 22; HTTP POST to /beacon on port 8099 of the same IP, plus a local attempt to 127.0.0.1:8099. Lookups to ifconfig.me and api.ipify.org are not malicious on their own.
  • Processes: long-running ssh -N -R '*:0:localhost:22' or autossh -M 0 with StrictHostKeyChecking=no and UserKnownHostsFile=/dev/null; schtasks /create /tn SysMon.

Phorion adds three behavioural ideas I like because they outlive these specific indicators. Alert when an IDE helper process (Code Helper, Cursor Helper) writes to ~/.ssh/authorized_keys; the write goes through Node’s file API, so rules that only watch process launches will miss it. Alert when a non-Apple process creates a com.apple.* LaunchAgent. And check SSH logs for logins from 127.0.0.1 or ::1 using the planted key: that is the operator actually coming through the tunnel, which is the event that separates “backdoor installed” from “backdoor used”. Phorion also warns not to build a rule on systemsetup -setremotelogin on, because the state-check bug means it usually never runs.

My take

The headline will say “Fireworks lost a key”, and that is true, but to me it is the least interesting part. Partners lose keys. The failure that made this a supply-chain incident is that a training-data export carried working credentials. Agent traces are the new shell history: they capture whatever the agent read, and agents read .env files, config and pasted tokens all day. A “read-only” share of that data is really read access to whatever those secrets unlock, including, in this case, write access to a software distribution point. Cursor adding secret scanning after the fact is right, but redaction has to happen before traces are stored, let alone shared.

The second lesson is about mirrors. Cursor’s marketplace serves Open VSX packages through its own cache, and the cache was the only place the malware existed. If a mirror is going to serve a package under someone else’s name, it should check that what it serves matches what the upstream registry published, and alert when a “new version” shows up in the cache that upstream never had. I’d ask any vendor running an extension or package mirror how they do that today.

Is it overhyped? The blast radius was small thanks to bad code and an 11-hour window, and Cursor’s disclosure is more detailed than most. But I’d rate it underrated as a pattern. The same ingredients (shared keys to AI partners, unscrubbed traces, IDE extensions running with full user rights) exist at plenty of companies that have not been hit yet. If you run Cursor fleet-wide, run the check tonight. If you hand data to an AI vendor, find out this week what secrets are sitting in it.

Sources