GlassWorm Supply Chain Attack on Visual Studio Code Extensions
A sophisticated supply chain attack has targeted Visual Studio Code (VS Code) extensions, leveraging a self-propagating worm known as GlassWorm. Security researchers at Koi Security discovered the malware after identifying suspicious behavior in an extension called CodeJoy on the OpenVSX marketplace. The worm employs a novel technique using invisible Unicode characters, making the malicious code undetectable to the human eye within code editors. This approach allows the malware to evade traditional detection methods and remain stealthy within compromised extensions. GlassWorm utilizes the Solana blockchain as its primary command-and-control (C2) channel, with Google Calendar serving as a backup C2 infrastructure, enhancing its resilience and making takedown efforts more challenging. The worm has already infected nearly 36,000 developer machines, indicating a significant impact on the developer ecosystem. Once installed, GlassWorm harvests credentials from NPM, GitHub, and Git, enabling it to propagate further by compromising additional packages and extensions. The malware also targets cryptocurrency wallets, seeking to steal digital assets from affected users. Infected systems are converted into SOCKS proxy servers, effectively turning developer machines into part of the attacker's extended C2 infrastructure. Additionally, GlassWorm installs hidden virtual network computing (VNC) servers, granting attackers full remote access to compromised machines. The attack highlights the growing risks associated with open-source marketplaces and the potential for widespread compromise through popular development tools. Security experts emphasize the importance of scrutinizing extension code and implementing stronger guardrails in extension marketplaces to prevent similar attacks. The use of invisible Unicode and blockchain-based C2 channels represents a significant evolution in malware stealth and persistence. The incident underscores the need for developers and organizations to monitor for unusual extension behavior and to regularly audit installed extensions for signs of compromise. The attack also demonstrates the potential for supply chain threats to rapidly scale, given the interconnected nature of developer tools and platforms. As the investigation continues, security vendors and marketplace operators are working to identify and remove malicious extensions and to strengthen defenses against future supply chain attacks.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
5 events from the most recent confirmed update back to the earliest known activity.
GlassWorm evolves with Zig dropper and cross-IDE propagation
Researchers reported a new GlassWorm variant delivered via the malicious Open VSX extension 'specstudio.code-wakatime-activity-tracker,' which impersonated WakaTime and used a Zig-compiled binary to escape the JavaScript sandbox and spread to multiple VS Code-compatible IDEs. The campaign deployed a second-stage extension, 'floktokbok.autoimport,' used Solana-based C2, avoided Russian systems, exfiltrated data, installed a RAT, and ultimately dropped a malicious Chrome info-stealing extension; the Open VSX package was later removed.
Nine GlassWorm extensions remained live on VS Marketplace
Breakglass Intelligence reported that nine malicious GlassWorm-infected Visual Studio Code extensions were still available on the Microsoft Visual Studio Marketplace as of 2026-03-16, indicating the campaign remained exposed to developers months after its initial discovery. The report also detailed a Rust-based second stage using in-memory PE execution and published IOCs plus YARA and Suricata detections.
Scope of GlassWorm campaign tied to infected marketplace extensions
Analysis revealed that 13 extensions on Open VSX and one on the Microsoft Extension Marketplace were infected, with roughly 35,800 total downloads. Reports also described the malware's objectives as credential theft, cryptocurrency wallet draining, proxy deployment, persistence, and further propagation via stolen credentials.
Researchers uncover GlassWorm supply-chain worm in VS Code extensions
Security researchers, including Koi Security, identified and disclosed a self-propagating malware campaign dubbed GlassWorm targeting developer extension marketplaces. The worm was found to hide code with invisible Unicode characters and to use Solana blockchain infrastructure, with Google Calendar as fallback command-and-control.
First GlassWorm infections observed in VS Code extension ecosystems
The earliest known GlassWorm infections were observed affecting Visual Studio Code extensions distributed through Open VSX and later the Microsoft Extension Marketplace. The campaign used compromised developer accounts and extension auto-updates to begin spreading through trusted packages.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
10 references tracked. Mallory keeps watching after this page renders.
GlassWorm uses Zig binary to infect multiple IDEs | brief | SC Media
scworld.com
Open sourceGlassWorm Campaign Uses Zig Dropper to Infect Multiple Developer IDEs
thehackernews.com
Open sourceGlassWorm: 9 Infected VS Code Extensions Are Still Live -- Inside the Rust-Powered Supply Chain Attack Targeting Developers - Breakglass Intelligence - Breakglass Intelligence
intel.breakglass.tech
Open sourceSelf-Spreading 'GlassWorm' Infects VS Code Extensions in Widespread Supply Chain Attack
thehackernews.com
Open sourceRisky Bulletin: Clever worm hits the DevOps scene
news.risky.biz
Open sourceSelf-Propagating GlassWorm Attacks VS Code Supply Chain
darkreading.com
Open sourceGlassWorm Supply Chain Worm Uses Invisible Unicode and Solana Blockchain for Stealth C2
securityonline.info
Open sourceGlassWorm goes native: New Zig dropper infects every IDE on your machine - Infosec.Pub
infosec.pub
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


