GlassWorm
- Type
- Worm
- Capabilities
- Credential theftSession hijackingExfiltrationPersistenceDefense evasionCrypto theft
- Delivery
- Lure
- Platforms
- WindowsmacOSLinux
GlassWorm is a credential-stealing, worm-like malware family targeting software developers and their development environments. First documented in October 2025, it spreads through malicious or compromised extensions distributed through Open VSX and Microsoft Visual Studio Marketplace, as well as compromised repositories and packages. Its operators impersonate popular development tools and themes and introduce malicious updates into previously benign extensions. Stolen GitHub, npm, Git, and Open VSX credentials enable further repository and package compromises, supporting continued propagation.
GlassWorm uses staged execution with JavaScript loaders and, in some variants, native Rust implants. Loaders conceal executable code in invisible Unicode characters and decrypt embedded stages using AES-256-CBC. Solana transaction memos act as dead drops for follow-on payload locations, allowing operators to redirect delivery without updating infected extensions or repositories. Some variants use a Google Calendar event as a backup source of command-and-control information. Execution delays and language and timezone checks help evade analysis and exclude Russian environments.
GlassWorm activity spans Windows, macOS, and Linux environments. macOS variants use AppleScript and LaunchAgents for execution and persistence, while earlier Windows variants use PowerShell and registry-based mechanisms. The malware steals developer tokens, browser data, session information, macOS Keychain secrets, and cryptocurrency wallet secrets, then exfiltrates collected information. It can also establish SOCKS proxy and remote-access channels. Some macOS variants attempt to replace Ledger Live and Trezor Suite with attacker-provided applications. Its primary targets are developer endpoints whose credentials provide access to source repositories, package registries, and downstream software distribution channels.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
OpenSourceMalware ties the attack to the GlassWorm threat actors. In May 2026, CrowdStrike, Google and the Shadowserver Foundation disrupted the GlassWorm botnet by taking down its four command-and-control channels simultaneously.
These investigations have identified a central figure known online as "ResoluteXBF" with connections to South African-based infrastructure. Even though the group was relatively new when it emerged in 2010, it has rapidly evolved from the Shai-Hulud campaign to subsequent operations that involved malware such as GlassWorm...
Techniques & procedures
83 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
In some instances, such as the daeumer-web.es-linter-for-vs-code package, attackers used direct typosquatting of legitimate publisher names to appear trustworthy and trick unsuspecting victims.
Initial Access
6 techniques
Initial Access
More than 300 GitHub repositories were poisoned using stolen developer credentials harvested from earlier Glassworm infections
Within a short period of time, the threat actor compromised more than 1,000 software packages and weaponized trusted development channels... Through compromise of CI runners, TeamPCP effectively converted trusted software distribution channels into malware delivery channels... downstream developers were able to retrieve them using package managers, GitHub Actions, Python libraries, NPM registries, and other software components that were configured to pull the latest releases from the repository.
[GlassWorm](https://attack.mitre.org/software/S9010) has spread through Visual Studio extensions.(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Aikido GlassWorm October 2025)(Citation: Socket GlassWorm January 2026) [GlassWorm](https://attack.mitre.org/software/S9010) has also spread through JavaScript projects hosted on Github.(Citation: Aikido GlassWorm October 2025)
Socket uncovered a theme cluster spanning four Visual Studio Marketplace and six Open VSX extensions, including two confirmed malicious extensions and a high-confidence link to GlassWorm.
More than 300 GitHub repositories were poisoned using stolen developer credentials harvested from earlier Glassworm infections, with malicious code force-pushed into default branches.
This is the core social engineering pattern behind the latest GlassWorm cluster: cloned listings create enough visual trust to attract installs before any malware is introduced.
Execution
12 techniques
Execution
It gains persistence by setting up scheduled tasks and Run registry keys so that the RAT comes back on every reboot.
It then force-pushed malicious commits to every repository the victim’s account could reach, spreading the infection to any developer who later cloned those repositories.
[GlassWorm](https://attack.mitre.org/software/S9010) has utilized AppleScript to include `set keychainPassword to do shell script` to execute shell command that retrieves passwords from the macOS keychain.(Citation: Koi Glassworm New Tricks December 2025)
« le sauvegardait sous %TEMP%\temp_batch.cmd, puis l’exécutait via cmd.exe en masquant la fenêtre »
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged JavaScript to execute its malicious code to include its hidden Unicode characters using the `eval` call.(Citation: Koi Glassworm Extensions November 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Aikido GlassWorm October 2025)(Citation: Socket GlassWorm January 2026) [GlassWorm](https://attack.mitre.org/software/S9010) has also utilized encrypted payloads compiled in JavaScript.(Citation: Koi Glassworm New Tricks December 2025)
which loads a native binary operating entirely outside the restrictive JavaScript sandbox with unfettered system access
The next month, researchers discovered the Glassworm attack, which utilizes VS Code extensions to compromise developer machines.
In its latest iteration, threat actors used a malicious OpenVSX extension impersonating WakaTime, bundling a Zig-compiled binary.
GlassWorm stealer, which was distributed via malicious IDE extensions on the Open VSX Registry.
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
GlassWorm is not limited to extensions that carry malicious code directly. It started to abuse these two VS Code-style manifest relationships ( extensionPack and extensionDependencies ) to turn one extension into an indirect installer for another.
The attack targets Python projects ... by appending obfuscated code to files like setup.py, main.py, and app.py. Anyone who runs pip install from a compromised repo or clones and executes the code will trigger the malware.
Persistence
7 techniques
Persistence
It gains persistence by setting up scheduled tasks and Run registry keys so that the RAT comes back on every reboot.
More than 300 GitHub repositories were poisoned using stolen developer credentials harvested from earlier Glassworm infections
establishes persistent remote access through a rogue Chrome extension
[GlassWorm](https://attack.mitre.org/software/S9010) has established persistence on macOS via a LaunchAgent by writing a plist under `/library/LaunchAgents`.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
The malicious code steals data and installs a persistent RAT, including a malicious Chrome extension.
[GlassWorm](https://attack.mitre.org/software/S9010) has set registry run keys for persistence in both `HKCU\Software\Microsoft\Windows\CurrentVersion\Run` and `HKLM\Software\Microsoft\Windows\CurrentVersion\Run\`.(Citation: Koi Glassworm InvisibleCode October 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) can modify hardware wallet applications.(Citation: Koi Glassworm New Tricks December 2025)
Privilege Escalation
5 techniques
Privilege Escalation
It gains persistence by setting up scheduled tasks and Run registry keys so that the RAT comes back on every reboot.
More than 300 GitHub repositories were poisoned using stolen developer credentials harvested from earlier Glassworm infections
[GlassWorm](https://attack.mitre.org/software/S9010) has established persistence on macOS via a LaunchAgent by writing a plist under `/library/LaunchAgents`.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
The malicious code steals data and installs a persistent RAT, including a malicious Chrome extension.
[GlassWorm](https://attack.mitre.org/software/S9010) has set registry run keys for persistence in both `HKCU\Software\Microsoft\Windows\CurrentVersion\Run` and `HKLM\Software\Microsoft\Windows\CurrentVersion\Run\`.(Citation: Koi Glassworm InvisibleCode October 2025)
Stealth
19 techniques
Stealth
« utilisait des noms aléatoires, des échappements hexadécimaux et des caractères Unicode invisibles pour masquer sa charge utile »
The campaign we analyzed, however, uses a different and under-observed class of characters (variation selectors) that remain largely invisible to common tooling.
Remote decryption: Decryption keys are no longer stored within the extension itself; they are now retrieved dynamically from attacker-controlled HTTP response headers like ivbase64 and secretkey.
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged AES-256-CBC encryption to obfuscate its malicious JavaScript payload.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has also utilized Base64 encoding to obfuscate the C2 details stored in the Solana memo field.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Koi GlassWorm Rust December 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) has utilized invisible Unicode Private Use Area (PUA) characters to obfuscate its malicious code so that it does not render in code editors.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Aikido GlassWorm October 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) has masqueraded as legitimate VSCode extensions.(Citation: Aikido GlassWorm October 2025)(Citation: Koi GlassWorm Rust December 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has also impersonated Github projects.(Citation: Aikido GlassWorm October 2025)
« L’extension était publiée sous l’identité microsoft pour se faire passer pour une extension officielle. »
Afterward, it deletes traces of the installer.
More than 300 GitHub repositories were poisoned using stolen developer credentials harvested from earlier Glassworm infections
The next month, researchers discovered the Glassworm attack, which utilizes VS Code extensions to compromise developer machines.
[GlassWorm](https://attack.mitre.org/software/S9010) has decoded its Base64 instructions.(Citation: Koi Glassworm InvisibleCode October 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has also decrypted its AES protected payloads.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has utilized logic to avoid executing on Russian based devices.(Citation: Socket GlassWorm January 2026)
Before doing anything visible, the malware validates the environment. It checks locale settings and will exit early on systems configured with Russian-language locales... It also probes for EDR software: CrowdStrike Falcon, SentinelOne, Carbon Black, and the StepSecurity Harden-Runner for GitHub Actions are all specifically detected.
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged Hidden Virtual Network Computing (HVNC) to remain undetected and conduct execution of collection and communication actions.(Citation: Koi Glassworm InvisibleCode October 2025)
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
GlassWorm is not limited to extensions that carry malicious code directly. It started to abuse these two VS Code-style manifest relationships ( extensionPack and extensionDependencies ) to turn one extension into an indirect installer for another.
The attack targets Python projects ... by appending obfuscated code to files like setup.py, main.py, and app.py. Anyone who runs pip install from a compromised repo or clones and executes the code will trigger the malware.
Execution guardrails: The malware continues to utilize staged JavaScript execution, in-memory follow-on code execution...
[GlassWorm](https://attack.mitre.org/software/S9010) has used a timeout function set to `9e5` which delays execution 900,000 milliseconds or 15 minutes to avoid detection.(Citation: Koi Glassworm New Tricks December 2025)
Credential Access
8 techniques
Credential Access
it can also be used to take screenshots and act as a keylogger.
Once active, GlassWorm harvested GitHub tokens, npm tokens, OpenVSX tokens, and cryptocurrency wallet data.
[GlassWorm](https://attack.mitre.org/software/S9010) has harvested Safari cookies stored within `/Library/Containers/com.apple.Safari/Data/Library/Cookies/ Cookies.binarycookies`.(Citation: Socket GlassWorm January 2026) [GlassWorm](https://attack.mitre.org/software/S9010) has also stolen cookies within Chromium and Firefox browsers.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
"Harvests NPM, GitHub, and Git credentials"; "NPM authentication tokens... GitHub tokens... OpenVSX credentials"
Glassworm ... is a self-propagating, credential-stealing worm ... later poisoned more than 300 GitHub repos using stolen credentials harvested in earlier Glassworm infections.
[GlassWorm](https://attack.mitre.org/software/S9010) has collected keys stored within `/Library/Keychains/login.keychain-db`.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has gathered credentials stored in Mozilla FireFox and Chromium-based Browsers.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
A small decoder passes them to eval() , and suddenly you are running a full malicious payload that steals tokens, credentials, and secrets.
Discovery
7 techniques
Discovery
[GlassWorm](https://attack.mitre.org/software/S9010) has the ability to check the OS of the victim host.(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has checked whether the OS platform value includes `darwin` prior to execution of macOS specific scripts.(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) has the ability to check the system’s time zone on the victim device.(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has searched browser data for cookies, history, login databases, and cryptocurrency wallets.(Citation: Socket GlassWorm January 2026)
Before doing anything visible, the malware validates the environment. It checks locale settings and will exit early on systems configured with Russian-language locales... It also probes for EDR software: CrowdStrike Falcon, SentinelOne, Carbon Black, and the StepSecurity Harden-Runner for GitHub Actions are all specifically detected.
[GlassWorm](https://attack.mitre.org/software/S9010) has searched for existing wallet applications to include Ledger Live and Trezor Suite.(Citation: Koi Glassworm New Tricks December 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged geofencing logic to detect whether it is operating in a Russian associated time zone to determine whether it continues to execute.(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has identified the system language settings by checking for `ru_RU`, `ru-RU`, `ru`, and `Russian` to prevent execution in a Russian associated device.(Citation: Socket GlassWorm January 2026)
Lateral Movement
1 technique
Lateral Movement
It then force-pushed malicious commits to every repository the victim’s account could reach, spreading the infection to any developer who later cloned those repositories.
Collection
12 techniques
Collection
[GlassWorm](https://attack.mitre.org/software/S9010) has collected local data from a compromised host to include desktop cryptocurrency wallet data, and documents from within Desktop, Documents, and Downloads.(Citation: Socket GlassWorm January 2026)
it can also be used to take screenshots and act as a keylogger.
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[GlassWorm](https://attack.mitre.org/software/S9010) has staged collected data in a working directory within a temp folder to include `/tmp/ijewf`.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026)
Besides stealing cookies, localStorage, the full Document Object Model (DOM) tree of the active tab, bookmarks, screenshots... it can also be used to take screenshots
Besides stealing cookies, localStorage, the full Document Object Model (DOM) tree of the active tab, bookmarks, screenshots, keystrokes, clipboard content...
The RAT also force-installs a Chrome extension ... which acts as an onboard session surveillance. Besides stealing cookies, localStorage, the full Document Object Model (DOM) tree of the active tab...
[GlassWorm](https://attack.mitre.org/software/S9010) has gathered code repository authentication materials for NPM and GitHub.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026) [GlassWorm](https://attack.mitre.org/software/S9010) has collected details pertaining to the npm configuration data for `_authToken`.(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has collected data from macOS devices through the gathering of Apple Notes related files by targeting `/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite`, `/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite-wal`, and `/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite-shm`.(Citation: Socket GlassWorm January 2026)
"...collects credentials, keychains, and documents, compresses them into an archive, and exfiltrates the data..."
[GlassWorm](https://attack.mitre.org/software/S9010) has archived collected files within a zip file prior to exfiltration to include `/tmp/out.zip`.(Citation: Socket GlassWorm January 2026)
[GlassWorm](https://attack.mitre.org/software/S9010) has gathered data pertaining to VPN configurations.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Socket GlassWorm January 2026) [GlassWorm](https://attack.mitre.org/software/S9010) has also targeted locally stored data on macOS located in `/Library/Application Support/Fortinet/FortiClient/conf/vpn.plist`.(Citation: Socket GlassWorm January 2026)
Command and Control
14 techniques
Command and Control
[GlassWorm](https://attack.mitre.org/software/S9010) has utilized Google Calendar as backup C2.(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Koi GlassWorm Rust December 2025)
CrowdStrike, together with Google and the Shadowserver Foundation, neutralized all four GlassWorm command-and-control channels on May 26, 2026.
[GlassWorm](https://attack.mitre.org/software/S9010) has used HTTP for C2 and extracts data from the HTTP response headers.(Citation: Koi Glassworm InvisibleCode October 2025)
Glassworm used invisible Unicode-based code injection, blockchain-based C2 infrastructure, and Google Calendar as a backup command server to turn infected developers’ machines into criminal proxy nodes.
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged peer-to-peer software to facilitate communications within the victim network to include the software WebRTC.(Citation: Koi Glassworm InvisibleCode October 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has also established a SOCKS proxy to interact with victim devices that also acted as a proxy node for follow-on behaviors.(Citation: Koi Glassworm InvisibleCode October 2025)
The Solana dead-drop mechanism: infected machines query a Solana wallet's transaction history to discover the current C2 address.
« La blockchain Solana est utilisée comme mécanisme de C2 dynamique, permettant de changer l’infrastructure sans publier de nouvelle version d’extension. »
[GlassWorm](https://attack.mitre.org/software/S9010) has leveraged blockchain-based C2 infrastructure to include Solana blockchain that contains additional C2 details within the memo field.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm Extensions November 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Aikido GlassWorm October 2025)(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025) [GlassWorm](https://attack.mitre.org/software/S9010) has also leveraged Google Calendar to host encoded data.(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025)
"The malware uses the Solana blockchain as its command and control infrastructure"; "reads the memo field... JSON object with a base64-encoded link" | "The malware reaches out to this Google Calendar event as a backup C2 mechanism... base64-encoded URL"
[GlassWorm](https://attack.mitre.org/software/S9010) has downloaded additional payloads from C2.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm Extensions November 2025)(Citation: Socket GlassWorm January 2026)(Citation: Koi GlassWorm Rust December 2025)
In April, Aikido researchers reported a new attack by the GlassWorm stealer... Ultimately, this second-stage implant exfiltrated crypto wallet data, environment variables, and other secrets. It also installed a RAT on the infected device.
The ABI-decoded response holds the C2 pointer. Operators pick the encoding: a plain UTF-8 URL, Base64, Base64 plus XOR, gzip plus Base64, or a bash one-liner.
[GlassWorm](https://attack.mitre.org/software/S9010) has distributed C2 using BitTorrent’s Distributed Hash Table (DHT) network to harness a decentralized command capability.(Citation: Koi Glassworm InvisibleCode October 2025)
AES-encrypted Stage-2 payloads have their keys delivered via HTTP response headers.
Exfiltration
3 techniques
Exfiltration
"access private repositories, pull data"; "data exfil" is referenced generally in the article context of downstream harm
[STAGE 2: ENCRYPTED PAYLOAD] AES-CBC decrypt using header-delivered keys -> credential stealer / RAT
After gathering this information, it sends it to a remote server via a POST request.
Impact
2 techniques
Impact
[GlassWorm](https://attack.mitre.org/software/S9010) can intercept and modify transaction details associated with hardware wallet applications before signing.(Citation: Koi Glassworm New Tricks December 2025)
[GlassWorm](https://attack.mitre.org/software/S9010) has the ability to steal credentials for cryptocurrency wallets.(Citation: Koi Glassworm New Tricks December 2025)(Citation: Koi Glassworm InvisibleCode October 2025)(Citation: Socket GlassWorm January 2026)
Observables
90 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
124 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.