Back to all lessons
Awareness Lessons
3 weeks ago

Malicious Claude Code Extension Backdoors Developer Systems via Open VSX

Written by AI from the linked story. Not reviewed by an editor. How this works

A trojanized version of the Claude Code VS Code extension was published on the Open VSX marketplace, impersonating Anthropic's official release to trick developers into installing it. Once installed, the extension injected an SSH key, established a reverse tunnel, and created startup persistence scripts—effectively handing attackers long-term remote access to the compromised developer machine. This incident highlights the serious risk of third-party or community extension registries where vetting standards may be lower than official marketplaces. Developers often implicitly trust extensions that mimic legitimate vendor tooling, making this a highly effective supply chain attack vector. The compromise of a developer workstation can cascade into source code repositories, CI/CD pipelines, and production environments.

Tactical Insight

Immediate actions

  • Audit all installed VS Code or IDE extensions against official vendor sources and remove any version not sourced directly from the legitimate publisher.
  • Scan developer endpoints for unauthorized SSH keys, new startup scripts, and unexpected outbound tunnel connections indicative of this specific malware family.

Long-term improvements

  • Enforce an organizational allowlist of approved IDE extensions verified against official registries (e.g., VS Code Marketplace) and block installation of extensions from unapproved sources via policy.
  • Implement Software Composition Analysis (SCA) and integrity verification (code signing checks) for all developer tooling and third-party packages before installation.
  • Establish a formal third-party software vetting process that includes provenance checks, publisher verification, and periodic re-evaluation of approved tools.

Detection measures

  • Deploy endpoint detection and response (EDR) tools on developer workstations configured to alert on SSH key injection, new cron jobs or startup script creation, and reverse tunnel traffic.
  • Monitor outbound network connections from developer machines for anomalous persistent tunnels or connections to unknown external hosts.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.