gbhackers.comยท30 october 2026

Malicious Claude Code VS Code Extension Installs Persistent SSH Backdoor to Give Attackers Remote Access

Image for the article: Malicious Claude Code VS Code Extension Installs Persistent SSH Backdoor to Give Attackers Remote Access
Image via gbhackers.com

A trojanized version of the Claude Code extension (anthropic.claude-code version 2.1.313) contains a malicious loader enabling persistent SSH access to developer systems. Researchers found 66 lines of malicious JavaScript in the extension bundle, which runs before normal initialization. The malicious version was discovered on Open VSX, but Anthropic's official distribution on the Microsoft Marketplace remains unaffected. The loader collects system and credential-related environment variable names, and sets up SSH access for attackers. Developers should isolate affected hosts, block the C2 address, and rebuild systems to ensure they are clean.