The Containment Era is here. →Explore

Executive Summary

In early 2024, a new wave of the Glassworm malware campaign was discovered infiltrating the Microsoft Visual Studio Code and OpenVSX marketplaces with 24 malicious packages. These supply-chain attacks targeted software developers by masquerading as legitimate extensions, but upon installation delivered trojans capable of stealing sensitive files, authentication tokens, and establishing persistence for command-and-control activities. The campaign began in October 2023, with this third and most extensive wave compromising both trusted VS Code ecosystems and potentially impacting thousands who unknowingly downloaded tainted packages. The threat actors have not been formally attributed but demonstrated sophisticated understanding of both developer environments and software supply chains.

This incident is a striking example of the increasing shift toward attacking upstream dependencies, leveraging trusted developer tools to gain footholds deeper in organizations. With open-source and third-party marketplaces under continuous attack, businesses face growing pressure to implement better package vetting and monitoring along with zero-trust segmentation and detection capabilities.

Why This Matters Now

Supply-chain attacks leveraging widely used developer tools such as VS Code put the entire software development lifecycle at risk, making it urgent for organizations to enhance controls around trust, visibility, and anomaly detection. Glassworm’s recurring waves highlight how quickly attackers adapt, necessitating continuous vigilance and updated defense strategies.

Attack Path Analysis

Related CVEs

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

Zero trust segmentation, egress security enforcement, and regular threat detection of developer environments would have helped limit the attack’s impact and catch anomalies early.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Applying Zero Trust segmentation, granular egress controls, and continuous threat detection would have contained the infection to initial hosts, limited privilege abuse, detected suspicious east-west or outbound traffic, and prevented or alerted on attempted exfiltration or abuse of the developer environment.

Initial Compromise

Control: Threat Detection & Anomaly Response

Mitigation: Suspicious process or package installation is rapidly detected for response.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Limits potential access abuse by enforcing least privilege policies.

Lateral Movement

Control: East-West Traffic Security

Mitigation: Blocks unauthorized internal communication paths for malware propagation.

Command & Control

Control: Egress Security & Policy Enforcement

Mitigation: Unauthorized or suspicious outbound traffic is blocked or closely monitored.

Exfiltration

Control: Cloud Firewall (ACF)

Mitigation: Exfiltration attempts can be blocked or logged for investigation.

Impact (Mitigations)

Cross-cloud enforcement and real-time controls limit scope and persistence of attacker tooling.

Impact at a Glance

Affected Business Functions

  • Software Development
  • IT Security
Operational Disruption

Estimated downtime: 7 days

Financial Impact

Estimated loss: $500,000

Data Exposure

Potential exposure of developer credentials, including GitHub, npm, and OpenVSX tokens, as well as cryptocurrency wallet data from 49 different extensions.

Recommended Actions

  • Enforce Zero Trust segmentation and identity-based policies to prevent lateral movement between workloads and users.
  • Deploy real-time anomaly detection to rapidly identify installation of unapproved packages and suspicious process behavior.
  • Implement strict egress filtering and FQDN allow listing to block unauthorized outbound connections and C2 traffic.
  • Apply application- and namespace-level controls in Kubernetes or containerized environments to limit attacker access and data exfiltration paths.
  • Continuously monitor and audit cloud network flows and enforce distributed inline policies across all environments for proactive response.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image