Rogue Claude Code Extensions Drop Backdoors on Developer PCs

SHARE:
Rogue Claude Code Extensions Drop Backdoors on Developer PCs

Malicious extension packages posing as Anthropic's Claude Code have weaponized developer environments, injecting stealthy remote access trojans into workstations running VS Code and Cursor.

The gold rush toward AI-native programming has slammed into a critical supply chain tripwire. Security researchers have identified malicious extension packages masquerading as official releases of Anthropic's newly minted Claude Code assistant across Visual Studio Code and Cursor ecosystems. Rather than accelerating software development, the weaponized packages silently plant persistent Remote Access Trojans (RATs) directly onto engineer workstations.

Technical analysis first published by Phorion Labs details how adversaries exploited publishing mechanics on extension registries to impersonate Anthropic’s official developer tooling. Once pulled into an IDE, the rogue extension initiates an obfuscated background lifecycle hook that evades conventional static analysis before establishing an encrypted reverse command-and-control (C2) channel.

"Developers have become the highest-leverage targets in enterprise networks," noted cybersecurity specialist Kevin Beaumont in a public advisory tracking the incident. Because developer workstations routinely host elevated permissions, unencrypted environment variables, cloud deployment secrets, and direct access to source repositories, gaining an interactive desktop shell provides adversaries with an immediate gateway past traditional enterprise perimeters.

ADVERTISEMENT

The dropped payload executes directly within the developer's user space, harvesting active SSH keys, cloud CLI configurations for AWS and Google Cloud, and existing browser session tokens. It also provisions persistence through automated background scheduled tasks. The campaign specifically capitalized on developers' eagerness to integrate Anthropic’s terminal-first Claude Code capabilities into popular visual interfaces like Cursor and Microsoft's VS Code, where official plugin releases have been rapidly evolving.

This compromise shines a harsh spotlight on the persistent trust architecture vulnerabilities plaguing modern developer registries. Unlike mobile app ecosystems with rigorous human-in-the-loop review systems, open extension registries such as Open VSX and the VS Code Marketplace have struggled to stamp out sophisticated typosquatting and identity impersonation campaigns. Attackers understand that software engineers frequently install extensions on reflex, especially when adopting newly unveiled artificial intelligence tooling.

Anthropic has reiterated that its legitimate command-line interface for Claude Code must be installed strictly through verified command-line registries via official documentation, rather than third-party graphical extension registries claiming unverified affiliation. In the meantime, enterprise SecOps teams are being urged to audit workstation extension caches, invalidate cloud credentials issued to affected developer accounts, and enforce strict publisher whitelisting policies across all internal IDE deployments.

Sources & Primary References

Want real-time AI & tech intelligence dispatches?

Join the official TrendingTech Daily Telegram channel for breaking research, model launches, and market analysis.

Join Telegram Channel
Partner Intelligence

Automate Your Data & AI Infrastructure

Deploy autonomous agent pipelines and custom data integrations with Automation by Meir.

Discover AI Solutions →
Lex Fridman Podcast #419 — Sam Altman: OpenAI, GPT-5 & AGI
Lex Fridman & Sam Altman · 2 hr 18 min