Latest / Decrypted: The UK Cyber Briefing / A fake Claude Code extension sat in Cursor's marketplace for eleven hours
Transcript
- 0:03Good morning, and welcome to Decrypted.
- 0:05I'm Belinder. It's Saturday, the thirty-first of October, twenty twenty-six, and this is the morning edition.
- 0:12A fake Claude Code extension sat in Cursor's marketplace for eleven hours.
- 0:18For about eleven hours on Thursday 29 October, developers who installed Claude Code from the Cursor editor
- 0:26's marketplace could be handed a counterfeit.
- 0:29Cursor says versions 2.1.312 and 2.
- 0:331.313 carried Anthropic's name but were not developed by Anthropic.
- 0:38They worked as normal while leaving a back door open for someone else.
- 0:42The attacker's code was clumsy.
- 0:44The design weakness it exploited is not.
- 0:47What the fake did. The attackers put a short loader at the top of the extension's main file and left the
- 0:55genuine code untouched. Think of a courier who delivers your parcel perfectly while copying your front door ke
- 1:01y. It ran the moment the editor loaded the extension, with no click required.
- 1:06According to Phorion, the researchers who analysed it, it added the attacker's key to the list allowed to lo
- 1:11g in over S S H, the encrypted way administrators reach machines.
- 1:16It then tried to switch S S H on and opened a reverse tunnel, a connection the laptop makes outwards so the a
- 1:22ttacker can walk back in past the firewall.
- 1:25It installed persistence, and sent a beacon with the hostname, username, public address, Git email and the na
- 1:32mes, not values, of environment variables that look like keys or tokens.
- 1:37Why it mostly failed. Phorion found bugs.
- 1:42On macOS a command lacked the rights it needed, so S S H was never enabled.
- 1:47On Windows the setup script went to the wrong interpreter and failed.
- 1:51Cursor says that unless the editor ran with administrator privileges the login step would fail, though the ke
- 1:57y, the persistence and the beacon still landed.
- 2:00It says the attacker's server no longer functions, and that it rotated keys and rebuilt the marketplace.
- 2:06BleepingComputer put the exposure at up to 5,000 developers.
- 2:10I could not corroborate that figure elsewhere, so treat it as an estimate.
- 2:13What a defender sees. An entry commented svc-telemetry in the S S H authorised keys file.
- 2:22On macOS, a launch agent named com.
- 2:25apple.sysmond.plist; on Windows, a scheduled task called SysMon.
- 2:30Outbound connections to 134.
- 2:33209.82.225 on ports 22 and 8099.
- 2:39Uninstalling the extension removes none of this.
- 2:43Remove the persistence and the key, then rotate credentials.
- 2:46The design lesson. BleepingComputer says how the attackers published under Anthropic's name is unexplaine
- 2:54d. Whatever the answer, the shape is old: an editor extension runs with everything the developer can do, and t
- 3:01he marketplace listing is the only check.
- 3:03Marketplaces should verify that a publisher is who it claims before showing a vendor's name, and editors shou
- 3:10ld ask before an extension touches S S H settings or creates start-up tasks.
- 3:15Secure by Design says a tool that installs code from strangers should not inherit your whole account.
- 3:20UK organisations can treat developer laptops as production systems, allow a short approved list of extensions
- 3:27, mirror them internally, and delay updates by a day so eleven-hour incidents pass you by.
- 3:33The cost is some grumbling and an owner for the list.
- 3:36As always, this is opinion, not advice.
- 3:40That was Decrypted, with me, Belinder.
- 3:44The written version and every source are linked in the show notes.
- 3:48Thanks for listening. Stay patched, and stay sceptical.