Fireship · @fireship

The largest supply-chain attack ever…

Uploaded September 9, 2025 · Length 4:00

The largest supply-chain attack ever…

Summary

npm package manager hit by largest supply chain attack, stealing $50 worth of Ethereum.

  • npm attack
  • supply chain attack
  • crypto clipper
  • javascript security
  • npm exploit

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    Yesterday, every JavaScript developer in

  2. 0:02

    the world, choked on their artisal oat

  3. 0:04

    milk latte after npm, the package

  4. 0:06

    manager holding the entire web together,

  5. 0:08

    got wrecked in the largest supply chain

  6. 0:10

    attack in its history. Packages with

  7. 0:12

    over two billion weekly downloads

  8. 0:13

    stopped saying hello world and instead

  9. 0:15

    said hello to some guy's crypto wallet.

  10. 0:17

    Most notably, it affected Chalk, a

  11. 0:19

    utility that makes your terminal look

  12. 0:20

    like the Castro District, which has

  13. 0:22

    hundreds of millions of downloads and

  14. 0:23

    created a domino effect across the

  15. 0:25

    entire JavaScript ecosystem. And sadly,

  16. 0:27

    it's not the first, second, or even

  17. 0:29

    third time this has happened. Crypto

  18. 0:31

    bros are constantly exploiting

  19. 0:32

    JavaScript Bros. And once again, the MPM

  20. 0:35

    package that you blindly trusted when

  21. 0:37

    you ran npm install contains bad code

  22. 0:39

    designed to steal your cryptocurrencies.

  23. 0:41

    Luckily though, the malicious code was

  24. 0:43

    quickly discovered and neutralized. But

  25. 0:44

    in today's video, we'll find out how a

  26. 0:46

    massive exploit like this is even

  27. 0:48

    possible. It is September 9th, 2025, and

  28. 0:51

    you're watching the code report. So,

  29. 0:52

    here's what went down yesterday. A

  30. 0:54

    developer named Josh Junan, who goes by

  31. 0:56

    Quicks Online, wakes up to what looks

  32. 0:58

    like an official email from MPM support.

  33. 1:00

    And it stated in no uncertain terms,

  34. 1:02

    "Your account will be locked on

  35. 1:04

    September 10th unless you update your

  36. 1:05

    2FA." Now, like I said before, Josh is

  37. 1:08

    the maintainer of some pretty important

  38. 1:10

    packages like chalk, debug, Anzi styles,

  39. 1:12

    and a bunch of other utilities that

  40. 1:14

    other developers depend on.

  41. 1:16

    >> I'm kind of a big deal.

  42. 1:17

    >> Almost every nodebased CLI tool depends

  43. 1:19

    on one of these packages. The email

  44. 1:21

    looks legit and it's coming from support

  45. 1:23

    mpmjs.help

  46. 1:25

    which looks official, right? Wrong. It's

  47. 1:27

    actually a classic fishing attack. Even

  48. 1:29

    though Josh is very smart and a much

  49. 1:31

    better developer than you or I, he

  50. 1:32

    clicked the link, entered his

  51. 1:33

    credentials, and gave attackers full

  52. 1:35

    control to his npm account and the

  53. 1:37

    ability to publish new code to these

  54. 1:38

    popular packages. And combined, these

  55. 1:40

    packages get over 2.5 billion weekly

  56. 1:43

    downloads, which is a crazy number.

  57. 1:45

    Realizing they just struck gold, they

  58. 1:46

    almost immediately start publishing new

  59. 1:48

    versions of these packages. But here's

  60. 1:50

    where things get interesting. It wasn't

  61. 1:52

    just some generic malware, but rather a

  62. 1:53

    cryptospecific attack targeting web 3

  63. 1:56

    users. The bad code would inject itself

  64. 1:58

    into a web browser and monitor

  65. 1:59

    cryptocurrency transactions through