Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
GitHub
AI-generated illustration
OrganisationUS

GitHub

Microsoft-owned code hosting platform that also runs npm, the JavaScript package registry.

GitHub tightened npm's publishing rules from 2 October 2026, five months after a tampered editor extension on one developer's laptop let attackers copy about 3,800 of its internal private repositories.

Last refreshed: 28 November 2026 · Appears in 2 active topics

Key Question

How did one VS Code extension reach 3,800 of GitHub's internal repositories?

Timeline for GitHub

#24 23 Nov
#13 2 Sept
#7 3 Jun

Attack worm kit now open-sourced freely

Cybersecurity: Threats and Defences
#5 18 May

GitHub's own code cloned via add-on

Cybersecurity: Threats and Defences
View full timeline →

Background

GitHub hosts source code and runs GitHub Actions for automated builds, and through npm it also runs the main registry for JavaScript packages. Holding both makes it a prize for supply-chain attackers, as the copying of its own repositories in May 2026 showed, and the place where package-publishing safeguards are set.

Microsoft bought GitHub in 2018 for $7.5bn. After chief executive Thomas Dohmke said in August 2025 that he would leave, Microsoft moved GitHub into its CoreAI division rather than name a successor.

GitHub also sells Copilot, the AI coding assistant it announced as a technical preview on 29 June 2021 and opened to individual subscribers on 21 June 2022. Its product is now a research subject in its own right: a working paper submitted on 23 November 2026 by economists at MIT and Microsoft Research followed 5,414 multinationals and reported that, a year on from buying Copilot, a firm's technical hiring each quarter was 29% lower, with no change in departures, and the lost posts sat in junior coding work.

Key Issues
Supply-chain attacks

One poisoned add-on exposed GitHub's own code

For 18 minutes on 18 May 2026 a tampered release of the Nx Console extension was live in Microsoft's extension store for Visual Studio Code. One GitHub developer installed it, the add-on harvested every credential on that machine, and the intruders cloned roughly 3,800 of GitHub's internal private repositories before access was cut. GitHub said the intruders took no customer data.

The same group, tracked as UNC6780, had open-sourced its Shai-Hulud worm kit on 12 May, and a copycat poisoned 5,561 repositories hosted on GitHub within six hours. GitHub answered through npm, the JavaScript registry it runs. From 2 October 2026 a trusted-publishing set-up that has not completed its first publish lapses after 48 hours, and the registry refuses publishing tokens issued to GitHub Actions issue_comment events.

Common Questions
Was GitHub hacked in 2026?
In May 2026, an attacker trojanised a VS Code extension and used it to clone roughly 3,800 of GitHub's internal private repositories. GitHub said customer repositories and user data were not affected.Source: GitHub statement, May 2026
How did UNC6780 get into GitHub?
UNC6780 published a malicious version of the Nx Console VS Code extension. A GitHub employee installed it, and on startup it cloned internal repositories to an attacker-controlled server.Source: cyber-threats-and-defences Update 416
Did the GitHub 2026 breach affect customer code?
GitHub stated that customer repositories, enterprise accounts, and end-user data were not accessed. Only GitHub's own internal private repositories were compromised.Source: GitHub statement, May 2026
Why are VS Code extensions a security risk?
Extensions run with full user privileges inside the IDE and can execute arbitrary code, access the filesystem, and make network requests. A trojanised extension installed by a privileged developer can exfiltrate credentials or clone private repositories silently.Source: event
Who runs GitHub now?
GitHub is owned by Microsoft and sits inside its CoreAI organisation. Microsoft said in August 2025 it would not appoint a new chief executive after Thomas Dohmke left.Source: Microsoft / TechRadar, August 2025
Which VS Code extension was used to breach GitHub?
A trojanised Nx Console build, version 18.95.0, live on the Visual Studio Marketplace for 18 minutes on 18 May 2026. A GitHub employee installed it and it was used to clone about 3,800 internal repositories.Source: GitHub / Nx advisory
What changed in npm trusted publishing in October 2026?
From 2 October 2026, trusted-publishing configurations that have not completed a first publish expire after 48 hours, and npm rejects tokens from GitHub Actions issue_comment events.Source: GitHub changelog, 2 October 2026
Source Material

Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Updated 28 November 2026. Editorial standards.