A malicious artifact identified as anthropic.claude-code version 2.1.313 in the Open-VSX registry prepends a 66-line loader to the otherwise legitimate Claude Code extension bundle. It runs as soon as VS Code loads the extension, before the normal code, and does not require the user to start a Claude conversation. The loader quietly gathers basic host details and names of potentially sensitive environment variables, then adds an attacker-controlled SSH key labeled “svc-telemetry” to the user’s authorized keys. It also tries to enable the SSH service and opens a reverse SSH tunnel to 134.209.82.225, giving the operator a route to the victim machine.
The malware seeks persistence through a macOS LaunchAgent, Linux cron entry, or Windows scheduled task or Startup folder, and sends host information and public IP data to a beacon over HTTP port 8099. Its injected stage does not download additional malware; scripts and tunnel credentials are built into or generated from the extension. The analysis identifies indicators including the server address, key fingerprint, persistence paths, and file hashes, and recommends isolating affected systems, preserving evidence, rotating exposed credentials, and investigating possible follow-on access. The findings establish that the examined artifact is malicious, but do not establish how it was published or show that Anthropic’s official Marketplace release or distribution systems were compromised.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.