GlassWASM
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Security researchers have uncovered GlassWASM malware, a stealthy threat hiding inside trojanized Visual Studio Code extensions.
Techniques & procedures
9 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Security researchers have uncovered GlassWASM malware, a stealthy threat hiding inside trojanized Visual Studio Code extensions... Socket’s Threat Research team spotted the campaign on the Open VSX marketplace.
Execution
3 techniques
Execution
Once the host resolves, the module builds an OS-specific command. On macOS and Linux, it runs curl piped into bash. On Windows, it runs Invoke-RestMethod piped into Invoke-Expression. Node’s child_process then executes the command with the console window hidden.
On Windows, it runs Invoke-RestMethod piped into Invoke-Expression.
On macOS and Linux, it runs curl piped into bash.
Stealth
3 techniques
Stealth
The payload ships as a TinyGo-compiled WebAssembly module. Notably, it carries no readable URLs, commands, or wallet strings. Instead, every meaningful string sits encrypted under ChaCha20 and rebuilds only in memory at runtime.
These carriers are not typosquats. Instead, they clone legitimate, verified VS Code Marketplace extensions down to the publisher ID, version, and repo links. According to Socket, this is “identity impersonation that exploits a cross-registry trust gap, not typosquatting.”
Node’s child_process then executes the command with the console window hidden.
Command and Control
2 techniques
Command and Control
On macOS and Linux, it runs curl piped into bash. On Windows, it runs Invoke-RestMethod piped into Invoke-Expression... Because the second stage arrives at runtime, its capability stays open-ended.
Rather than hardcoding a server, GlassWASM reads its orders off the public Solana blockchain. First, it polls an attacker-controlled wallet for recent transactions. Then it extracts the C2 host from the SPL Memo field attached to those transactions.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.