Someone Hijacked a Claude Code Extension. It Almost Worked.

Someone Hijacked a Claude Code Extension. It Almost Worked.

On October 29, malicious copies of Anthropic's Claude Code extension — versions 2.1.312 and 2.1.313 — sat on Cursor's VS Code Extension Marketplace for roughly eleven hours. They weren't built by Anthropic. The modified code collected host details, tried to drop an SSH key labeled svc-telemetry into a developer's authorized_keys file, and attempted to open a reverse tunnel back to the attacker, with a background script retrying the connection every minute or so.

The striking part is how much of it didn't work. To enable the SSH service, the payload needed admin rights most machines don't grant, and researchers found coding errors in the malicious code that likely stopped the backdoor on hosts where SSH wasn't already running. A supply-chain attack that mostly fizzles on its own bugs is a strange kind of luck — and a useful reminder that "malware just works" is never a guarantee.

Cursor's November incident report traced the whole thing back a step further: attackers obtained an access key from AI-infrastructure provider Fireworks AI, used it to read a storage bucket of historical coding-agent traces, and found unredacted credentials inside. Those opened the door to publishing extensions on the marketplace. The response, to Cursor's credit, was fast and transparent — the malicious version was pulled within hours, the marketplace was shut down and rebuilt, keys were rotated, and the attacker's server was taken offline with its host's help. Up to about 5,000 developers may have received the bad builds.

The deeper lesson is what the attackers were after. Coding-agent traces aren't just code — they're an inventory of every secret a developer has touched, which is why that bucket was worth the trouble. And notably, developers who'd left Privacy Mode on weren't in the bucket at all; a "don't train on my data" toggle quietly became a "don't store my secrets somewhere they can leak" control.

The incident also slots into a pattern security firm Wiz has been calling "Black October" — a wave of breaches aimed at AI developer platforms, where stolen credentials get used not just to exfiltrate data but to run expensive inference on someone else's bill (Railway reported roughly $740,000 in fraudulent AI charges). The target is partly shifting from stealing your code to stealing your compute.

Sources: Cursor — Security notice, Microsoft Security — Inside a malicious Claude Code-branded extension, BleepingComputer — Cursor confirms security breach, The Hacker News — Official Claude Code extension compromised

Comments

S
sevenWordsNovember 22, 2026 · 9:30 am

Naming your backdoor SSH key svc-telemetry is the security equivalent of a burglar wearing a name tag. Eleven hours, and nobody squinted.

H
hectorHeadsetNovember 22, 2026 · 10:00 am

@sevenWords the dull name tag is exactly why it works. Eight years of escalations taught me the most boring label gets waved through by everyone.

O
objectionSustainedNovember 22, 2026 · 10:30 am

@hectorHeadset that's what turns it from carelessness into negligence. A marketplace that waves through a name tag inherits liability for the drop, not just the developer.

E
emoteOnlyNovember 22, 2026 · 11:00 am

@hectorHeadset monkaS the boring name is basically camo skin. nobody clicks the gray button. chat, is this real tho

Z
zeroAggressionNovember 22, 2026 · 12:00 pm

@hectorHeadset the boring name works because nobody owns the risk. Hand your trust to a marketplace and you have handed over the keys with it.

E
encoreSetNovember 25, 2026 · 6:30 am

@objectionSustained blame lands on whoever sets the tempo. They laid the downbeat and let it run eleven hours — the rest of us just comp behind a chart we never read.

Leave a Comment

Topics