GitHub Internal Repositories Compromised, Offered for Sale

Last Updated: 2026-05-21T18:38:49Z

GitHub has announced “unauthorized access” to internal repos.

https://xcancel.com/github/status/2056949168208552080

The situation appears to be that an employee’s machine had a compromised VS Code extension that led to approximately 3800 internal GitHub repositories being exfiltrated. teampcp, the same attackers behind the recent “Mini Shai-Hulud” attacks, are claiming credit and offering the data for sale on BreachForums.

BreachForums is currently down, but this image was captured prior to that.

The list of affected repos published by the alleged attackers is below, with apparent account names involved in the compromise.

github-repos.txt (93.2 KB)

GitHub’s blog post has named the Nx Console extension as the source of compromise and Nx CEO Jeff Cross confirmed on X that it was in fact the case.

Step has a clear writeup on the Nx Console incident.

Nx also has a GitHub issue dedicated to the compromise.

Actions

GitHub Enterprise remediation steps listed here:

2 Likes

Dang in retrospect maybe this proposal should have been taken more seriously.

3 Likes

Here are the official remediation steps:

For single node topology, run these commands:

$ curl -fsSL https://enterprise.github.com/security/2026-05-24/rotate-gpg.sh -o rotate-gpg.sh
$ chmod ug+x ./rotate-gpg.sh
$ ./rotate-gpg.sh
$ sudo ./rotate-gpg.sh

For HA or cluster topology:

Log on to any node in your HA or cluster installation and run the following commands, they will download the script, copy it to all nodes and run it on all nodes:

$ ghe-cluster-each -- curl -fsSL https://enterprise.github.com/security/2026-05-24/rotate-gpg.sh -o rotate-gpg.sh
$ ghe-cluster-each -- chmod ug+x ./rotate-gpg.sh
$ ghe-cluster-each -- ./rotate-gpg.sh
$ ghe-cluster-each -- sudo ./rotate-gpg.sh

Note that the key is stored in both the admin and root accounts, so running a second time with sudo ensures that it is updated in both.

If the signing key is not rotated, future GitHub Enterprise Server version upgrades will fail verification with the following error message:

"Error: The file provided is not a valid GitHub Enterprise Server package."

More documentation found here: Investigation update: GitHub Enterprise Server signing key rotation - The GitHub Blog