GitHub Breached Through Poisoned VS Code Extension in 18-Minute Attack Window

TANSTACK dev compromised TeamPCP Nx Console nrwl.angular-console ⚠ TROJANIZED 18-MINUTE WINDOW GitHub 3,800 repos exfiltrated OpenAI impacted Grafana impacted 1Password vault creds stolen AWS access keys stolen npm tokens stolen VS Code Marketplace auto-update, no review gate SUPPLY-CHAIN ATTACK  |  TEAMPCP  |  MAY 18 2026 12:30–12:48 UTC  |  REDEYESECURITY.COM
18 minutes
Malicious extension live time
3,800
Internal repositories exfiltrated
5+
Major companies compromised
12:30-12:48 UTC
Attack window May 18, 2026
TL;DR
  • What: TeamPCP trojanized the nrwl.angular-console Nx Console VS Code extension and pushed it to the Visual Studio Marketplace for 18 minutes (May 18, 12:30–12:48 UTC), using auto-update to silently deploy a credential stealer to developers who had it installed.
  • Impact: GitHub confirmed exfiltration of ~3,800 internal repositories; credentials stolen from 1Password vaults, AWS, npm, and GitHub accounts across GitHub, OpenAI, Mistral AI, and Grafana Labs.
  • Fix / mitigation: Audit developer workstations for the extension installed during the attack window; rotate all credentials (GitHub tokens, AWS keys, npm tokens, 1Password vaults) on potentially affected machines; review VS Code extension auto-update policies.
  • Who's at risk: Any developer who had nrwl.angular-console installed and VS Code running between 12:30–12:48 UTC on May 18, 2026, especially those in orgs using TanStack or Nx tooling.

GitHub confirmed Wednesday that threat actors breached its internal repositories after compromising an employee device through a trojanized version of the Nx Console extension for Microsoft Visual Studio Code. The attack, attributed to cybercriminal group TeamPCP, resulted in the exfiltration of approximately 3,800 internal repositories containing excerpts of customer support interactions and other internal data.

The malicious extension was live on the Visual Studio Marketplace for exactly 18 minutes on May 18, 2026, between 12:30 p.m. and 12:48 p.m. UTC. Despite this narrow window, the credential stealer successfully harvested sensitive data from 1Password vaults, Anthropic Claude Code configurations, npm, GitHub, and Amazon Web Services accounts on compromised developer machines.

Attack Chain: From TanStack to GitHub

The compromise originated from the recent TanStack supply chain attack, where one of Nx team's developers had their system hacked. This initial breach provided TeamPCP access to publish a poisoned version of the nrwl.angular-console extension. The trojanized extension appeared and functioned identically to the legitimate version, masking its malicious payload behind routine operations.

According to OX Security researcher Nir Zadok, the malicious extension silently executed a single shell command on startup that downloaded and ran a hidden package from a planted commit on the official nrwl/nx GitHub repository. The command was disguised as a standard MCP setup task to avoid detection. Companies impacted by the broader TanStack compromise include OpenAI, Mistral AI, and Grafana Labs.

Critical Infrastructure Impact

GitHub's Chief Information Security Officer Alexis Wales stated the company has no evidence of impact to customer data stored outside internal repositories. However, some internal repositories contained customer information from support interactions. GitHub has rotated critical secrets and is monitoring for follow-on activity.

The Self-Sustaining Attack Pattern

TeamPCP has established a devastating attack cycle that exploits the interconnected nature of modern software development. The pattern is brutally efficient: compromise one trusted tool, steal credentials from developer systems that install it, then use those credentials to compromise the next legitimate tool. This creates a cascading effect where each successful breach provides access to additional targets.

In recent months, TeamPCP has gained notoriety for targeting widely-used open-source projects and security-adjacent tools that developers depend on daily. The group's focus on developer tooling maximizes impact, as compromised development environments provide access to source code, credentials, and deployment pipelines across multiple organizations.

Auto-Update: Feature or Vulnerability?

The rapid compromise highlights a fundamental tension in extension marketplace design. Aikido security researcher Raphael Silva pointed out that every popular extension marketplace ships with auto-update enabled by default, including VS Code and Cursor. While this ensures developers receive security patches promptly, it also provides attackers controlling a compromised publisher account with a direct distribution channel into every machine running that extension.

Industry Response

Jeff Cross, co-founder of Narwhal Technologies behind nx.dev, stated the incident highlights the need for fundamental changes in securing developer tooling and open-source distribution. The company is beginning conversations with other high-profile open-source maintainers about addressing structural problems in software supply chain security.

Marketplaces currently impose no review gate or waiting period between when an update is published and when installed clients pull it in. This zero-latency distribution model, designed for rapid patching, becomes a liability when publisher accounts are compromised. The 18-minute window in this attack demonstrates that attackers need minimal time to achieve widespread impact.

Immediate Actions for Security Teams

Organizations should immediately audit developer workstations for installation of the compromised Nx Console extension (nrwl.angular-console) during the May 18 attack window. Check for credential access to 1Password vaults, Claude configurations, npm, GitHub, and AWS accounts on potentially affected systems. Rotate credentials for any developer who may have had the malicious extension installed, even briefly.

Long-Term Security Implications

This breach exposes critical weaknesses in the software supply chain security model that has operated largely unchanged for years. The assumptions underlying current practices—that open-source maintainers are inherently trustworthy, that marketplace vetting is sufficient, that auto-update benefits outweigh risks—are being systematically invalidated by sophisticated attackers like TeamPCP.

The developer tooling ecosystem requires architectural changes beyond incremental security improvements. Potential solutions include mandatory code signing with hardware tokens, delayed rollout periods for extension updates to enable detection, runtime sandboxing for extension capabilities, and enhanced marketplace monitoring for behavioral anomalies. However, implementing these safeguards while maintaining the velocity and openness that makes the ecosystem productive presents significant challenges.

Bottom Line

The GitHub breach demonstrates that even 18-minute exposure windows are sufficient for determined attackers to compromise major technology companies. Developer tools represent critical infrastructure requiring security controls commensurate with their privileged access to source code, credentials, and production systems. Organizations can no longer treat IDE extensions as low-risk productivity tools. The TeamPCP campaign shows that development environments are now primary attack vectors, and security teams must extend zero-trust principles to the tools developers use daily. The industry's response to this incident will determine whether software supply chain attacks continue escalating or whether meaningful structural reforms emerge.

Questions about your exposure?

RedEye Security provides assessments for organizations that need to understand their real risk.

Talk to us