Breach of GitHub Internal Repositories by TeamPCP: Exfiltration of ~3,800 Repositories via Malicious VS Code Extension

Threat Intelligence Note: Unauthorized Access and Exfiltration of GitHub Internal Repositories

Publication Date: May 23, 2026


Introduction

On May 19, 2026, GitHub detected and contained a security incident that compromised employee devices through a malicious extension for the Visual Studio Code (VS Code) development environment. The threat actor known as TeamPCP (also tracked as UNC6780 by Google Threat Intelligence Group) exfiltrated approximately 3,800 internal repositories from the platform. GitHub publicly confirmed the incident on May 20, 2026 through an official post on its security blog. According to the company’s initial assessment, the exfiltration activity was limited exclusively to GitHub’s own internal corporate repositories; there is no evidence, at the time of disclosure, that customer repositories, enterprise organizations, or user data stored outside internal systems were compromised. The source code of the platform’s core services, however, could be among the stolen material, representing a significant risk to the global software supply chain.


What is an Internal Development Repository Breach?

Nature of the Incident

The internal or private repositories of a software development organization represent the core of its intellectual property and operational infrastructure. Unlike public repositories, these contain:

Strategic Implications

The compromise of internal repositories from a platform like GitHub — used by more than 180 million developers and 90% of Fortune 100 companies — goes beyond immediate corporate damage. Attackers in possession of this material can:


How Does It Work?

Attack Vector: Malicious VS Code Extension (Supply Chain via Developer Tooling)

The attack followed a supply chain compromise pattern specifically targeting the attack surface of developer workstations.

Phase 1 — Implant Distribution

TeamPCP introduced a trojanized version of an extension into the VS Code Marketplace. The most likely candidate extension, according to multiple independent researchers, is nrwl.angular-console v18.95.0 (Nx Console), an extension with more than 2.2 million installs and verified publisher status. The malicious payload consisted of:

Phase 2 — Credential Harvesting on the Endpoint

VS Code extensions run with the same privileges as the editor, granting them unrestricted access to:

The stealer silently collected authentication material from GitHub, npm, AWS, and 1Password from the moment the developer opened a workspace.

Phase 3 — Repository Exfiltration

Using the compromised employee’s access tokens, the threat actors proceeded to:

  1. Authenticate to the GitHub API using the stolen credentials
  2. Enumerate accessible repositories under the compromised user’s context
  3. Mass-clone the internal repositories (~3,800 repositories identified)
  4. Transfer the material to infrastructure under their control

Phase 4 — Monetization

TeamPCP posted the sale offer on the Breached forum (BreachForums) stating:

“As always, this is not a ransom. We do not care about extorting GitHub, 1 buyer and we shred the data on our end. If no buyer is found, we leak it for free.”

The group also explored alliances with ransomware actors, including LAPSUS$ and the Vect group, under an operational model in which TeamPCP provides initial access and its partners manage extortion and encryption.

Summarized Attack Flow

VS Code Marketplace
        │
        ▼
Trojanized extension installed on employee workstation
        │
        ▼
Stealer executed → Harvesting of GitHub tokens/credentials
        │
        ▼
Authentication to GitHub API with compromised token
        │
        ▼
Enumeration and cloning of ~3,800 internal repositories
        │
        ▼
Exfiltration to attacker infrastructure
        │
        ▼
Sale offer on underground forum ($50,000+)

Affected Systems and Assets

Compromised Assets (Confirmed or Probable)

Assets Outside the Scope (Per Official Report)

⚠️ Note: The investigation was ongoing at the time of disclosure. GitHub indicated it would notify customers if additional impacts were discovered.


Mitigation and Detection

Immediate Remediation Actions (Taken by GitHub)

Detection Recommendations for Organizations

The following measures enable detection of similar activities in corporate development environments:

GitHub Audit Log Monitoring

Secret Scanning

Development Extension Management

Principle of Least Privilege for Development Tokens

Anomalous Behavior Detection on Workstations


Recap

The GitHub incident of May 2026 can be summarized as a precise chain of events: the TeamPCP group (UNC6780), specialized in software supply chain attacks, compromised a GitHub employee’s work device through a trojanized extension from the VS Code marketplace. The payload — a JavaScript stealer of just ~2,777 bytes — silently collected GitHub, npm, AWS, and 1Password authentication tokens from the employee’s development environment. With those credentials, the attackers authenticated to GitHub’s internal API and proceeded to clone approximately 3,800 private corporate repositories, potentially including source code from the platform’s core services.

GitHub responded immediately: it isolated the compromised device, removed the extension from the marketplace, and rotated critical credentials, prioritizing those with the greatest impact. The investigation confirmed that the scope of the incident was limited to the company’s own internal repositories, with no evidence of compromise of the repositories, organizations, or data of the platform’s more than 180 million users.

This case reinforces four lessons that every software development organization must internalize:

Protecting the software supply chain is not an isolated technical problem; it is an organizational responsibility that encompasses identity management, continuous monitoring, critical evaluation of the tooling ecosystem, and a security culture within engineering teams.


References

GitHub Security Blog. (2026, May 20). Investigating unauthorized access to GitHub-owned repositories. https://github.blog/security/investigating-unauthorized-access-to-githubs-internal-repositories/

Help Net Security. (2026, May 20). TeamPCP breached GitHub’s internal codebase via poisoned VS Code extension. https://www.helpnetsecurity.com/2026/05/20/github-breached-teampcp/

Infosecurity Magazine. (2026, May 21). GitHub confirms breach of internal repositories via malicious VS Code extension. https://www.infosecurity-magazine.com/news/github-confirms-breach-vs-code/

Phoenix Security. (2026, May 20). GitHub internal repository breach via poisoned VS Code extension (May 2026): TeamPCP exfiltrates 3,800 repos through the developer trust surface. https://phoenix.security/vs-code-extension-malware-github-breach-teampcp-2026/

The Hacker News. (2026, May 20). GitHub investigating TeamPCP-claimed breach of internal repositories. https://thehackernews.com/2026/05/github-investigating-teampcp-claimed.html

VentureBeat. (2026, May 20). GitHub confirms 3,800 internal repos stolen through poisoned VS Code extension as supply chain worm hits Microsoft’s Python SDK. https://venturebeat.com/security/github-confirms-3800-repos-stolen-poisoned-vs-code-extension-supply-chain-worm-microsoft-python-sdk