Fireship · @fireship
The largest supply-chain attack ever…
Uploaded September 9, 2025 · Length 4:00
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.
- 0:00
Yesterday, every JavaScript developer in
- 0:02
the world, choked on their artisal oat
- 0:04
milk latte after npm, the package
- 0:06
manager holding the entire web together,
- 0:08
got wrecked in the largest supply chain
- 0:10
attack in its history. Packages with
- 0:12
over two billion weekly downloads
- 0:13
stopped saying hello world and instead
- 0:15
said hello to some guy's crypto wallet.
- 0:17
Most notably, it affected Chalk, a
- 0:19
utility that makes your terminal look
- 0:20
like the Castro District, which has
- 0:22
hundreds of millions of downloads and
- 0:23
created a domino effect across the
- 0:25
entire JavaScript ecosystem. And sadly,
- 0:27
it's not the first, second, or even
- 0:29
third time this has happened. Crypto
- 0:31
bros are constantly exploiting
- 0:32
JavaScript Bros. And once again, the MPM
- 0:35
package that you blindly trusted when
- 0:37
you ran npm install contains bad code
- 0:39
designed to steal your cryptocurrencies.
- 0:41
Luckily though, the malicious code was
- 0:43
quickly discovered and neutralized. But
- 0:44
in today's video, we'll find out how a
- 0:46
massive exploit like this is even
- 0:48
possible. It is September 9th, 2025, and
- 0:51
you're watching the code report. So,
- 0:52
here's what went down yesterday. A
- 0:54
developer named Josh Junan, who goes by
- 0:56
Quicks Online, wakes up to what looks
- 0:58
like an official email from MPM support.
- 1:00
And it stated in no uncertain terms,
- 1:02
"Your account will be locked on
- 1:04
September 10th unless you update your
- 1:05
2FA." Now, like I said before, Josh is
- 1:08
the maintainer of some pretty important
- 1:10
packages like chalk, debug, Anzi styles,
- 1:12
and a bunch of other utilities that
- 1:14
other developers depend on.
- 1:16
>> I'm kind of a big deal.
- 1:17
>> Almost every nodebased CLI tool depends
- 1:19
on one of these packages. The email
- 1:21
looks legit and it's coming from support
- 1:23
mpmjs.help
- 1:25
which looks official, right? Wrong. It's
- 1:27
actually a classic fishing attack. Even
- 1:29
though Josh is very smart and a much
- 1:31
better developer than you or I, he
- 1:32
clicked the link, entered his
- 1:33
credentials, and gave attackers full
- 1:35
control to his npm account and the
- 1:37
ability to publish new code to these
- 1:38
popular packages. And combined, these
- 1:40
packages get over 2.5 billion weekly
- 1:43
downloads, which is a crazy number.
- 1:45
Realizing they just struck gold, they
- 1:46
almost immediately start publishing new
- 1:48
versions of these packages. But here's
- 1:50
where things get interesting. It wasn't
- 1:52
just some generic malware, but rather a
- 1:53
cryptospecific attack targeting web 3
- 1:56
users. The bad code would inject itself
- 1:58
into a web browser and monitor
- 1:59
cryptocurrency transactions through


