GitHub Internal Repositories Breached via Compromised Nx Console VS Code Extension: 2026 Supply Chain Cybersecurity Incident Analysis - Rescana
Rescana
The attack began with the theft of a contributor’s GitHub token, which was used to push an orphan commit containing an obfuscated JavaScript payload to the official nrwl/nx repository. This payload was then fetched and executed by the malicious Nx Console extension (version 18.95.0) once installed from the Visual Studio Code Marketplace. The extension was available for 11–18 minutes and had over 2.2 million installs, with estimates of over 6,000 affected installs during the compromise window. The payload harvested credentials and secrets from a wide range of sources, including GitHub, npm, AWS, HashiCorp Vault, Kubernetes, 1Password, and configuration files for AI coding assistants such as Claude Code. Exfiltration was performed via HTTPS, the GitHub API, and DNS tunneling. [...] The threat actor, identified as TeamPCP, executed a supply chain attack by compromising the Nx Console extension. The attack chain involved the theft of a GitHub token, the creation of a malicious orphan commit, and the publication of a compromised extension to the Visual Studio Code Marketplace. Once installed, the extension fetched and executed an obfuscated payload that harvested credentials and secrets from a wide range of sources, including cloud providers, CI/CD pipelines, password managers, and AI coding assistants. The payload established persistence on macOS systems and exfiltrated data via multiple channels. TeamPCP has a documented history of targeting developer tools and supply chain components, and their tactics, techniques, and procedures (TTPs) in this incident align with [...] On May 18, 2026, a compromised version of the Nx Console Visual Studio Code extension was published to the official marketplace, resulting in a significant supply chain attack that impacted the software development ecosystem. The malicious extension, live for approximately 11–18 minutes, was installed by thousands of users and enabled attackers to exfiltrate credentials and internal source code reposit
阅读原文