The May 2026 GitHub breach started with one poisoned VS Code extension on one employee’s device and ended with roughly 3,800 of GitHub’s internal repositories in an attacker’s hands. The extension was Nx Console version 18.95.0, published on May 18, 2026 with a GitHub token stolen a week earlier in the TeamPCP campaign against TanStack’s npm packages. GitHub disclosed the incident on May 20 in a post on the GitHub Blog and a thread on X, and says it has found no evidence that customer data stored outside those internal repositories was affected.
The threat group TeamPCP, which Google’s threat intelligence team tracks as UNC6780, claimed the attack and was reportedly asking more than $50,000 for the stolen data. This article was updated on November 18, 2026 with what has come out since: the root cause Nx published, the CISA and Canadian Cyber Centre alerts, GitHub’s signing key rotation for GitHub Enterprise Server, the August 2026 arrests of alleged TeamPCP members, and the defaults GitHub and Microsoft have changed. As of that date, GitHub has not published the fuller incident report it promised in May.
Quick Summary
The May 2026 GitHub breach exposed about 3,800 GitHub-internal repositories after a GitHub employee’s device ran Nx Console 18.95.0, a VS Code extension the attacker published with a stolen contributor token. GitHub reports no evidence of impact on customer repositories, enterprises or organizations, but GitHub Enterprise Server administrators had to rotate their GPG signing keys. CISA added the malicious extension version to its Known Exploited Vulnerabilities catalog as CVE-2026-48027.
What GitHub Disclosed, and When
GitHub detected and contained the compromise of an employee device on Monday, May 18, 2026, and disclosed it on May 20 in a five-post thread on X and a GitHub Blog post by its CISO, Alexis Wales. The company said it removed the malicious extension version, isolated the endpoint, and rotated critical secrets on May 18 and 19, starting with the highest-impact credentials.
“Our current assessment is that the activity involved exfiltration of GitHub-internal repositories only,” GitHub wrote, adding that the attacker’s claim of about 3,800 repositories was directionally consistent with its investigation. The wording rules out customer repositories, enterprise tenants and organization data on the public platform. It does not rule out sensitive material inside the internal repositories: GitHub confirmed that some of them contain customer information, such as excerpts of support interactions, and said it will notify customers through its established channels if it finds impact.
On May 26, GitHub added an investigation update. GitHub Enterprise Cloud customers need to take no action. GitHub Enterprise Server (GHES) administrators must rotate the GPG public keys their instances use to verify upgrades, using a script GitHub published with a SHA256 digest for independent checking. Future GHES patches are signed with the new key, so instances that skip the rotation will fail upgrade verification, and GitHub told GHES customers to expect security updates more often in the coming months.
Important Note
"No customer data" does not mean "no customer risk." GitHub has confirmed that some internal repositories hold excerpts of customer support interactions, and internal repositories at a platform like GitHub typically contain deployment topology, secret rotation logic, CI workflows and references to third-party integrations. The signing key rotation GitHub ordered for GitHub Enterprise Server shows how seriously it treats what may have been inside them.
How the Attack Worked: From TanStack to Nx Console to GitHub
The GitHub breach was the third link in a chain of supply chain compromises, according to the postmortem Nx published on May 21, 2026. TeamPCP first poisoned TanStack’s npm packages, used that malware to steal an Nx contributor’s GitHub CLI token, and then used the token to publish a malicious Nx Console release that reached a GitHub employee through VS Code’s auto-update.
| Date (2026) | Event |
|---|---|
| May 11 | TeamPCP publishes 84 malicious versions of 42 @tanstack/* npm packages. An Nx contributor installs one, and the payload steals their GitHub CLI OAuth token. |
| May 11 to 16 | The attacker uses the stolen token undetected. Nx’s last observed use is May 16 at 00:04 UTC. |
| May 18, 12:30 UTC | The attacker publishes Nx Console 18.95.0 to the Visual Studio Marketplace and Open VSX. |
| May 18, 12:47 and 13:09 UTC | Nx removes the version from the Visual Studio Marketplace, then from Open VSX. |
| May 18 | GitHub detects and contains the compromised employee device. |
| May 20 | GitHub discloses the breach. TeamPCP claims it. |
| May 21 | Nx publishes its postmortem and advisory GHSA-c9j4-9m59-847w. |
| May 26 | GitHub orders GHES signing key rotation. |
| May 28 | CISA issues an alert and adds CVE-2026-48027 to its KEV catalog. |
| May 29 | The Canadian Centre for Cyber Security issues alert AL26-013. |
| June 3 | VS Code 1.123 adds a two-hour delay before auto-updating extensions to new versions. |
| August 26 and 27 | Australian police arrest two alleged TeamPCP members, and a US indictment is unsealed. |
| December 2 (scheduled) | GitHub Actions starts blocking pull_request_target events by default in public repositories. |
Nx Console 18.95.0 was live for about 11 minutes on the Visual Studio Marketplace and about 36 minutes on Open VSX. The Marketplace reported 28 installs and Open VSX reported 41 downloads, but Nx says its own analytics point to significantly more affected users, because VS Code’s auto-update pushed the release to machines that already had Nx Console installed. The payload wrote a Python backdoor called cat.py, added persistence (a LaunchAgent on macOS), and harvested GitHub, npm, AWS, GCP, Kubernetes, Vault, 1Password CLI and SSH credentials.
Two controls should have broken the chain and did not. The contributor’s project set pnpm’s minimum-release-age to 7 days, which would have skipped the brand-new malicious TanStack versions, but it pinned pnpm 10.14, a release that predates support for the setting, so pnpm ignored it without warning. Nx Console’s release workflow also let a single authenticated contributor publish with no second approval, a gap Nx says it had missed when it added required reviewers to its other release workflows.
VS Code extensions run with the same privileges as the user who installs them. Once one executes, it can read source files, Git credentials, cloud tokens in ~/.aws and ~/.kube, and every repository the developer can clone. Browser extensions are treated as a security boundary, while IDE extensions, which see source code, credentials and the terminal, mostly are not. The GitHub breach is the most expensive demonstration of that asymmetry to date.
What Has Changed Since May
GitHub, Microsoft and Nx have each changed a default since May that targets the weakness this attack used: new code reaching developer machines and pipelines before anyone has checked it.
Nx now requires two-admin approval to publish Nx Console, with the reviewer barred from being the person who triggered the release. It also added deployment protection rules to release workflows, moved other publish-capable repositories to npm OIDC trusted publishing, pinned GitHub Action SHAs, and stopped direct use of the gh CLI on developer machines in favor of wrapping it through a secret manager.
Microsoft shipped VS Code 1.123 on June 3, 2026. According to the release notes, “VS Code now applies a two-hour delay before automatically updating extensions to a newly published version.” Extensions from Microsoft, GitHub and OpenAI are exempt, and users can still update by hand at any time. Nx Console 18.95.0 was gone from the Marketplace within the first hour, so a two-hour hold would have kept auto-updating machines from receiving it.
GitHub announced that GitHub Actions will block pull_request_target events by default in public repositories from December 2, 2026, after brownouts on November 9 and 16. TanStack’s own postmortem confirms that its compromise started with a workflow that used this trigger to run code from a fork’s pull request with the base repository’s privileges. Private and internal repositories and GitHub Enterprise Server are not affected by the change, and repositories that need the trigger can allow it through an Actions event policy.
What the Breach Means for DORA and NIS2 Reporting
A breach at a code host starts a regulated customer’s reporting clock only if it affects that customer’s own services, so the work for DORA and NIS2 entities is to assess the impact and document the conclusion. Under Article 23 of the NIS2 Directive (EU) 2022/2555, an in-scope entity must send an early warning within 24 hours of becoming aware of a significant incident and a fuller notification within 72 hours. DORA compliance puts comparable duties on financial entities for major ICT-related incidents, including ones that begin at an ICT third-party provider. GitHub’s statement that Enterprise Cloud customers need to take no action is useful evidence for that assessment, but GHES operators still have to record that they rotated the signing keys.
Pro Tip: IDE plugins and Cyber Security
Treat every IDE extension like production software. Keep VS Code on 1.123 or later so newly published extension versions wait two hours before auto-updating, turn off extension auto-updates on machines that hold production credentials, pin versions, and limit installs to approved publishers with the extensions.allowed setting. Keep GitHub CLI and cloud tokens in a secret manager rather than in plain files on disk, which is the change Nx made after its contributor's token was stolen.
What to Check in Your Own Environment
Any machine that ran Nx Console 18.95.0 on May 18, 2026 should be treated as compromised and have every credential on it rotated, according to both Nx and the Canadian Centre for Cyber Security. The steps below follow the guidance from Nx, the Cyber Centre and CISA’s May 28 alert.
- Check the installed version. Run
code --list-extensions --show-versions | grep angular-consoleon developer machines. Version 18.95.0 is the malicious one; move to the current release. - Look for the indicators of compromise. On macOS and Linux, check for
~/.local/share/kitty/cat.py,~/Library/LaunchAgents/com.user.kitty-monitor.plistand/var/tmp/.gh_update_state. On Windows, check for%USERPROFILE%\.local\share\kitty\cat.pyand%USERPROFILE%\.bun\bin\bun.exe. On Linux, also review/etc/sudoersand/etc/sudoers.d/for entries nobody added. - Rotate credentials from the exposure window. The Cyber Centre advises rotating all credentials exposed on developer machines between May 11 and 20, 2026, including AWS, GCP, Azure, GitHub and npm credentials. Nx also recommends considering a full rebuild of affected machines.
- Disable gh-token-monitor before revoking GitHub tokens. Machines that installed malicious TanStack or other Mini Shai-Hulud packages may run a gh-token-monitor service that, according to researchers at Checkmarx and SafeDep, deletes the user’s home directory once a stolen token stops working. Remove the service first, then revoke.
- Review CI/CD activity since May 18. CISA recommends auditing workflow files and contributor activity for unexpected clones, admin or access-control changes, orphan pushes and commits from automated accounts such as build-bot or ci-bot, and reverting unauthorized changes.
- Rotate GHES signing keys. GitHub Enterprise Server administrators who have not yet run GitHub’s GPG key rotation script must do so before installing the next patch.
TeamPCP ran the same playbook against other developer tools in 2026; the LiteLLM supply-chain breach, another TeamPCP campaign, has its own exposure checks and rotation list.
Who Is Behind the GitHub Breach, and Has Anyone Been Charged?
TeamPCP claimed the GitHub breach, and two alleged members of the group were arrested in Australia in August 2026, but none of the charges announced so far names the GitHub intrusion. The Australian Federal Police, working with the Western Australia Police Force and the FBI, charged two Western Australian men with 14 offenses between them, including unauthorized modification of data and dealing in criminal proceeds. In the US, an indictment unsealed in the Northern District of California charges a 21-year-old Australian man over TeamPCP’s software supply chain attacks. The FBI said the group’s malicious code “potentially compromised more than a thousand organizations worldwide.” An indictment is an allegation, and the defendants are presumed innocent unless proven guilty.
An Incident or a Pattern?
The GitHub breach fits a 2026 pattern in which attackers turn one stolen developer token into a poisoned release of a trusted tool, then use that release to steal more tokens. The same year brought Vercel’s April 2026 security incident at another developer platform. Agencies such as CISA and NIST, through its Secure Software Development Framework, have warned for years that developer tooling and build pipelines are the soft underbelly of modern companies, and the Wikipedia entry for supply chain attack now reads like a chronological list of escalating incidents.
The lesson of the GitHub breach is that the security model of the developer workstation has not kept pace with the value of what sits on it, not that one employee made a mistake. For SOC 2 compliance and ISO 27001 programs, that means IDE extensions, package manager settings and release workflows belong in change management and vendor risk reviews, with evidence that controls like release-age delays and two-person publishing actually run. Axipro is a compliance readiness and cybersecurity consultancy and Drata Elite Partner that helps SaaS and technology companies get audit-ready for SOC 2, ISO 27001, ISO 42001 and other frameworks. Until IDE extensions are sandboxed with explicit capability grants and source code is treated as a sensitive asset, the Mini Shai-Hulud playbook will keep working, and GitHub will not be its last high-profile victim.
Frequently Asked Questions
Was customer data exposed in the GitHub breach?
GitHub says it has found no evidence that customer data stored outside its internal repositories was affected, including customer enterprises, organizations and repositories. GitHub has also confirmed that some of the exfiltrated internal repositories contain customer information, such as excerpts of support interactions, and says it will notify affected customers if it finds impact.
Which VS Code extension caused the GitHub breach?
The GitHub breach came from Nx Console version 18.95.0, a malicious release of a legitimate VS Code extension published on May 18, 2026 with a stolen contributor token. The version is tracked as CVE-2026-48027 and advisory GHSA-c9j4-9m59-847w, and versions released after it are clean.
Do GitHub customers need to do anything after the breach?
GitHub Enterprise Cloud customers need to take no action, according to GitHub’s May 26, 2026 update. GitHub Enterprise Server administrators must rotate the GPG keys their instances use to verify upgrades. Any organization whose developers ran Nx Console 18.95.0 should rotate the credentials on those machines and review CI/CD logs from May 18 onward.
Who was behind the GitHub breach?
The threat group TeamPCP, tracked by Google’s threat intelligence team as UNC6780, claimed the GitHub breach and the TanStack npm compromise that led to it. GitHub’s own posts refer only to a threat actor and do not confirm the attribution. Two alleged TeamPCP members were arrested in Australia in August 2026, though the announced charges do not name GitHub.
Where can I get GitHub's SOC 2 report?
GitHub’s SOC 2 Type 2 report is available to organization and enterprise owners inside GitHub, not on a public page. Organization owners find it under the organization’s Settings, in the Compliance section, and enterprise owners under the enterprise’s Compliance tab, alongside reports such as SOC 1 Type 2 and the ISO/IEC 27001:2022 certificate.