01Watch & read
The Cursor Marketplace Attack That Trojanized Claude Code
27 Nov 2026 · 10:05
Watch on YouTube ↗A tampered Claude Code extension appeared through Cursor’s marketplace cache after an attacker used a stolen vendor credential. We trace what the malicious loader attempted, what the available evidence does and doesn’t establish, and what builders can learn about extension updates and supply-chain trust. Sources: https://cursor.com/blog/security-incident-update https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/ https://news.ycombinator.com/item?id=50300683 https://www.reddit.com/r/ClaudeCode/comments/1xzw08j/the_trojanized_claude_code_extension_in_cursors/
Chapters
Commands & links
Article
The claim
A Claude Code extension in Cursor’s marketplace tried to plant persistent SSH access. The familiar extension name didn’t guarantee the package being served was genuine. This is a story about a distribution path, not a flaw proven in Claude Code itself. Cursor says a stolen vendor credential let an attacker place malicious copies in its marketplace cache.
That distinction matters when deciding which systems and users may have been exposed. The name on an extension can stay familiar while the route delivering it changes underneath.
The setup
Developers install extensions because they want a fast, familiar way to add tools. That convenience depends on several links: publisher, marketplace, cache, update, then local machine. The editor receives code from a distribution chain, even when installation takes one click. If one link serves a modified package, that code runs with the extension’s opportunity to act.
An extension marketplace is part of the software supply chain. A publisher’s name is useful context, but it doesn’t prove every delivered file is intact. The installed package is the thing that actually runs on a developer’s machine. So the useful question is not only who made the extension.
It’s which channel served this particular copy, and whether that copy matches what was intended.
The path
Cursor’s November update describes the attacker’s route into the marketplace cache. The company says the attacker used a stolen credential to place malicious copies there. Cursor says those copies went directly onto the cache serving its VS Code extension marketplace. That account matters because the affected part of the chain was the distribution path Cursor operated.
The reported sequence starts with a vendor credential the attacker had obtained. Cursor says that credential was then used to place modified Claude Code extension copies directly on the cache serving its VS Code marketplace. A cache can speed delivery, but it also becomes a security boundary when it determines which bytes users receive. The install request may look ordinary to a developer, while the package behind it is not.
Cursor says versions two point one point three one two and two point one point three one three were potentially served. Its reported exposure window was approximately eleven hours, on October twenty-ninth, twenty twenty-six. Those details identify a bounded event, with specific versions and a specific distribution channel. They don’t tell us how many machines were compromised, or which attempted actions succeeded.
Cursor says Open VSX never had the malware. Microsoft also says the official Visual Studio Marketplace and npm package were not affected. That means the incident was not every Claude Code installation or every place the extension could be obtained. It was a specific marketplace distribution path, and that scope should stay clear in any retelling.
The payload
Microsoft analyzed what happened when the malicious extension module loaded. Its report describes an injected loader that attempted several actions on the host. This is a technical description of the code’s behavior, not a claim that every action completed. The word attempted matters: the analysis doesn’t say every action succeeded on every machine.
First, the loader attempted to add an attacker-controlled SSH key. It also tried to enable local SSH and establish reverse SSH forwarding. Those steps aim to create a route back into the machine from outside. But code attempting a tunnel doesn’t mean a working tunnel was established.
The loader also attempted to configure persistence, so access could survive beyond one moment of execution. Microsoft says it reported details about the host as well. Together, those behaviors describe an effort to keep access and learn about the machine. They are reported actions of the loader, not proof that every step worked.
Remote access depended on more than the malicious code being present. Microsoft says success depended on host privileges, SSH configuration, and the attacker’s server. Even if tunnel access failed, the loader could still write keys and persistence artifacts. So a failed connection is not enough by itself to conclude that a machine stayed unchanged.
The risk isn’t limited to a dramatic, visible remote session. A loader can leave local changes even when the larger access attempt fails. That is why incident response has to look at what ran and what it tried to modify.
The evidence
Cursor put the upper bound at five thousand users who may have requested the specific cached versions. That is a ceiling on potential recipients, not a count of confirmed infections. Some recipients might not have installed or loaded the extension; the available figure doesn’t resolve that. Keep potential exposure, execution, and confirmed compromise as separate categories.
The reported availability window was around eleven hours. That is the duration Cursor says the versions were potentially served, not the time each user spent exposed. A short window can still matter when updates are installed during that interval. But duration alone doesn’t establish what happened on any particular developer’s machine.
The official account was published on November thirteenth, after the October twenty-ninth event. Cursor says the last attacker activity it saw was November first, and that activity was blocked. That timeline helps separate the exposure window from the later incident response. It doesn’t substitute for checking a potentially affected machine or following incident-specific guidance.
There are three different statements people can accidentally collapse into one. Potentially served means a user may have received an affected build. The five-thousand ceiling describes potential recipients; it does not count confirmed infections. And an attempted remote access action does not establish that access succeeded.
The Hacker News thread drew substantial discussion: one thousand fourteen points and five hundred fifty-three comments when indexed. An Anthropic representative said the incident affected Cursor’s marketplace distribution, not Anthropic’s systems or the official VS Code marketplace. That statement narrows scope, and it matches the distinction between a product’s publisher and a separate delivery channel.
It doesn’t remove the need to investigate the affected channel or check a machine that may have received the build. An Anthropic representative in the thread clarified the distribution boundary. The point is specific: the incident affected Cursor’s marketplace delivery, rather than Anthropic’s systems or the official VS Code marketplace. That helps keep the scope accurate without implying there was no risk on affected hosts.
A November nineteenth Reddit discussion focused on what happens after removal. Developers highlighted that uninstalling the extension may not undo SSH keys or persistence artifacts it attempted to place. That concern follows from the payload analysis, but each machine’s state still needs to be checked. Removal stops the extension from loading again; it doesn’t automatically prove the host is clean.
The response
If you may have installed one of the affected versions, start with Cursor’s incident-specific guidance. Don’t assume uninstalling alone removes changes the loader may have made. Have your security team inspect SSH keys, SSH settings, forwarding, and persistence artifacts against the vendor’s guidance. The reports describe attempted behavior, so check the actual host state before drawing conclusions.
For teams, first identify whether the affected marketplace was part of your extension workflow. Then determine whether a machine requested either listed version during the exposure window. Finally, follow the vendor’s incident guidance, and preserve relevant evidence while you investigate. That sequence keeps the response tied to the reported scope instead of assuming every install was compromised.
The useful habit is to treat extension updates as code arriving on your machine. Check the channel and version, especially when an update changes a tool with local access. That framing gives developers a concrete place to ask questions before installing or during an incident. For a routine update, note the publisher, the source channel, and the version you’re installing.
For a security incident, compare your local version and install timing with the vendor’s affected range. If the incident involves persistence, verify host state after removal instead of treating uninstall as cleanup. These are practical checks; they don’t replace the incident response instructions from the vendor. Publisher identity is one signal, not the whole chain.
A marketplace cache can become a meaningful security boundary. A bounded exposure estimate is not a confirmed compromise count. Remediation has to account for what the code attempted to change. Those distinctions are useful well beyond this particular extension incident.
The system
The broader question is how coding-agent ecosystems secure updates end to end. Credentials need protection, caches need integrity checks, and publishers need clear incident procedures. Users see one install button, while behind it sits a chain that needs to preserve trust. Security depends on each part of that chain making the next part verifiable.
Coding agents can act on local projects, terminals, and development environments. That makes extension provenance a practical security question, not marketplace paperwork. When a tool can work near source code and developer credentials, knowing where its code came from matters. An extension can look familiar while the delivery path is compromised.
A listed maximum can describe possible exposure without establishing infection. And removing software is only one step when persistence may have been attempted. The incident is a reminder to track the actual package and the machine it reached. Cursor’s update is the primary source for the affected versions, cache path, and exposure estimate.
Microsoft’s analysis documents the loader’s attempted behavior and the host-dependent limits. The Hacker News discussion adds Anthropic’s clarification about distribution scope. Together, the sources support a careful account: attempted access, a bounded channel, and no proof that every recipient was compromised.
By the end
By the end, remember three points. Cursor reports potentially malicious cached builds through a defined channel and an approximately eleven-hour window. Microsoft describes SSH access and persistence attempts, but success depended on the host. If you might be affected, use incident guidance and check for artifacts beyond the extension itself.
In plain terms: trace the package, separate exposure from infection, and verify the machine after removal. Subscribe for more no-hype AI breakdowns.