node_modules: Analyzing a Crime Scene
summary
A forensic look at massive JavaScript supply-chain attacks in 2025 that compromised popular npm packages (e.g., chalk, debug, ansi-styles) after a maintainer fell for a targeted MFA/phishing message. The talk examines the attack techniques used—targeted phishing, typosquatting, dependency confusion, malicious pre/post-install scripts, stolen publish tokens and viral propagation—and discusses how these exploit trust in the npm ecosystem and affect both package authors and dependent users.
AI-written summary · about
chapters (15)
- 0:00Supply chain attacks intro
- 3:22Why npm is targeted
- 8:40Open source growth
- 12:33NPM vulnerabilities
- 19:56Major npm attacks timeline
- 20:39EvenStream case study
- 25:15Summer 2025 attacks
- 27:40NX compromise via GitHub
- 35:08Self-replicating malware
- 39:19Axios compromise via social
- 42:07Tantack cache poisoning
- 44:15GitHub/npm security improvements
- 46:43Maintainer recommendations
- 47:24Developer recommendations
- 49:49Q&A
