Oriel — AI & technology worth noticing, every day.

Official Claude Code extension compromise

Web page · https://phorion.io/blog/offical-claude-code-vsx-compromise

First seen by Oriel on .

AI summary

Phorion reports that Claude Code for VS Code 2.1.313 on the Cursor Marketplace contained a cross-platform SSH backdoor, with a macOS permission-check bug that can prevent SSH activation when Remote Login is off.

  • The injected JavaScript runs when the extension bundle loads, adds an attacker-controlled Ed25519 key to ~/.ssh/authorized_keys, and attempts to establish SSH access.
  • A reverse SSH tunnel connects to 134.209.82[.]225; a detached retry loop and platform-specific persistence keep it available across IDE closures and reboots.
  • On macOS, an unprivileged systemsetup -getremotelogin check returns an administrator-access error, so the malware may skip enabling Remote Login; existing SSH access remains exploitable.
  • The payload persists through a disguised macOS LaunchAgent, reports host details and matching environment-variable names, and supports interactive shell access and file transfer.
  • Phorion recommends checking for planted keys, tunnel processes, persistence files, and localhost SSH logins; uninstalling the extension alone does not remove the backdoor.

#supply chain security #claude code #ssh #macos malware

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 1,008, latest observation ; +989 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 553, latest observation ; +548 over observed period since

Aliases

SourceExternal IDURL
Hacker News50300683https://phorion.io/blog/offical-claude-code-vsx-compromise/ Read discussion