A trusted name on an extension page is not the same as a trusted channel. On 29 October 2026 a tampered Claude Code extension reached developers through Cursor’s marketplace, and the cleanup turned out to be harder than pressing uninstall.
For about eleven hours on 29 October 2026, between roughly 2:27 a.m. and 1:35 p.m. Pacific, Cursor’s extension marketplace served two versions of an extension called anthropic.claude-code that Anthropic never built. Versions 2.1.312 and 2.1.313 looked like the real thing, carried the real name, and ran their first instructions the moment the extension loaded. According to the Cloud Security Alliance’s research note, the builds targeted macOS on Apple silicon and 64-bit Windows.
The incident is small by the standards of supply-chain attacks. It is also the clearest recent example of a problem every team using AI coding tools now has: the assistant is only as trustworthy as the marketplace that delivers it, and a malicious AI coding extension does not need to be clever to be dangerous.
What actually happened
Anthropic said its own systems and employee laptops were not compromised, and that the versions on its official channels, Open VSX and the Microsoft marketplace, were unaffected. Its account, as reported by StepSecurity, is that an attacker used access to Cursor’s marketplace to publish the tampered copy. Cursor pulled the versions, temporarily shut its marketplace down, audited access, rotated keys and rebuilt before restoring service, according to CSO Online’s reporting. Anthropic then shipped a clean 2.1.314, skipping 2.1.313 entirely.
How the attacker obtained publishing access has not been explained publicly. The Cloud Security Alliance note says neither company has detailed it, and it also says the public record does not show whether the malicious build was cryptographically signed. That matters: a headline claiming the build was “signed by the right publisher” is shorthand, not a confirmed fact.
What the loader did
Security researchers describe a short loader placed at the front of the extension’s main file, so it ran with no click and no prompt. By their accounts it did four things. It added an attacker-controlled SSH key, labelled svc-telemetry, to the user’s authorized_keys file. It tried to switch on the machine’s SSH service. It opened a reverse SSH tunnel to a server at 134.209.82[.]225 so the attacker could, in principle, reach back into the developer’s machine. And it installed persistence: a LaunchAgent on macOS, a scheduled task and startup script on Windows, and a cron entry on Linux.
It also sent a small beacon over plain HTTP listing the machine’s public IP, hostname, username, operating system, working directories, the global git email, and the names, not the values, of up to 40 environment variables that looked like keys or secrets. The Hacker News reported that no follow-on payloads were observed.
Why uninstalling is not enough
The detail that deserves the most attention is where the damage lives. The loader wrote files outside the extension’s own folder, so removing or updating the extension leaves the backdoor key and startup entries in place. Microsoft’s security team put it plainly, as quoted by The Hacker News:
“Removing or updating the extension does not remove artifacts written outside its installation directory.”
For a developer, that turns a routine habit, update and move on, into a false comfort. The extension looks clean at version 2.1.314 while an extra line in ~/.ssh/authorized_keys is still there, waiting.
The counter-argument: this may have been a near miss
There is a fair case that the incident was less serious than it sounds. Cursor’s first estimate was that at most 5,000 users received the bad versions, an upper bound from the affected company rather than an independent count, and the Cloud Security Alliance says Cursor’s revised notice dropped the figure. Analysts including the firm Phorion reported that enabling SSH generally fails without administrator rights, and found checks in the loader that skipped the step on some macOS machines. The window was about eleven hours, and the malware did not read secret values, only variable names. If the tunnel never connected, the attacker may have gained little.
But “probably failed” is not “verified safe”. The key and persistence were still written on machines where the SSH step failed, and a later change on the same laptop, such as an admin enabling remote login, could have made the old key useful. A near miss is still a reason to check.
BytesWall view: the extension is the new dependency
This is our opinion, not a finding from any source above. Teams have spent a decade learning to treat third-party packages as part of their attack surface. AI coding extensions deserve the same treatment, with a sharper edge: they run inside the editor, with the developer’s own file access, terminal and credentials, and increasingly with an agent’s permission to act. This is the same gap we described in the permission gap between AI agents and the systems they touch: what the tool is allowed to do matters more than what its name promises.
We expect three things over the next year. Marketplaces will add stronger publisher verification and slower rollouts for popular extensions. Security teams will start treating editor extensions like production dependencies, with allowlists and install delays of a day or two, a mitigation the Cloud Security Alliance also suggests. And attackers will keep impersonating AI brands, because the names carry instant trust. None of that is certain; it is a prediction.
The practical step for individuals and small teams overlaps with our AI agent security checklist: ask what an AI tool can reach before you grant it access, and assume the install channel can fail.
A test you can run today
If you used Cursor on 29 October 2026, spend ten minutes on this. It does not replace Cursor’s own remediation notice or your security team’s guidance, and anything you find should be treated as an incident, not tidied quietly.
First, find out whether you ever installed or auto-updated to version 2.1.312 or 2.1.313 from Cursor’s marketplace. Look in your Cursor extensions folder for folders named anthropic.claude-code-2.1.312 or 2.1.313. A version match alone does not prove compromise, since a clean 2.1.312 also existed on Open VSX, so check where it came from and when.
Second, open your authorized_keys file (in ~/.ssh on macOS and Linux, or %USERPROFILE%\.ssh on Windows) and look for a key commented svc-telemetry. Researchers advise comparing key fingerprints rather than trusting the comment, since a comment can be changed.
Third, look for the persistence items: a LaunchAgent named com.apple.sysmond on macOS, a scheduled task called SysMon or a sysmon.cmd startup file on Windows, or a cron @reboot entry on Linux. Fourth, check network logs for connections to 134.209.82[.]225 on ports 22 or 8099.
If anything matches, the guidance from Microsoft and others is to preserve evidence, isolate the machine, remove the key and persistence, and rotate every credential reachable from it, working from a clean device. Longer term, use an extension allowlist, delay updates for popular extensions, and alert on editor processes that write to authorized_keys or create startup items.
What to take away
The lesson is not that one editor or one AI vendor failed. It is that a recognised name on a marketplace page is a claim, not proof, and that cleanup has to cover what the extension did, not just what it was. Treat your AI tools as dependencies, limit what they can reach, and check the places an uninstall will never touch.
BytesWall also welcomes original articles and analysis from practitioners, researchers and editors. If you have something to share on AI, technology or security, send it to info@byteswall.com. Our editors will review it, and if it fits, we will publish it on byteswall.com with full credit to you.
Sources:
- CSO Online: Cursor removes malicious Claude Code extension after SSH backdoor attempt
- The Hacker News: reporting on the tampered Claude Code extension, including Microsoft and Anthropic statements
- Cloud Security Alliance research note: Trojanized Claude Code on Cursor’s marketplace (industry body; includes indicators and hunting steps)
- StepSecurity: Claude Code extension trojanized (vendor post that also promotes its own products; technical detail is useful but should be cross-checked)