The Cursor incident: from a key at a vendor to a tampered extension

A key exposed at an AI vendor led to traces holding credentials, to internal systems and to a tampered Claude Code extension in Cursor's marketplace. What is known and what to do.

Capa com o título Supply chain, os chips 2.1.312 · 2.1.313, svc-telemetry e 134.209.82.225, e uma chave em traço branco com um anel vermelho
Ninguém atacou o editor de frente. O caminho passou por um fornecedor, por dados de treino e por um cache.

On November 13, 2026, Cursor published a security incident update that connects two things that until then looked separate: a data exposure at an inference vendor, Fireworks AI, and the tampered versions of the Claude Code extension that Cursor's marketplace served for about 11 hours on October 29.

The case is worth reading for any team, whether or not it uses Cursor. No step depended on a sophisticated flaw. The path was a key handed to a vendor, training data stored with credentials inside, and an extension cache that accepted a swapped package. Almost every company has all three.

What is fact and what is one side's account. The chain below is Cursor's. Fireworks published its own bulletin and mentions neither Cursor nor a key issued by it. The two accounts don't contradict each other, but they don't confirm each other on this point either.

The chain, according to Cursor

Four-step diagram: 1, a Cursor-issued key exposed at Fireworks; 2, a shared bucket with 2025 agent traces holding unremoved credentials; 3, access to SaaS tools with archived repositories, support, email and metrics; 4, highlighted in red, the marketplace cache with Claude Code versions 2.1.312 and 2.1.313 tampered for about 11 hours on October 29. Note: up to 5,000 users may have received the build, which is not the number of infected machines.
The incident chain as Cursor described it on 2026-11-13.
  1. The key at the vendor. The attacker obtained an access key Cursor had issued to Fireworks. With it, they copied data from a read-only storage bucket Cursor used to share data with the vendor.
  2. Traces with credentials. The bucket held coding agent traces, mostly from 2025, from sessions outside Privacy Mode that Cursor was allowed to use for model training. Some traces contained credentials that had not been removed.
  3. Internal systems. With those credentials, the attacker got into SaaS tools Cursor uses and reached archived non-production repositories, support data and email, usage metrics and contacts, summaries of agent conversations, and credentials users had sent to support.
  4. The marketplace. On October 29, with a credential taken from that internal data, the attacker placed malicious copies of the Claude Code extension in the cache that serves Cursor's VS Code extension marketplace.

Cursor says the attacker's last activity was seen on November 1 and blocked, and that it considers the incident contained.

What was exposed and what wasn't

Exposed, according to CursorNot affected, according to Cursor
Agent traces outside Privacy Mode, for fewer than 0.05% of those usersPrompts and code of Privacy Mode users
API credentials in traces, for less than 0.01% of customersCustomer code repositories
Archived, non-production repositoriesProduction infrastructure
Support data and email, usage metrics, contactsThe Cursor app and official updates
Summaries of some agent conversationsRelease signing keys ("no release signing keys were exposed")
Credentials users sent to supportOther marketplace extensions (validated)

On the Fireworks side, the bulletin updated on November 9 describes a different entry point: a cloud provider hosting the company's R&D machines had an incident on October 23, and on the 24th the intruder used it to reach development machines and run an unauthorized workload. Fireworks reports impact to account and billing data and, for a limited set of accounts, to secrets, datasets and incomplete model weights. It describes the actor as financially motivated, aiming to resell model access (LLMJacking), and says zero-data-retention inference and training were not affected.

The tampered extension

Cursor's October 29 notice, updated on the 30th, gives the details. The affected versions were Anthropic.claude-code 2.1.312 and 2.1.313 for Windows and macOS, served between about 2:27 am and 1:35 pm Pacific time on October 29. Cursor says Anthropic did not publish these copies, there was no flaw in Anthropic's product, and Open VSX never hosted the malware.

At most 5,000 users who requested those versions from the cache could have received the build. That is a distribution ceiling, not a count of compromised machines.

What the injected code did when the extension loaded, with no conversation needed:

  • collected machine data: hostname, user, OS, architecture, home folder, environment variable names (not values), working folders, Git email and public IP;
  • tried to add an attacker SSH key labeled svc-telemetry, enable SSH and open a reverse SSH tunnel to 134.209.82.225;
  • set up persistence: a LaunchAgent on macOS and, on Windows, a scheduled task running as SYSTEM with a Startup-folder script as fallback, retrying roughly every 60 seconds.

According to Cursor, remote login failed on most machines because of bugs in the code itself and missing admin rights. That did not stop the other changes or the data collection. And Cursor warns that collecting only variable names "does not rule out" later credential access.

Uninstalling the extension is not enough. The SSH key, the scheduled task and the LaunchAgent stay behind.

Timeline

DateWhat happened
Oct 9Fireworks publishes its first incident bulletin
Oct 23–24Incident at Fireworks' cloud provider; intruder reaches development machines (Fireworks' account)
Oct 29, ~2:27 am–1:35 pm PTTampered 2.1.312 and 2.1.313 served by Cursor's marketplace cache
Oct 29–30Cursor takes the marketplace down, publishes a notice with IOCs and check scripts, notifies customers in-app and by email
Nov 1Last attacker activity seen by Cursor, blocked
Nov 9Fireworks updates its bulletin: impact to account, billing, secrets, datasets and incomplete weights
Nov 13Cursor links the vendor exposure to the marketplace incident

What to do if someone on your team uses Cursor

  1. Find who installed Claude Code 2.1.312 or 2.1.313 in Cursor on October 29, on Windows or macOS.
  2. Look for the svc-telemetry key in ~/.ssh/authorized_keys (macOS) or in %USERPROFILE%\.ssh\authorized_keys and C:\ProgramData\ssh\administrators_authorized_keys (Windows).
  3. Look for persistence: on macOS, ~/Library/LaunchAgents/com.apple.sysmond.plist; on Windows, the SysMon scheduled task and a sysmon.cmd file in the Startup folder; on both, the .smt/smt.cmd and .smtk files in ~/.config.
  4. If you find anything, isolate the machine, remove the key, persistence and tunnel with Cursor's scripts, and decide whether to rebuild. When in doubt, rebuild.
  5. Rotate the credentials and sessions that were reachable from that machine (Git, cloud, registries, pipeline tokens), doing it from another, trusted machine.
  6. If your company got an email from Cursor listing keys to rotate, make it a priority: those are credentials that were in traces or support data.
  7. Block and hunt for the indicators below in your EDR, proxy and firewall.

Indicators published by Cursor

TypeValue
Attacker IP134.209.82.225 (SSH tunnel on port 22, beacon on 8099 at /beacon)
SSH keylabel svc-telemetry, ed25519, SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk
macOS~/Library/LaunchAgents/com.apple.sysmond.plist, $TMPDIR/.stk_*
WindowsSysMon task (SYSTEM), ...\Startup\sysmon.cmd, %TEMP%\.stk_*

SHA-256 of the tampered VSIX packages and the payload:

2.1.312 darwin-arm64  fcbb327e38e61c4fec795e0d0591f52cd1014b813d20a5912104953c3a17c364
2.1.312 win32-x64     3de1722901165769893bef57c72594e9a54459faa23f3091b136b79966edd081
2.1.313 darwin-arm64  80402fdcad8799285fd93044976973ca000da7995fb93363f819bb8e4f84ee6c
2.1.313 win32-x64     6786ec90cbd45949695bd7805c9fbb26cfc91bc5fc897de0183d9bcb9cb21731
extension.js          ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15

The full list, with Linux paths and command lines, is in Cursor's notice.

The lessons, beyond Cursor

A vendor's key is part of your perimeter

The first key was not stolen from Cursor. It was with a partner. Every key handed to a vendor needs an owner, minimal scope, an expiry date and a revocation plan someone has actually tested. Worth asking: how many keys has your company issued to third parties, and who can say which ones are live today?

Training data keeps whatever crossed the screen

Agent traces record what the developer pasted, what the agent read and what the terminal printed. If a credential showed up there, it stays in the dataset. Cursor responded by expanding secret scanning. The lesson for anyone using coding agents is direct: credentials should not go through the chat, and the tool's privacy mode should be a company decision, not each person's.

Support keeps secrets too

Part of what leaked were credentials users sent to support. Anyone who has pasted a token into a ticket "to help investigate" knows how that happens. A ticket is not a vault.

An editor extension is a production dependency

A developer's machine has access to Git, the cloud and the pipelines. An extension runs with the permissions of whoever installed it. An extension inventory, an allowlist and pinned versions on machines with privileged access are the same hygiene that already applies to npm packages and container images.

Where Leavory fits

Leavory does not look at developer machines or editor extensions, and would not have seen the first step of this case. Where it helps is what comes after an incident like this: knowing what exists so you can rotate fast. It connects to Azure DevOps, GitHub and GitLab without touching source code and maps projects, repositories, packages and pipelines; pipeline analyses bring exposed secrets next to vulnerabilities on the same dashboard. When the "rotate these keys" email arrives, having that map ready is the difference between an afternoon and a week. See how it works on the platform.

Sources

Written by

Leavory Team Leavory team

Engineering and security at Leavory

The people who build Leavory. We write about what we learn running vulnerability management, pipelines and Kubernetes for our customers and for ourselves.

LinkedIn

See Leavory in action.

Tell us which platform you use, and an engineer, not a sales bot, will reach out to schedule a demo.

Which platform do you use?

A real conversation with an engineer.