Nx Console VS Code Extension Supply Chain Attack: What Developers Need to Know
On May 18, 2026, attackers briefly published a malicious Nx Console VS Code extension (v18.95.0) that downloaded a credential‑stealing payload, exfiltrated developer and cloud secrets, and installed persistence; it wa... The malware harvested tokens and secrets from common developer tools (GitHub, AWS, Kubernetes, n...
Published byEdited with GPT-5.5Images generated with GPT Image 2
On May 18, 2026, attackers briefly published a malicious Nx Console VS Code extension (v18.95.0) that downloaded a credential‑stealing payload, exfiltrated developer and cloud secrets, and installed persistence; it wa...
The malware harvested tokens and secrets from common developer tools (GitHub, AWS, Kubernetes, npm, SSH keys, and more) and persisted using files like /.local/share/kitty/cat.py and a macOS LaunchAgent [1].
The incident is notable because the Nx ecosystem was already targeted in a major 2025 npm supply‑chain attack that stole developer credentials from infected environments [9].
What happened in the Nx Console VS Code extension supply chain attack on May 18, how did the compromised version 18.95.0 steal developer creA malicious release of the Nx Console extension briefly infiltrated VS Code marketplaces and attempted to harvest developer credentials.
AI Prompt
Create a landscape editorial hero image for this Studio Global article: What happened in the Nx Console VS Code extension supply chain attack on May 18, how did the compromised version 18.95.0 steal developer cre. Article summary: On May 18, 2026, attackers briefly published a malicious Nx Console VS Code extension version, 18.95.0, that fetched a credential-stealing payload, exfiltrated developer and cloud secrets, and installed persistence artif. Topic tags: general, general web, user generated. Reference image context from search candidates: Reference image 1: visual subject "# Targeting 2 Million Developers: Malicious Nx Console Extension Hijacks VS Code Marketplace. Nx Console Extension Supply Chain Attack VS Code Marketplace Malware 2026. A brief but" source context "Targeting 2 Million Developers: Malicious Nx Console Extension ..." Reference image 2: visual subject "# Nx Console
openai.com
A malicious release of the Nx Console VS Code extension briefly appeared in official extension marketplaces on May 18, 2026, turning a popular developer tool into a credential‑stealing backdoor. The compromised version, 18.95.0, silently downloaded additional malware, harvested secrets from developer machines, and attempted to establish persistence.
The attack window was short, but because Nx Console has millions of installations, the incident drew significant attention in the developer security community. Even a brief exposure could allow attackers to capture sensitive tokens and access infrastructure tied to developer workstations.
What Happened on May 18, 2026
Studio Global AI
Continue your research
This page includes a source-backed answer you can continue inside Studio Global.
What is the short answer to "Nx Console VS Code Extension Supply Chain Attack: What Developers Need to Know"?
On May 18, 2026, attackers briefly published a malicious Nx Console VS Code extension (v18.95.0) that downloaded a credential‑stealing payload, exfiltrated developer and cloud secrets, and installed persistence; it wa...
What are the key points to validate first?
On May 18, 2026, attackers briefly published a malicious Nx Console VS Code extension (v18.95.0) that downloaded a credential‑stealing payload, exfiltrated developer and cloud secrets, and installed persistence; it wa... The malware harvested tokens and secrets from common developer tools (GitHub, AWS, Kubernetes, npm, SSH keys, and more) and persisted using files like /.local/share/kitty/cat.py and a macOS LaunchAgent [1].
What should I do next in practice?
The incident is notable because the Nx ecosystem was already targeted in a major 2025 npm supply‑chain attack that stole developer credentials from infected environments [9].
Attackers managed to publish a malicious build of the nrwl.angular-console (Nx Console) extension to official extension registries.
According to the Nx security advisory:
The compromised version 18.95.0 was published to the Visual Studio Marketplace at 12:30 UTC and removed 18 minutes later at 12:48 UTC.
The same version appeared on OpenVSX from 12:33 UTC to 13:09 UTC, remaining available for roughly 36 minutes.
Maintainers later released 18.100.0 as a confirmed safe version.
Although maintainers reported that “very few users were compromised,” the number was not zero, and any system that installed or auto‑updated during the exposure window should be treated as potentially compromised.
How the Malicious Extension Worked
Once installed, the compromised extension behaved normally at first but executed hidden malicious logic when a workspace opened.
Security researchers found that the extension downloaded and executed a large obfuscated payload (~498 KB) from a hidden location within the official Nx GitHub repository infrastructure.
This payload acted as a multi‑stage credential harvester designed specifically for developer environments.
Credentials and Secrets It Targeted
The malware searched local files and environment variables for high‑value authentication material commonly present on developer machines, including:
GitHub tokens and GitHub Actions secrets
npm tokens and OIDC exchange credentials
AWS credentials, IAM authentication data, and Secrets Manager tokens
Kubernetes configuration and cluster credentials
HashiCorp Vault tokens
SSH private keys
Docker credentials
Google Cloud credentials
Connection strings and API keys
1Password CLI vault data if an active op session was open
Collected data could be exfiltrated using HTTPS requests, GitHub API calls, or DNS‑based channels, allowing attackers to move stolen credentials off the machine quickly.
Persistence Mechanisms Installed by the Malware
Beyond credential theft, the malware attempted to maintain long‑term access to infected machines.
Indicators identified by the Nx security advisory include the creation of several persistence files:
The attack could also spawn a Python process running cat.py or processes with the environment variable __DAEMONIZED=1.
Persistence varied by operating system:
macOS: the malware installed a LaunchAgent to restart automatically.
Linux: the payload attempted persistence through system configuration changes such as sudoers injection.
These mechanisms allowed the attacker to maintain a foothold even after the extension itself was removed.
Why This Attack Matters for the Nx Ecosystem
The 2026 extension compromise did not occur in isolation.
In August 2025, attackers already executed a major Nx npm supply‑chain attack by publishing malicious versions of the nx build system and related plugins. Those packages scanned local systems for credentials and uploaded them to attacker‑controlled GitHub repositories under victims’ accounts.
The newer incident highlights two ongoing trends:
Developer machines are high‑value targets because they often contain cloud credentials, CI/CD tokens, and repository access keys.
Supply‑chain attacks increasingly target developer tooling—extensions, build tools, and package registries—where malicious updates can spread quickly.
In this case, the Nx team reported that the malicious extension was published using compromised GitHub credentials from a developer affected by another recent security incident, allowing attackers to bypass normal publishing safeguards.
Who Was Potentially Affected
Developers were at risk if they installed or auto‑updated to Nx Console version 18.95.0 during the brief exposure windows:
Visual Studio Marketplace: May 18, 2026 — 12:30–12:48 UTC
OpenVSX Registry: May 18, 2026 — 12:33–13:09 UTC
This includes users of:
Visual Studio Code
VS Code forks or compatible editors
Environments that install extensions through OpenVSX
Anyone who installed the compromised version during that timeframe should assume that credentials on that workstation may have been exposed.
Indicators of Compromise (IOCs)
Developers should immediately investigate systems for these warning signs:
Nx Console version 18.95.0 installed during the exposure window
Rotate all credentials accessible from the machine, including:
GitHub tokens
cloud provider credentials
API keys
SSH keys
CI/CD tokens
Review audit logs in GitHub, cloud providers, and CI systems for suspicious activity.
If compromise is confirmed, the safest remediation is often rebuilding or re‑imaging the workstation from a clean environment and restoring credentials from secure backups.
The Bigger Security Lesson
This incident underscores a growing reality in modern development: the software supply chain extends into developer tooling itself. Extensions, build systems, and package managers now represent some of the most attractive targets for attackers because they run with broad access to source code, secrets, and infrastructure credentials.
Even brief exposures—measured in minutes—can be enough for attackers to harvest high‑value secrets from developer environments.
For organizations, the takeaway is clear: monitor extension updates, enforce credential rotation policies, and treat developer workstations as critical infrastructure in the security model.
github.com
Malicious versions of Nx and some supporting plugins were published