Saturday, November 14, 2026

Cursor's Poisoned Claude Code Extension: How a Leaked Vendor Key Put a Backdoor on 5,000 Developer Machines (2026)

A developer's laptop at night showing a code editor, with a glowing red warning shield and a puzzle-piece extension icon, symbolizing the poisoned Claude Code extension in Cursor's marketplace

Imagine updating a tool you trust, from the company that made it, inside the editor you use every day — and getting a backdoor instead. That is exactly what happened to as many as 5,000 developers on October 29, 2026, and Cursor only explained how it happened on November 13. The trail does not start with a hacker breaking into Cursor. It starts with a single leaked key at a vendor most users had never heard of.

A tampered copy of Anthropic's Claude Code extension sat in Cursor's own extension marketplace for about 11 hours, wearing the real publisher name. It ran the moment the editor loaded it — no click, no warning, no suspicious pop-up. And here is the part that should worry every developer reading this: deleting the extension does not remove what it left behind.

Key Takeaways

  • What happened: On October 29, 2026, malicious copies of Anthropic's Claude Code extension (versions 2.1.312 and 2.1.313) were placed in Cursor's extension marketplace cache and served to users for about 11 hours.
  • How it started: An access key Cursor had issued to its AI infrastructure vendor Fireworks AI was exposed, and an attacker used it to copy data from a shared storage bucket — including old coding traces that contained unredacted API credentials.
  • Who is at risk: Up to 5,000 users who installed or updated the extension from Cursor's marketplace between 2:27 a.m. and 1:35 p.m. Pacific Time on October 29, on Windows or macOS.
  • What the malware did: It collected machine details, planted an attacker SSH key labelled "svc-telemetry," and tried to open a reverse tunnel back to the attacker — so uninstalling the extension alone is not enough.
  • The fix: Update to version 2.1.314 or later, check your SSH authorized-keys file for the "svc-telemetry" key, remove any persistence files, and rotate credentials that machine could reach.
  • What was NOT hit: Anthropic's own systems, the legitimate extension, the Open VSX store, Microsoft's Visual Studio Marketplace, the npm package, customer code repositories, and the prompts and code of users with Privacy Mode on.

What Happened on October 29: Eleven Hours in the Marketplace

Cursor is one of the most popular AI code editors in the world, built on Microsoft's open-source Visual Studio Code. Like VS Code, it has an extension marketplace where developers install tools — including Anthropic's Claude Code, the AI coding agent millions of developers now use daily.

On the morning of October 29, something went wrong inside that marketplace. According to Cursor's incident report, published November 13, an attacker placed modified copies of the Claude Code extension directly onto the cache that feeds Cursor's extension store. The copies carried the genuine publisher identifier, Anthropic.claude-code — not a look-alike name, not a typo-squatted copy. To a user, the update looked completely legitimate.

The tampered builds — versions 2.1.312 and 2.1.313 — were available from about 2:27 a.m. to 1:35 p.m. Pacific Time, roughly 11 hours, before Cursor pulled them. Cursor estimates that up to 5,000 users who requested those cached versions in that window may have received the malicious build. That number is an upper bound on potential delivery, not a count of machines that were successfully compromised — but it is still 5,000 developers who now have to check their machines.

Anthropic moved fast once the problem was known. It never published version 2.1.313 through its official channels at all, and it skipped straight to a clean 2.1.314 to avoid confusion. As Anthropic's Felix Rieseberg put it, "We're working with Cursor on this incident, but it wasn't a compromise of Anthropic's systems or employee laptops."

How a Leaked Key at Fireworks AI Opened the Door

The most revealing part of Cursor's November 13 update is the chain of events it lays out — because it shows how one small vendor mistake can snowball into a supply-chain attack.

It started with Fireworks AI, a company that provides AI model training and inference infrastructure to Cursor. Cursor had issued Fireworks an access key for a read-only storage bucket the two companies shared. In Cursor's own words, that key was "exposed by Fireworks." An attacker got hold of it and used it to copy data out of the bucket.

What was in the bucket? Historical coding-agent traces — records of past AI coding sessions — mostly from 2025, from users who had not enabled Privacy Mode and whose sessions were eligible for model-training use. That detail matters, because some of those traces contained API credentials that had never been redacted. The attacker found them and used them to reach selected Cursor internal services.

From there, the attacker obtained the ability to tamper with Cursor's extension distribution cache — and on October 29, used it to plant the poisoned Claude Code builds. Cursor says its monitoring detected the unauthorized activity, prompting it to deactivate the Fireworks key, rotate credentials, and temporarily switch off some internal and product services while it investigated. The last attacker activity it has seen was on November 1, and it was blocked.

Two things about this chain deserve attention. First, Fireworks' own security bulletins page, last updated November 9, does not mention Cursor — so the "exposed by Fireworks" account is Cursor's version of events, and the full picture of how the key leaked is still incomplete. Second, Fireworks disclosed multiple breaches of its own during October, including exposed API keys and tokens, which suggests this was not an isolated slip. Cursor has now moved all of its inference traffic away from Fireworks and terminated the vendor's dataset access.

What the Poisoned Extension Actually Did

Security researchers at Phorion, a macOS security firm, published the first detailed analysis on October 30, and BleepingComputer, Sophos, StepSecurity and Microsoft Security Research followed. Their findings are ugly.

The malicious code was injected at the start of the extension's main file, with the rest of the extension left untouched — so Claude Code worked normally while the malware ran underneath it. It executed the moment the extension loaded, before anyone opened a Claude chat, with no click needed from the user. It gathered the username, computer name, public IP address and Git email, plus the names of environment variables that looked like they held secrets.

Then it went for persistence. It appended an attacker-controlled Ed25519 SSH public key, carrying the comment svc-telemetry, to the machine's authorized-keys file — the file that decides which keys are allowed to log in remotely. It tried to switch on the local SSH server, and it opened a reverse tunnel out to a server at 134.209.82.225 on port 22, as user "tunnel," checking in roughly every 60 seconds. That command server has since been taken offline.

There are two caveats that kept the damage from being worse. On macOS, the malware's check of the Remote Login setting failed, so it skipped switching SSH on. On Windows, it tried to run its PowerShell setup through /bin/sh, which a standard Windows install does not have. Microsoft's analysis put it plainly: successful remote access depended on permissions and SSH configuration. But even where the tunnel never connected, the planted key and persistence files could remain on the machine — waiting.

Who Is Affected — and Who Is Not

The risk is specific, and that specificity is good news for most people. You are only in the danger zone if you installed or updated the Claude Code extension from Cursor's marketplace on October 29, 2026, on Windows or macOS, and received version 2.1.312 or 2.1.313. If you got Claude Code from the Visual Studio Marketplace, Open VSX, or npm, you were not exposed — Microsoft confirmed the malicious packages were never distributed through its marketplace or the official npm package.

Cursor also published exposure numbers for the stolen bucket data. Fewer than 0.05 percent of users outside Privacy Mode had coding-agent traces exposed, and fewer than 0.01 percent of customers had API credentials exposed. The company says its production systems, official app releases and signing keys were not touched, customer code repositories were not affected, and the prompts and code of users with Privacy Mode on were safe.

Still, the incident has shaken confidence in a basic assumption developers rely on every day: that an extension from an official marketplace, under a real publisher's name, is safe to install. It is the same week that trust took other hits — Microsoft's global 365 outage knocked out Outlook, Teams and Copilot for millions, and OpenAI disbanded its robotics team while insisting general AI models can do the job. The tools professionals depend on are changing fast, and not always in reassuring directions.

How to Check Your Machine Right Now

If you use Cursor, do not assume you are fine — check. This is the one case where a few minutes of work now can save a very bad week later. Work through this checklist in order:

Checklist: Am I Affected?

  • Check the version: In Cursor, look at the installed Claude Code extension. If it is 2.1.312 or 2.1.313 and it came from Cursor's marketplace on October 29, treat the machine as exposed.
  • Look for the attacker's key: On a Mac, open Terminal and search your authorized-keys file for "svc-telemetry." On Windows, search %USERPROFILE%\.ssh\authorized_keys and C:\ProgramData\ssh\administrators_authorized_keys for the same word. If it is there, the machine was hit.
  • Check for persistence: Look for unfamiliar background items — a launch agent on a Mac, a scheduled task or startup entry on Windows — and kill any unexpected tunnel or SSH process making periodic outbound connections.
  • Run Cursor's cleanup script: Cursor's security notice provides a remediation script that removes the extension, the planted scripts and the attacker's key. Use it rather than deleting things by hand.
  • Rotate your secrets: Assume anything readable by your user account was exposed — AWS, Google Cloud and Azure credentials, GitHub and GitLab tokens, Anthropic and OpenAI API keys, and SSH private keys. Change them from a machine you trust.
  • Update the extension: Install version 2.1.314 or later, which replaces the tampered builds. Updating alone, however, does not undo what the bad build already installed.
  • If the key was found: Disconnect the machine from the network, rotate secrets, and seriously consider rebuilding it from clean backups.

Why Uninstalling the Extension Is Not Enough

This is the detail Cursor itself stresses, and it is the one most likely to catch people out. An extension update replaces files inside the extension's own folder. It knows nothing about a key written into your home directory or a launch agent registered with your operating system. Those artifacts live outside the extension's lifecycle, so uninstalling or upgrading only stops new infections — it does not clean up an existing one.

That is why Cursor's warning is so blunt: "Uninstalling the extension alone may not be enough." The same logic applies well beyond this incident. Any tool that runs code on your machine — an editor extension, a browser add-on, a downloaded app — can leave things behind after you remove it. The habit that protects you is checking what a tool touched, not just deleting the tool.

It is also a reminder about where sensitive material lives. API keys, tokens and passwords should never sit in plain files a random process can read, and private photos, videos and documents deserve a locked space of their own. If you keep sensitive files on your phone, Pro Calculator Secure Vault keeps them in a secure on-device vault with sign-in protection and an intruder selfie that snaps anyone who tries the wrong passcode — and nothing is collected or shared with third parties.

Fake Cleanup Tools: The Second Wave to Watch For

Scam Warning

Every major breach spawns a second wave of scams, and this one is tailor-made for it. Expect fake "Cursor cleanup tools," phishing emails claiming your machine is infected, and look-alike download pages for the "fixed" extension. Only use Cursor's official security notice and its own remediation script — never download a cleanup tool from a forum post, a social media link, or an email attachment. Cursor will never ask you to pay a fee or hand over credentials to "verify" your machine. If a message creates urgency and asks you to click, treat it as fake until proven otherwise.

What Cursor and Anthropic Are Doing Now

Cursor says the incident is contained. It has rebuilt its extension marketplace, redeployed its production infrastructure, rotated exposed and other internal credentials, and moved all inference traffic off Fireworks. It also took its whole extension store offline for a time, audited access, and says it found no other tampered extensions.

But two big questions are still open, and neither company has answered them yet. Nobody has explained how the attacker was able to publish builds under Anthropic's publisher name in the first place — that is the hole at the center of the whole incident. And the full story of how the Fireworks key was exposed remains Cursor's account alone, with Fireworks silent on the matter so far. Cursor's November 13 update is the result of two weeks of investigation, not a final word.

What This Means for Everyone Else

You do not have to be a developer to take something from this story. The supply chain behind the apps on your phone works the same way: trusted names, official stores, updates you install without thinking. A poisoned update in an official store is rare, but this week proved it is possible — and that the damage can outlive the app itself.

For regular users, the practical lessons are simple. Keep your apps and extensions updated, but get updates only from official stores and official publisher pages. Turn on every privacy mode a tool offers — in this incident, Privacy Mode users' prompts and code were explicitly safe. Use unique passwords and passkeys, keep a separate locked vault for private photos and documents instead of leaving them in the open, and treat any urgent "your device is infected" message as a scam until an official source confirms it. Small habits like these are the difference between a bad headline and a bad week.

Frequently Asked Questions

Was my computer hacked if I use Cursor?

Not necessarily. Only users who installed or updated the Claude Code extension from Cursor's marketplace on October 29, 2026, and received version 2.1.312 or 2.1.313, are at risk. If you updated on any other day, or got the extension from the Visual Studio Marketplace, Open VSX or npm, you were not exposed.

How do I know if the bad extension touched my machine?

Search your SSH authorized-keys file for the word "svc-telemetry." On a Mac, that file is ~/.ssh/authorized_keys; on Windows, check %USERPROFILE%\.ssh\authorized_keys and C:\ProgramData\ssh\administrators_authorized_keys. If the key is there, your machine was affected — run Cursor's cleanup script, rotate your credentials, and consider rebuilding the machine.

Is updating to version 2.1.314 enough?

No. Version 2.1.314 is clean and stops new infections, but it does not remove the SSH key or persistence files a tampered build already planted. You need to check for and remove those artifacts separately, then rotate any secrets the machine could reach.

Was Anthropic hacked?

No. Anthropic says its systems and employee laptops were not compromised, and the tampered builds were never published through its official channels. The attack exploited Cursor's marketplace cache and a key exposed at Cursor's vendor, Fireworks AI — not Anthropic's infrastructure.

What is Fireworks AI, and why did it have Cursor's data?

Fireworks AI is an infrastructure provider that ran AI model training and inference workloads for Cursor. The two companies shared a read-only storage bucket holding historical coding-agent traces, and Cursor had issued Fireworks an access key for it. That key was exposed, and an attacker used it to copy the bucket's contents — including traces with unredacted API credentials.

Could this happen with apps on my phone?

The same supply-chain risk exists anywhere software is distributed through a store: a compromised update can reach users before anyone notices. The defenses are the same too — install only from official stores, keep apps updated, use privacy modes, and keep private files in a locked vault like Pro Calculator Secure Vault, which stores everything locally on your device with sign-in protection and an intruder selfie.

The Bottom Line

Cursor's post-mortem tells a story that should make every software company uncomfortable: a single exposed vendor key turned into stolen credentials, stolen credentials turned into a poisoned update, and a poisoned update turned into backdoors on developers' machines — all through official channels, under a real publisher's name, for 11 hours. The technical fixes are already out: update to 2.1.314, check for the "svc-telemetry" key, run the cleanup script, rotate your secrets. The harder fix is the trust question underneath it. Marketplaces, vendors and publishers all have to prove — not just promise — that what you install is what they say it is.

If you take one habit from this story, make it this one: lock down what matters. Keep your private photos, videos, documents and notes behind a passcode, on your own device, where no update and no vendor can reach them. Pro Calculator Secure Vault by ZAS Technologies Global does exactly that — a secure vault, 8 smart calculators, an incognito browser and intruder selfie, with no data collected or shared.

Download Pro Calculator Secure Vault on Google Play

No comments:

Post a Comment

Post Top Ad

Pages