_research / glassworm-v2-fake-vscode-extensions-supply-chain-threat
RESEARCH ANALYSIS 7 min read

GlassWorm v2 Hides in Plain Sight: 73 Fake VS Code Extensions Weaponize Developer Trust

73 cloned VS Code extensions on Open VSX deliver GlassWorm v2 infostealer malware, targeting developers through a sophisticated supply chain campaign.

2026-04-27 · Source: The Hacker News
🔬
RESEARCH ANALYSIS

This analysis is based on research published by The Hacker News. CypherByte adds analysis, context, and security team recommendations.

Source: Original research first reported by The Hacker News. Analysis and perspective by CypherByte Research.

Executive Summary

A coordinated and methodically patient threat campaign has surfaced across the Open VSX repository, one of the most widely used alternative extension marketplaces for Microsoft Visual Studio Code. Cybersecurity researchers have identified 73 cloned extensions masquerading as legitimate developer tools, with six confirmed to actively deliver a second-generation information-stealing payload tracked as GlassWorm v2. The remaining extensions appear staged — dormant infrastructure almost certainly awaiting a future activation signal. This is not opportunistic malware; this is deliberate, scaled, supply chain sabotage targeting the developer ecosystem at its most trusted layer.

Security engineers, DevSecOps teams, open-source software maintainers, and any organization that relies on VS Code-based development pipelines should treat this as a high-priority threat requiring immediate audit. The attack surface here is deceptively broad. Developers are uniquely high-value targets — their machines routinely hold source code, cloud credentials, API keys, CI/CD pipeline secrets, SSH keys, and access tokens capable of cascading compromise far beyond a single endpoint. A single infected developer workstation inside an enterprise environment is effectively a skeleton key. This campaign understands that, and it is built accordingly.

🔍 Key Finding: Of 73 identified malicious or suspicious extensions on Open VSX, 6 are actively delivering GlassWorm v2 payloads. The remaining 67 are assessed as staged infrastructure — cloned, published, and waiting. This pattern is consistent with a deliberate, phased supply chain operation rather than isolated malware distribution.

Technical Analysis

The attack chain begins with a deceptively simple premise: clone a legitimate, well-regarded VS Code extension, inject malicious code into the package, and publish it to Open VSX under a name close enough to the original to fool a distracted developer. This technique — known as typosquatting or dependency confusion via namespace impersonation — is not new, but the execution here reflects significant operational maturity. The threat actors appear to have selected extensions with high install counts and strong community reputations specifically to maximize the probability of adoption without triggering suspicion.

Once installed, confirmed malicious extensions execute a postInstall hook or background activation event to drop the GlassWorm v2 payload. The "v2" designation suggests this is an evolved iteration of a previously observed infostealer family, likely incorporating lessons from prior detection and takedown efforts. Based on the campaign's behavioral profile, GlassWorm v2 is assessed to perform the following actions upon execution:

  • Credential harvesting: Targeting locally stored browser credentials, .env files, ~/.ssh directories, and VS Code's own secrets storage APIs.
  • Token exfiltration: Scanning for AWS, Azure, GCP, GitHub, and NPM authentication tokens stored in configuration files and shell history.
  • Clipboard monitoring: Persistent clipboard hooks to capture copied secrets, wallet addresses, and authentication codes in real time.
  • Environment reconnaissance: Fingerprinting the host OS, installed development toolchains, and network configuration to enable targeted follow-on attacks.
  • Staged payload delivery: The 67 dormant extensions suggest a command-and-control activation model, where payloads can be pushed remotely to already-installed extensions on demand.

The use of Open VSX specifically — rather than the official Microsoft Visual Studio Marketplace — is a calculated choice. Open VSX is the primary extension source for VS Code forks including VSCodium, Gitpod, Eclipse Theia, and various browser-based IDE implementations. Many developers and organizations specifically use Open VSX to avoid Microsoft's marketplace telemetry, creating an ironic vector: privacy-conscious developers may have inadvertently lowered their guard on an alternative platform with comparatively less automated malware scanning infrastructure.

⚠️ Tactical Note: The 67 dormant extensions represent a pre-positioned capability. Defenders should not treat absence of active malicious behavior as an indicator of safety. These extensions may activate silently via a future update push — a technique that has been observed in previous npm and PyPI supply chain campaigns.

Impact Assessment

The affected population extends across any individual developer, team, or enterprise environment that installed one of the 73 identified extensions from Open VSX. Given VS Code's dominant position in the development tooling landscape — with hundreds of millions of installations globally — even a fractional conversion rate among exposed users represents a substantial number of compromised endpoints. Organizations with bring-your-own-device policies, remote engineering teams, or open-source contribution workflows carry elevated risk, as extension hygiene is rarely enforced at the policy level.

The downstream consequences of a successful GlassWorm v2 infection on a developer workstation can be severe and non-linear. Exfiltrated cloud credentials can enable lateral movement into production environments. Stolen CI/CD secrets can allow attackers to inject malicious code into software build pipelines — effectively turning a single developer compromise into an enterprise-wide or even customer-facing supply chain breach. Stolen SSH keys can provide persistent access to internal infrastructure long after the initial malware is removed. The reputational and regulatory consequences for organizations that subsequently ship compromised software to customers cannot be overstated.

CypherByte's Perspective

This campaign is a clear signal that developer tooling is the new frontier of supply chain attacks. For years, the security industry focused supply chain defense on package managers like npm, PyPI, and RubyGems. The GlassWorm v2 operation demonstrates that threat actors have fully pivoted to target the IDE layer itself — the environment developers trust most implicitly, often running with elevated privileges and unrestricted network access. Extensions in this context are effectively unsigned, loosely sandboxed code running persistently inside an application that has access to everything on a developer's machine.

The staged nature of the dormant extensions also warrants serious strategic attention. This is not spray-and-pray malware distribution. The operational pattern — clone legitimate extensions, establish broad installation footprints, then activate selectively — mirrors techniques observed in sophisticated state-linked campaigns. Whether or not a nation-state actor is involved here, the tradecraft is borrowed from that playbook. Security teams need to respond accordingly, treating developer endpoint security with the same rigor historically reserved for server and network infrastructure.

Indicators and Detection

Security teams should prioritize the following detection and hunting activities in response to this campaign:

  • Extension inventory audit: Enumerate all installed VS Code extensions across developer endpoints. Flag any extension installed from Open VSX that closely mirrors a name available on the official VS Code Marketplace — particularly those with slight spelling variations or publisher name discrepancies.
  • Behavioral indicators: Monitor for VS Code processes spawning unexpected child processes, making outbound network connections to non-standard endpoints, or accessing ~/.ssh, ~/.aws, ~/.config, or browser credential stores.
  • File system artifacts: Look for newly created files in %APPDATA% (Windows) or ~/.config/ (Linux/macOS) directories associated with VS Code extension processes following installation events.
  • Network telemetry: Alert on DNS resolution or HTTP/S connections originating from VS Code extension host processes (extensionHost) to newly registered or low-reputation domains.
  • Clipboard API access: Endpoint detection tools capable of monitoring clipboard API calls should flag persistent or high-frequency clipboard reads from IDE processes.
🛡️ Detection Priority: The confirmed malicious six extensions should be immediately blocked and removed. The 67 dormant extensions should be treated as presumed malicious pending investigation — do not wait for activation before taking action. Contact your EDR vendor for updated signatures specific to GlassWorm v2 behavioral indicators.

Recommendations

CypherByte Research recommends the following immediate and strategic actions for security teams and affected organizations:

  1. Audit and purge immediately: Run an inventory of all VS Code and VS Code fork installations across your developer population. Remove any extensions sourced from Open VSX that are not explicitly approved. Do not assume dormant means safe.
  2. Enforce an approved extension policy: Implement a curated allowlist of approved VS Code extensions via organizational policy. Tools such as settings.json enforcement through MDM or VS Code's built-in extension recommendation features can support this.
  3. Rotate exposed credentials immediately: Any developer who installed extensions from Open VSX in the past 90 days should be considered potentially compromised. Initiate credential rotation for cloud provider keys, GitHub tokens, SSH keys, and any secrets stored in local .env files or shell configurations.
  4. Deploy developer-aware EDR rules: Update endpoint detection rules to treat VS Code extension host processes as monitored network and file system actors, not trusted applications. Flag anomalous outbound connections and file access patterns accordingly.
  5. Monitor Open VSX for future updates: Dormant extensions may push malicious payloads via auto-updates. Disable automatic extension updates in unmanaged environments or route update traffic through inspection proxies.
  6. Engage your software supply chain review process: This incident should trigger a broader review of all third-party tooling installed in your development environment. Extensions, plugins, and IDE integrations deserve the same scrutiny as third-party libraries in your production code.
  7. Report and contribute intelligence: Organizations with confirmed infections should report IOCs to Open VSX maintainers, relevant national CERTs, and threat intelligence sharing communities. Collective defense accelerates takedown timelines and improves industry-wide detection.

CypherByte Research will continue to monitor developments in this campaign. Follow-on analysis will be published as additional technical indicators and attribution data become available. Original research credit to the cybersecurity researchers whose findings were first published by The Hacker News.

// TOPICS
#research#analysis

How this article was produced

This analysis was produced by CypherByte's automated research pipeline, starting from the published summary of the original report credited below. Articles are published automatically. It can include context and recommendations that are not in the original report, so read the original for the researchers' own findings.

Sources

Spotted an error? Tell us on X (@cypherbyteio) with this page's address so we can fix it.

// WANT MORE LIKE THIS?

CypherByte Premium is coming soon, with deep-dive writeups and a weekly threat briefing. Join the waitlist for founding member pricing.