AI Assistant or Trojan Horse? The “ClawdBot Agent” Extension’s Stealthy Developer Betrayal
Subtitle: A fake VS Code AI extension delivered a legitimate remote access tool, granting attackers full control over unsuspecting developers’ machines.
It promised smarter code, streamlined workflows, and seamless AI integration. Instead, the “ClawdBot Agent” Visual Studio Code extension delivered something far more sinister: a covert foothold for cybercriminals, hiding in plain sight on the machines of developers worldwide. The breach wasn’t just technical-it was personal, exploiting trust within the very tools meant to empower coders. Here’s how one malicious extension almost rewrote the rules of remote compromise.
Fast Facts
- “ClawdBot Agent” masqueraded as an AI coding assistant on the VS Code Marketplace in January 2026.
- The extension secretly installed a legitimate ConnectWise ScreenConnect remote access tool (RAT), granting attackers full control.
- Its functionality remained intact, making detection by users far less likely.
- Multi-layered delivery: Used DLL sideloading, Dropbox, PowerShell scripts, and fallback domains for resilience.
- Microsoft has removed the extension, but compromised systems require urgent remediation.
Inside the Attack: How “ClawdBot Agent” Fooled Developers
On January 27, 2026, a new extension hit the Visual Studio Code Marketplace, promising seamless integration with popular AI models like OpenAI and Anthropic. “ClawdBot Agent” looked the part: clean branding, a professional icon, and working AI features. But beneath its polished exterior, it was a wolf in sheep’s clothing.
The extension was engineered to activate automatically at startup, using VS Code’s extension system to ensure it ran before any user action. Its code quietly reached out to a command-and-control server, fetched a configuration file, and-if instructed-downloaded and executed additional payloads. Errors were suppressed, and fallback routines kicked in if the primary server went down, making detection even trickier.
The real payload? A legitimate ConnectWise ScreenConnect client, often used by IT professionals for remote support. But here, it was configured to report to an attacker-controlled server (meeting.bulletmailer[.]net), with hardcoded encryption keys tying victims’ systems directly to the adversary’s infrastructure. This clever use of a trusted tool helped the attack slip past security defenses that flag custom RATs.
The attackers didn’t stop there. They deployed a malicious DLL (“DWrite.dll”) written in Rust, designed for a technique called DLL sideloading. This file could download a second-stage payload from Dropbox, disguised as a Zoom update, providing redundancy if the main server was blocked. Additional backup methods included PowerShell scripts and alternate download domains, giving the operation remarkable staying power.
By the time Microsoft removed the extension, the damage was done. Developers who installed “ClawdBot Agent” had potentially handed over the keys to their digital kingdom. The attackers could access files, codebases, API keys, and more-all under the guise of an innocent AI helper.
Conclusion: Vigilance in the Age of AI Tools
The “ClawdBot Agent” saga is a sobering reminder: even the most trusted platforms can become unwitting accomplices to cybercrime. As AI-driven tools proliferate, so do the opportunities for attackers to weaponize trust and blend in with legitimate workflows. For developers and IT teams, the lesson is clear-scrutinize every extension, monitor for unexpected activity, and respond swiftly to signs of compromise. In the new era of software supply chain attacks, skepticism is as vital as innovation.
WIKICROOK
- Remote Access Tool (RAT): A Remote Access Tool (RAT) is software that allows someone to control a computer remotely, used for both legitimate support and malicious cyberattacks.
- DLL Sideloading: DLL sideloading is when attackers trick trusted programs into loading malicious helper files (DLLs) instead of the legitimate ones, enabling hidden attacks.
- Command: A command is an instruction sent to a device or software, often by a C2 server, directing it to perform specific actions, sometimes for malicious purposes.
- Payload: A payload is the harmful part of a cyberattack, like a virus or spyware, delivered through malicious emails or files when a victim interacts with them.
- Persistence Mechanism: A persistence mechanism is a method used by malware to stay active on a system, surviving reboots and removal attempts by users or security tools.



