GitHub Breached Through a Backdoored VS Code Extension With 2.2 Million Installs

GitHub Breached Through a Backdoored VS Code Extension With 2.2 Million Installs

A compromised Nx developer's credentials let attackers slip a Python backdoor into one of the Marketplace's most-trusted extensions — and straight into GitHub's internal repositories.

Written by OutOfToken AI

June 4, 2026 · 4 min read · Synthesized from reporting by Infosecurity Magazine · How this works

AI Likely Accurate · 7/10

GitHub confirmed it suffered an internal repository breach traced directly to a poisoned version of the Nx Console Visual Studio Code extension — a tool carrying a verified publisher badge and more than 2.2 million installs. On May 18, 2026, at 12:30 UTC, version 18.95.0 of Nx Console was quietly pushed to the Visual Studio Marketplace by a threat actor who had stolen the credentials of a legitimate Nx developer. What followed was a textbook supply chain intrusion that reached one of the most consequential targets in software infrastructure.

How the Attack Was Constructed

The attacker compromised an Nx developer's account and used that access to publish a backdoored extension that was, to all outward appearances, indistinguishable from a legitimate release. The malicious build contained code that established Python-based command-and-control infrastructure on victim machines, dropping a backdoor script at `~/.local/share/kitty/cat.py`. The same campaign also implicated `@antv` npm packages, suggesting a coordinated, multi-vector operation rather than an opportunistic one-off. CISA has since linked the intrusion to a broader campaign it calls 'Megalodon,' a pattern of supply chain compromises specifically targeting DevOps toolchains, cloud environments, and enterprise developer pipelines.

Why the Marketplace Became the Weak Link

Microsoft's Visual Studio Marketplace operates on a verified publisher model — a trust signal that hundreds of thousands of developers rely on when installing extensions into environments that have privileged access to source code, secrets, tokens, and internal APIs. The Nx Console's verified badge and massive install base made it a high-value trojan horse. Once a developer running the extension authenticated into GitHub-connected tooling, the C2 backdoor had a direct pathway into whatever that developer could access. Jeff Cross, CEO of Nx, publicly confirmed the extension's role as the initial access vector in the GitHub breach, lending official weight to what security researchers had already reconstructed from telemetry and timeline data.

"Version 18.95.0 of Nx Console — verified, trusted, widely installed — was on the Marketplace for hours before anyone flagged it. That window was enough."

The Systemic Problem No Badge Can Fix

The incident exposes a structural vulnerability in how the developer tooling ecosystem handles trust. Verified publisher status confirms identity at a point in time — it does not continuously validate that an account hasn't been compromised, nor does it scan extension payloads for malicious behavior with sufficient granularity to catch novel backdoors. VS Code extensions run with the same permissions as the developer operating them, which in practice means access to filesystem paths, environment variables, shell execution, and network sockets. In a DevOps context, that translates directly to CI/CD pipeline credentials, cloud provider tokens, and internal repository access. CISA's advisory frames this not as an isolated GitHub problem but as an industry-wide exposure: threat actors have identified developer tooling as a reliable, under-defended attack surface.

GitHub's breach will force a reckoning with how much unconditional trust the industry extends to Marketplace extensions simply because they carry a badge and a download count. Microsoft will face pressure to implement continuous behavioral monitoring and cryptographic signing with reproducible builds for extensions in high-install tiers. For security teams, the immediate lesson is blunt: developer workstations are not low-risk endpoints, and any extension with shell access is a potential lateral movement vector. The Megalodon campaign suggests this is not the last time a threat actor exploits that assumption.

Editorial Note

Supply chain attacks targeting developer tools and VS Code extensions are well-documented threat vectors. Infosecurity Magazine is a reputable cybersecurity publication. However, without independent confirmation from GitHub, Microsoft, or Nx officials, and without details on breach scope/timeline, full verification is limited. The attack pattern (compromised maintainer credentials to publish malicious extension) aligns with known real-world incidents.

Claim Tracker

AI-assessed

UnverifiedNx Console extension had 2.2 million installs

Install counts are public data but article does not cite source; number appears plausible but unconfirmed in article

UnverifiedGitHub suffered an internal repository breach traced to poisoned Nx Console version 18.95.0

Article attributes confirmation to GitHub but provides no direct GitHub statement or link; critical claim lacks primary source documentation

UnverifiedMalicious code dropped a backdoor script at ~/.local/share/kitty/cat.py

Specific technical detail provided without source attribution or evidence links

UnverifiedThreat actor compromised on May 18, 2026 at 12:30 UTC

Future date (2026) raises factual accuracy concerns; article may be fictional or contain timestamp error

UnverifiedCISA linked intrusion to campaign called 'Megalodon'

No CISA advisory, alert, or statement provided as reference; campaign name lacks verification

Ask AI about this story

// discussion

sign in to join the discussion