How a 18-Minute VS Code Extension Breach Hit GitHub and OpenAI

Hana Lee

VS Code extension supply chain attack affecting GitHub and OpenAI

When a trusted VS Code extension turns malicious, the fallout can be swift and broad. That’s exactly what happened in May 2026 when a poisoned version of the Nx Console extension was available on the Visual Studio Marketplace for just 18 minutes. During that brief window, attackers harvested credentials that led to the compromise of thousands of internal repositories at GitHub, OpenAI, and Mistral AI.

  • Malicious Nx Console extension live for only 18 minutes
  • Attack targeted developer credentials and internal source code
  • Over 3,800 GitHub repositories accessed
  • OpenAI and Mistral AI also compromised via developer tooling

The 18-Minute Window That Changed Developer Security

The attack began when threat actors from TeamPCP exploited the TanStack router ecosystem, pushing a malicious payload through npm and PyPI packages. This led to the trojanization of an Nx Console developer’s device, allowing the attackers to upload a compromised build of the extension.

Once installed, the extension silently executed a shell command that deployed a credential stealer targeting sensitive tokens and vaults on developer machines. Even though the extension was available for less than 20 minutes, the impact was significant enough to grant attackers access to internal GitHub repositories and credentials linked to OpenAI and Mistral AI.

Why Developer Tooling Is a Growing Attack Vector

This incident highlights a broader trend: attackers increasingly focus on shared software dependencies and developer tools rather than perimeter defenses. The breach did not require direct access to company networks but instead exploited the tools developers routinely install.

OpenAI confirmed limited exposure but took swift action by revoking its macOS app signing certificate. Mistral AI’s source code was even advertised for sale on cybercrime forums, illustrating the commercial risks of such breaches.

What This Means for Software Teams

The trade-off is clear. Developer convenience and productivity often depend on third-party tools and extensions, but these can become entry points for sophisticated supply chain attacks. Teams should carefully vet extensions, monitor for unusual activity, and apply strict credential policies.

While GitHub assured no customer data outside internal repositories was affected, the incident serves as a reminder that supply chain security requires constant vigilance, especially as attackers shift focus to developer environments.

Considerations on Price and Availability

This breach affects global software teams using common tools like VS Code and npm. There’s no direct cost to users, but the indirect risks—such as stolen credentials and exposed source code—can lead to costly remediation and loss of trust. The incident also underscores the importance of investing in supply chain security solutions and continuous monitoring, which vary in price and availability across regions.

Should You Change Your Developer Tooling Strategy?

Consider it if your team relies heavily on third-party extensions and packages, especially for critical projects. Reviewing security policies and using tools that monitor supply chain risks can help mitigate threats.

Skip drastic changes if your organization already enforces strict vetting and credential management, but stay alert to new developments in supply chain attack techniques.

(Via)

Hot Nows ionicons-v5-c