A new malware strain named GlassWorm is targeting the developer community through malicious extensions for Microsoft's popular Visual Studio (VS) Code editor. Security researchers report that GlassWorm is a multi-functional threat, combining the capabilities of a worm and an information stealer. Its primary goal is to exfiltrate sensitive data from developer workstations, including browser passwords, API tokens, and cryptocurrency wallets. The malware's ability to self-propagate raises serious concerns about its potential to initiate broader software supply chain attacks by compromising code repositories and development pipelines.
GlassWorm represents a sophisticated threat tailored to its target environment. By embedding itself in VS Code extensions, it exploits the trust developers place in their tools and the ecosystem's extensibility. Once an infected extension is installed, the malware activates and begins its data theft and propagation routines.
GlassWorm's dual nature makes it particularly dangerous.
As an Information Stealer:
.env), shell history (.bash_history), and specific application directories (e.g., .aws/credentials, .git-credentials).wallet.dat) and browser extensions associated with crypto wallets.As a Worm:
The malware has also been observed in campaigns targeting macOS users with trojanized cryptocurrency wallet applications, indicating the actors behind it are versatile.
T1195.002 - Compromise Software Supply Chain: By distributing malicious VS Code extensions.T1204.002 - Malicious File: User executes by installing the malicious extension.T1555 - Credentials from Password Stores: Stealing saved browser logins.T1552 - Unsecured Credentials: Searching for hardcoded tokens and keys.T1082 - System Information Discovery: Profiling the infected system.T1080 - Taint Shared Content: Potentially injecting malicious code into source files.T1041 - Exfiltration Over C2 Channel: Sending stolen data to an attacker-controlled server.The potential impact of a GlassWorm infection is severe. For an individual developer, it means the loss of personal and financial data. For an organization, a compromised developer machine is a critical security incident. The stolen developer tokens could give attackers access to:
No specific, actionable IOCs like hashes or C2 domains were provided in the source articles.
Code.exe or node.exe processes to unusual or non-whitelisted IP addresses. This could indicate data exfiltration..aws/credentials.D3-SFA - System File Analysis to monitor for unexpected reads/writes to credential files like ~/.ssh/id_rsa or .git-credentials.Restrict developers from installing unvetted VS Code extensions. Maintain an internal repository or allowlist of approved, secure extensions.
Implement and enforce the use of secrets management tools. Prohibit storing credentials and tokens in plaintext files.
Apply the principle of least privilege to developer accounts and API tokens to limit the impact of a credential theft incident.
Utilize containerized development environments to isolate projects and prevent malware from accessing the host system or other projects.
The core defense against threats like GlassWorm is to eliminate the target: unsecured credentials. Organizations must enforce a strict policy against storing secrets (API keys, tokens, passwords) in source code, configuration files, or environment variables. Instead, developers should be required to use a centralized secrets management solution like HashiCorp Vault, AWS Secrets Manager, or Azure Key Vault. These tools provide secure storage, fine-grained access control, auditing, and dynamic rotation of secrets. VS Code extensions for these services allow developers to securely access secrets at runtime without ever exposing them in plaintext on their workstation. This removes the primary objective of GlassWorm and renders its information-stealing capabilities largely ineffective.
To prevent the initial infection, organizations should apply the concept of allowlisting to the VS Code ecosystem. Instead of letting developers install any extension from public marketplaces, the company should maintain a private, internal repository of vetted and approved extensions. A security team would be responsible for analyzing new extensions for malicious behavior before adding them to the allowlist. This can be enforced via policy and tooling, preventing VS Code from installing extensions from any other source. This approach directly counters GlassWorm's delivery mechanism and significantly reduces the attack surface presented by the highly extensible developer environment.
For advanced threat hunting, security teams can deploy decoy developer environments, or honeypots. These would be virtual machines set up to look like a real developer's workstation, complete with fake source code projects and decoy credentials (e.g., fake AWS keys, GitHub tokens). These decoy tokens would be monitored by a service like Canary Tokens. If GlassWorm infects this honeypot and exfiltrates and uses a decoy token, the security team receives an immediate, high-fidelity alert that they are being targeted. This provides invaluable early warning and intelligence on the attacker's TTPs and infrastructure, allowing the team to build proactive defenses before real developer machines are compromised.
A threat intelligence platform observes an indicator related to GlassWorm activity.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.