Syntax - Tasty Web Development Treats
1004: TanHacked

1004: TanHacked

Syntax - Tasty Web Development Treats

23:16

About this episode

Scott and Wes break down the “Mini Shai-Hulud” supply chain attack that compromised TanStack and other popular npm packages through a clever GitHub Actions cache poisoning exploit; a self-propagating worm that stole credentials and persisted through Claude Code hooks and VS Code tasks. They also cover how developers can protect themselves using pnpm’s security defaults, dev containers, and other practical defenses.

Show Notes

00:00 Welcome to Syntax!

00:25 Understanding the Shai-Hulud Worm

Post Mortem of Shai Hulud Attack

02:47 Mechanics of the Attack: GitHub Actions and Cache

How the attack happened

Who Was Involved in the Attack

Several npm latest releases are compromised

Socket.dev

Step Security

05:44 Brought to you by Sentry.io

06:09 Propagation and Impact of the Worm

09:30 Preventative Measures for Developers

Dead Man’s Switch

12:33 The Role of Package Managers in Security

Block Exotic Subdeps

18:39 Using Dev Containers

Why You Should Use Dev Containers

Scott Tolinski’s Security Review

20:57 Conclusion and Final Thoughts

Sentry has Skills!

Hit us up on Socials!

Syntax: X Instagram Tiktok LinkedIn Threads

Wes: X Instagram Tiktok LinkedIn Threads

Scott: X Instagram Tiktok LinkedIn Threads

Randy: X Instagram YouTube Threads

More from Syntax - Tasty Web Development Treats

Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share an entry-level setup for recording video les…

1h 6m

Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus Bombadil’s property-based testing for web UIs. They…

1h 11m

Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of our code. They discuss going zero dependencies, a 5x smaller bundl…

50m

Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and the infrastructure overhaul decoupling storage from compute. P…

31m

Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent again. Plus Anomaly's Hex dictation app, Mitchell…

1h 35m