---
title: "Shai-Hulud: The NPM Worm That Spreads Like Virus - [Dev]olution Podcast - Coder"
description: "Listen to the [Dev]olution Podcast from the team at Coder."
image: "https://cdn.sanity.io/images/eyp0s751/production/57437a76b2b5ee8d92ff4398c494cb3392d767a1-480x360.jpg?w=1200&h=630&fit=crop&auto=format&q=80"
canonical: "https://coder.com/podcasts/devolution/shai-hulud-the-npm-worm-that-spreads-like-virus"
---

[Back to podcast list](https://coder.com/podcasts/devolution)

\[Dev\]olution Podcast

# Shai-Hulud: The NPM Worm That Spreads Like Virus

[YouTube](https://www.youtube.com/watch?v=GUJmiX55NqI) [Spotify](https://open.spotify.com/episode/4HRUWm9VnfQ5dNnjaaWyG2) [Apple Podcasts](https://podcasts.apple.com/td/podcast/shai-hulud-the-npm-worm-that-spreads-like-virus/id1839475248?i=1000754626698)

 ![](https://i.ytimg.com/vi/GUJmiX55NqI/maxresdefault.jpg)

With [Nicky Pike](https://coder.com/blog/author/Nicky)

Published March 11, 2026

## Transcript

_This has been generated by AI and optimized by a human._

25,000 GitHub repositories compromised in just 72 hours, not by some nation state, zero day, not through some sophisticated network breach, but through NPM install the command that every JavaScript developer on the planet runs without even thinking about it. That's Shai-Hulud. And if you haven't heard of it or you've only heard the headlines, you need to buckle up because this thing is still going.

It's getting worse, and it changes how we need to think about developer security. So here's what happened. Back in September, 2025, security researchers found the first self-replicating supply chain worm in the NPM ecosystem. It wasn't a Trojan, it's not a backdoor, it was a worm. It compromised the developer's NPM account, injected malicious code into their packages, published those packages automatically, and then when someone else installed one of those packages, it did the whole thing over again.

There was no human in the loop. It just spread. So CSA put out their formal alert, people rotated their tokens, and everyone thought it was handled. And then November 21st hit Shai-Hulud 2.0, which the attackers literally branded the second coming because apparently these threat actors are huge Dune fans with a sense of theater.

We watched this thing go exponential. Within three days, it had compromised roughly 800 NPM packages with over 132 million combined monthly downloads, and it created over 25,000 malicious repositories on GitHub. At its peak security researchers tracked a thousand new compromised repos appearing every 30 minutes.

That's not a breach. This was a software pandemic. And these weren't just obscure packages that nobody uses. We're talking post hog Zapu, postman, async, A-P-I-E-N-S domains. These are household names in the developer ecosystem. Posthog called it the largest, most impactful security incident that they had ever had.

Trigger Dev found commits in their repos attributed to Leus Tour Vaults, not the real Leus tour vaults. The attackers were impersonating the creator of Linux to push stolen credentials into public repos. That's the level of audacity that we're dealing with here, and here's the thing that keeps me up at night about this.

The malicious code ran during NPM's pre-install hook. That means it executes before the package even finishes. Installing your vulnerability scanners, they never see it. Your SCA tools never got a chance to analyze it. Your EDR, it saw a legitimate NPM process doing what NPM processes do. By the time any security tooling could have flagged something, their credentials were already gone.

GitHub tokens, AWS Keys, cloud Provider Secrets, SSH Keys, all of it harvested by Truffle Hog, which by the way is a legitimate open source security tool. These jerks turned a defensive tool into a weapon. And if they couldn't find credentials to steal, well, they tried to delete your entire home directory.

They installed a dead man switch that went full scorched earth. They went far beyond just trying to steal your stuff. They wanted to burn your house down on the way out. Now, here's where it gets really scary. Wiz identified over 12,000 unique compromised machines and over 400,000 raw secrets exposed.

And as of December 1st, over 60% of the leaked NPM tokens are still valid. People simply haven't rotated 'em. A month later and they haven't rotated 'em. Think about the implications of that. And the long tail hit just keeps going. We all know Trust Wallet. They've got over 200 million users.

Yes, on Christmas Eve, attackers used credentials stolen in the November Shai-Hulud campaign to push a malicious version of trust wallet's, Chrome extension. $8.5 million were drained from over 2,500 wallets in just two days. Merry Christmas y'all. The attackers, they had staged their infrastructure for this attack two weeks prior.

This wasn't random. It was a planned theft. And then on December 28th, Shai-Hulud 3.0 showed up. It was better at hiding itself. It had better air handling, windows compatibility. We are literally watching this thing morph in front of our faces. So what do we do about this? Well, here's my take, and I'm gonna be a little blunt about it.

We have been building our developer security model on an assumption that just doesn't hold up anymore, that developer laptops are trusted endpoints. They're simply not. They're high value targets sitting on coffee shop wifi with months of craft credentials, direct access to source code, and broad permissions to everything that a developer can touch, and we've been protecting them with the security equivalent of multiple screen doors on a submarine.

Every company that got hit by Shai-Hulud had invested in security. They had EDR network monitoring, dependency scanner, secret management. They had all of it. It just didn't matter because the attack executed inside a trusted process through a trusted channel before any of those tools could even look at it.

The organizations that weathered this best. They had a couple things in common. First, they had already moved their development environments off of developer laptops. Their source code wasn't sitting on local file systems, and their credentials weren't cashed in dot files on someone's MacBook. Their workspaces were ephemeral and isolated, so even if something bad did happen, they can rebuild and recover in hours instead of week.

And here's the other thing. They weren't letting their developers pull packages straight from public NPM registries. They had internal private registries set up, be it Artifactory Nexus or whatever.

Now, look, that's not a magic shield. If a bad package makes it into your private registry before someone catches it, you still got a problem.

But it is an additional control point. It means your security team has a place to vet packages, scan them and approve them before they ever touch a developer's environment. And it means your developers aren't just blindly pulling from the wild west of public reposts where this thing is out and spreading.

It doesn't eliminate the risk, but it shrinks the window and it does give you a fighting chance to catch it first. I'm not gonna sit here and pretend that there's a silver bullet to preventing attacks. There's not, but I will tell you this, if Shai-Hulud doesn't make you rethink where your developers are doing their work, what they have access to, and how long their credentials live, I don't know what will.

This is the SolarWinds moment for developer tooling, except this one spreads itself and it's not done yet.

Now if you found this useful, share it seriously, forward it to your platform engineering teams, forward it to your CISO, because I promise you, not enough people are paying attention to this. I don't expect you just to take my word for it.

So I'm gonna drop the links to the CISO alert. Microsoft's guidance and post hos postmortem in the description so that you can go dig in for yourself. If this is the kind of real talk that you're looking for about what's actually happening in our industry, hit subscribe. I've got a lot more to say about this space.

And if your org got hit by Shai-Hulud, or you've been doing some of the cleanup, I want to hear your story, drop it in the comments, and let's talk about it.

Thank you for listening to Devolution. If you've got something to show off, let me know. You can message me, Nicky Pike on LinkedIn, or join our Discord community and drop it there. And seriously, don't forget to subscribe. You do not wanna miss what's next.

 Show more

## Featured speakers

- [![](https://cdn.sanity.io/images/eyp0s751/production/1a2af9b4d7ea698e4a0115fcbb92eebe238a559f-800x800.jpg?w=320&h=320&fit=crop&auto=format&q=80) Nicky Pike](https://coder.com/blog/author/Nicky) Field CTO at Coder and host of the \[Dev\]olution podcast

## Watch more

[All episodes](https://coder.com/podcasts/devolution)

[![](https://cdn.sanity.io/images/eyp0s751/production/32e4ef54e499a1fde4bcb3c8dee25503e2ded038-480x360.jpg?w=480&auto=format&q=80) September 23, 2026

### 95% of the World Is Clueless About Platform Engineering](https://coder.com/podcasts/devolution/95percent-of-the-world-is-clueless-about-platform-engineering)

[![](https://cdn.sanity.io/images/eyp0s751/production/0d0fde6b9fff799c697428350261f29829ef0692-480x360.jpg?w=480&auto=format&q=80) September 9, 2026

### Are You Really Learning to Code If AI Does It for You?](https://coder.com/podcasts/devolution/are-you-really-learning-to-code-if-ai-does-it-for-you)

[![](https://cdn.sanity.io/images/eyp0s751/production/631a62cad73caccc62d900636e774ee91dd92a43-480x360.jpg?w=480&auto=format&q=80) June 24, 2026

### 96% of Companies Run AI Agents. Only 21% Can Control Them](https://coder.com/podcasts/devolution/96percent-of-companies-run-ai-agents-only-21percent-can-control-them)

## Additional content

Read more in these blog posts.

[![](https://cdn.sanity.io/images/eyp0s751/production/ba0c2350c70744687ca73c469c42c69f2353bb3b-1256x674.png?w=960&h=515&fit=crop&auto=format&q=80) Jul 23, 2026 · AI

### When anyone can build: Gene Kim on what vibe coding breaks first

Read more](https://coder.com/blog/when-anyone-can-build-gene-kim-on-what-vibe-coding-breaks-first)

[![](https://cdn.sanity.io/images/eyp0s751/production/b100b861236be5e66517696813c21a0c80aa21b8-1256x674.png?w=960&h=515&fit=crop&auto=format&q=80) Jun 23, 2026

### Five months to patch, one day to weaponize: CVE remediation has a math problem

Read more](https://coder.com/blog/cve-remediation-dashaun-carter)

[![](https://cdn.sanity.io/images/eyp0s751/production/c609f0fc6d722d125285a8c73bbfe7a8e98220fe-1256x674.png?w=960&h=515&fit=crop&auto=format&q=80) Jun 18, 2026 · AI

### Everyone said AI would kill developer community. The opposite is happening.

Read more](https://coder.com/blog/ai-and-developer-community-pauline-narvas)

## Want to be a guest?

Sign up to be a guest on the \[Dev\]olution Podcast.

Complete the form to be contacted about Coder products and solutions. The information you provide will be treated in accordance with the [Coder Privacy Policy](https://coder.com/legal/privacy-policy). Opt-out at any time.

## Subscribe

[YouTube](https://www.youtube.com/@Devolution-Podcast) [Spotify](https://open.spotify.com/show/5weWPDdIozGpFLSJM7Ojzw) [Apple Podcasts](https://podcasts.apple.com/td/podcast/dev-olution/id1839475248)

## Freedom builders want.
Control enterprises require.

[Install Coder](https://coder.com/downloads) [Start a trial](https://coder.com/trial)
