GlassWorm
Infostealer · Worm · macOS, Windows
What is GlassWorm?
GlassWorm is a type of malware categorized as both an infostealer and a worm that affects Windows and macOS systems. It spreads through supply chain attacks by compromising repository credentials. Once an account is compromised, the attackers add malicious payloads to the repositories, which are then distributed to other users within development ecosystems. The malware utilizes various technical methods to hide its activity, including the use of encrypted JavaScript, Rust binaries, and invisible Unicode characters to complicate analysis. It also employs a unique command and control methodology that relies on the Solana blockchain to communicate with the attackers.
This threat primarily impacts software developers and organizations that rely on shared code repositories. To reduce the risk, users should implement strong authentication measures for all repository accounts, such as multi-factor authentication, and regularly audit their credentials. It is also important to carefully verify the integrity of any code or packages before integrating them into development environments.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
GlassWorm is a worm that propagated through supply chain attacks by compromising repository credentials from victim environments and having malicious payloads added to those compromised accounts for distribution to victims across the various development ecosystems. GlassWorm has numerous variants, including Rust binaries, encrypted JavaScript and a variant leveraging invisible Unicode characters that made reverse engineering difficult. GlassWorm has employed a unique command and control (C2) methodology using Solana blockchain. GlassWorm was first reported in October 2025.
How to protect yourself
Keep the operating system and applications updated, run a real-time antivirus, and be careful with email attachments and downloads. If you think a device is infected, follow our guide on removing malware and learn more about infostealer.
Techniques used
36 ATT&CK techniques, grouped by attack stage.
Persistence
Compromise Host Software Binary T1554Launch Agent T1543.001Registry Run Keys / Startup Folder T1547.001Credential Access
Credentials from Web Browsers T1555.003Keychain T1555.001Steal Web Session Cookie T1539Discovery
Browser Information Discovery T1217Software Discovery T1518System Information Discovery T1082System Language Discovery T1614.001System Location Discovery T1614System Time Discovery T1124Collection
Archive via Utility T1560.001Code Repositories T1213.003Data from Local System T1005Databases T1213.006Local Data Staging T1074.001Network Device Configuration Dump T1602.002Questions about GlassWorm
What is GlassWorm?
GlassWorm is a infostealer that targets macOS, Windows. GlassWorm is a worm that propagated through supply chain attacks by compromising repository credentials from victim environments and having malicious payloads added to those compromised accounts for distribution to victims across the various development ecosystems. GlassWorm has numerous variants, i
How do I remove GlassWorm?
Disconnect the device from the network, run a full scan with an up-to-date antivirus and a second-opinion scanner, then change your passwords from a clean device. For servers and business networks, involve your IT or incident response team, because this kind of malware is often part of a wider intrusion.