A group of VS Code theme extensions linked to GlassWorm, a malware campaign targeting developers. Their investigation identified two confirmed malicious extensions and several related themes across the Visual Studio Marketplace and Open VSX registry.
Two suspicious themes, Coca-Cola Christmas and Aurora Borealis Studio Theme, had collected more than 8,000 Marketplace installs.
Although the analyzed versions contained no active malicious payloads, both included executable JavaScript and shared development links with confirmed malware.
Socket classified them as high-risk, and Microsoft removed the reported extensions after receiving the findings.
The distinction matters: not every extension in the group was actively malicious. However, unnecessary executable code creates opportunities for later weaponization.
VS Code themes can run code, and the editor lacks granular permission controls that would limit those capabilities.
VSCode Themes Conceal GlassWorm
Aurora Nocturne Night Theme, a previously removed extension, concealed a Windows downloader inside its distributed package.
Its public repository showed ordinary theme functionality, but the installed extension executed a different, heavily obfuscated JavaScript file.
Aurora Nocturne Night Theme. The threat actor published it under the microsoft identity to masquerade as a Microsoft extension, while the distributed package concealed a Windows downloader (Source: socket)The roughly 59 KB file used randomized names, hexadecimal escapes, and invisible Unicode characters to hide its payload.
After decoding, it contacted fingercakes4sale[.]store, downloaded attacker-controlled content, and saved it as %TEMP%\temp_batch.cmd. It then launched the script through cmd.exe, hiding the command window.
Cosmic Nebula Themes provided the strongest technical connection to GlassWorm. Its Marketplace build decrypted embedded JavaScript using AES-256-CBC and immediately executed the recovered code through eval().
The next stage checked language and timezone settings, avoiding systems matching Russian environment conditions. The loader then queried Solana transaction memos to find the next payload address.
This blockchain-based lookup allowed attackers to change delivery infrastructure without publishing a new extension version. Downloaded JavaScript executed in memory with access to Node.js capabilities.
Socket identified the same Solana address, encryption key, and execution pattern previously documented in GlassWorm activity.
Researchers attributed the analyzed Cosmic Nebula build to GlassWorm with high confidence, while describing the wider theme group as GlassWorm-associated.
Coca-Cola Christmas, Aurora Nocturne Night Theme, and Aurora Borealis Studio Theme projects (Source: socket)Git commit identities, nearly identical theme definitions, shared welcome-page code, and recurring Russian-language comments connected the projects. These findings support shared development links, but do not prove that every publishing account belongs to one individual.
The investigation also found six related extension identities in Open VSX. Coca-Cola Christmas had approximately 39,000 downloads there, while Charcoal Mint had around 10,000.
Download totals indicate potential exposure, not confirmed infections, because several analyzed versions lacked active payloads. Security teams should inventory installed themes across both registries and inspect the actual extension packages.
Reviews should examine package.json, activation events, JavaScript entrypoints, runtime decryption, network requests, and process execution. Public repositories may not match distributed builds, socket said.
Organizations that installed Aurora Nocturne should investigate the malicious domain, dropped batch file, and command shells launched by VS Code.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
