惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Recent Announcements
Recent Announcements
D
Docker
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
腾讯CDC
B
Blog
博客园_首页
罗磊的独立博客
D
DataBreaches.Net
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Causa GitHub, or: Your Editor Extensions Run as You
Vivian Voss · 2026-05-21 · via DEV Community

A sunny open-air market fruit stall under a wooden sign reading MARKETPLACE, its crates overflowing with gorgeous, immaculate fruit in lavish abundance. A young Developer stands at the stall as a shopper, a basket of apples on her arm, headset on. Among the hundreds of perfect fruits, a single apple carries a small grey-green patch of mould and a paper tag reading v18.95.0, all but lost in the mass: the one rotten item nobody notices until it is too late.

Wire Fire — Episode 02

On 18 May 2026 an attacker published a poisoned version of a popular Visual Studio Code extension. It was live for roughly eleven minutes. That was long enough to reach a GitHub employee's laptop, and from there to exfiltrate around 3,800 of GitHub's own internal source-code repositories. GitHub confirmed the breach on 20 May. This is the situation, what it means, and what to do about it.

The Breach

The timeline is short and worth stating precisely.

On 18 May, a trojanised build of Nx Console (the VS Code extension for the Nx build system, published under the identifier nrwl.angular-console) appeared on the Visual Studio Code Marketplace as version 18.95.0. It was live for approximately eleven minutes before being pulled. Eleven minutes is the number to sit with: it is the same lesson as the axios incident in Wire Fire Episode 01, where three hours of a poisoned package tagged "latest" was more than enough. A short window is not a small window when the install is automatic and the reach is global.

On 19 May, GitHub detected the intrusion. On 20 May, GitHub confirmed publicly that an employee's device had been compromised through the extension, and that the attacker had used that access to clone internal repositories. GitHub stated it had isolated the device, removed the extension, and rotated credentials within hours of detection.

The attacker is TeamPCP, tracked by Google Threat Intelligence as UNC6780, a group that specialises in supply-chain attacks against open-source security utilities and developer tooling, and that has been active across npm, PyPI and PHP package ecosystems earlier in 2026. They have claimed responsibility on underground forums and are reportedly asking more than 50,000 US dollars for the stolen material.

The Scope

Around 3,800 internal repositories were exfiltrated. GitHub reports, as of the confirmation, no evidence that customer data, enterprise accounts or user repositories were affected. That assessment may change as the investigation continues; treat it as the current state, not the final word.

The exposure surface is wider than GitHub, and that is the part worth attention. The Visual Studio Code Marketplace serves the most widely used code editor in the world. Installation is one click. There is no enforced provenance: the Marketplace does not require that the publisher prove control of the upstream project, and a name collision or a compromised publisher account can place a poisoned build in front of millions of developers in the time it takes to click "Install".

The Mechanism

Here is the part that should change behaviour, stated in plain terms.

A VS Code extension runs with the full privileges of the developer who installed it. There is no sandbox between the extension and the rest of your machine. When you open a workspace (a folder, a project) the extension's activation code runs immediately and automatically. From that moment the extension can read any file your user account can read, run any command your user account can run, and reach any credential, token or SSH key sitting on your machine.

The poisoned Nx Console build did precisely this. On activation it fetched an obfuscated payload from an external server and executed it. The payload harvested credentials and environment secrets. On an ordinary developer's machine that is bad. On a GitHub employee's machine, the harvested access was enough to clone internal repositories that the employee could legitimately reach.

Note what did not happen. No firewall was breached from outside. No server was exploited. No password was brute-forced. The attacker did not break in; the attacker was invited in, by an automatic activation of code the developer chose to trust with a single click. The front door was never touched.

The Exposure

If you installed Nx Console (nrwl.angular-console) around 18 May 2026, and specifically version 18.95.0, you should assume the machine is compromised. Rotate every credential reachable from that machine: cloud tokens, registry tokens, SSH keys, API keys, anything in your environment or your credential store. Revoke and reissue, do not merely change. Check for unexpected outbound network connections and review recent repository access.

For everyone, whether or not you touched this specific extension, the operative steps are the same and they generalise:

  • Pin extension versions where your editor allows it, and disable automatic updates for extensions. Auto-update is the mechanism that turns one poisoned build into thousands of compromised machines before anyone notices.
  • Audit your installed extensions and their publishers. Remove the ones you do not use. Every extension is attack surface that runs as you.
  • Treat a new editor extension with the same suspicion you would give a new dependency in your code. You would (one hopes) read about a new npm package before adding it to production. The extension has more privilege and runs sooner.

On FreeBSD, the structural fix has a name. Capsicum is a capability-mode sandboxing framework: a process can drop into capability mode and then operate only on the file descriptors and resources it was explicitly handed, with no ambient authority to open new files, make new connections, or reach the wider system. An editor built on that model could run an extension in a box that holds only what the extension actually needs. Editors are not built that way yet, on any platform. The capability is in the kernel; the application has not asked for it.

The Pattern

The editor is now part of the supply chain, and that is the structural news under the GitHub headline.

For two years the industry has been learning, expensively, that npm install runs arbitrary code with your privileges, that the registry is an attack surface, that a dependency you did not write and cannot read is running on your machine. Wire Fire Episode 01 covered the npm side of this in detail. The lesson is now well established for package registries.

It is exactly as true for editor extensions, and almost nobody treats it that way. The extension marketplace is a package registry by another name: arbitrary code, published by parties you have not vetted, installed with one click, activated automatically, running with your full privileges. It has all the supply-chain risk of npm and less of the scrutiny, because the install does not feel like adding a dependency. It feels like configuring your editor.

For a decision-maker, the translation is direct: editor extensions are production dependencies and belong in your software-supply-chain policy. If your organisation reviews and pins npm packages but lets developers install any VS Code extension with one click, you have secured the front door and left every window open. GitHub, of all organisations, demonstrated the cost this week. The marketplace is a registry now. It is not being watched like one.

The home of the world's source code was read through a plugin to the world's most popular editor. Both, as it happens, belong to the same company. The call came from inside the toolchain.

Read the full article on vivianvoss.net →


By Vivian Voss, System Architect and Software Developer. Follow me on LinkedIn for daily technical writing.