Topic

Supply chain

4 posts All posts

Update the runtime in a minute. The dependency tree is the hard part.Supply chain

Node.js shipped ten fixes, and the real risk is still your dependencies

The October Node.js release patches ten flaws including a high-severity Brotli memory write. Here is what to update to, why rebuilding your containers matters, and why the supply-chain attacks hitting npm this year are the larger threat behind the headline.

More on Supply chain

Your fingers type lodahs. The install script runs anyway.Try it

Spot the typosquat: eight package names, which one is fake?

Eight install commands, each with one impostor package name hidden among the real ones. Train the instinct that reads a dependency name twice, because the install script runs before any of your code does.

The thirty seconds before install are the last you are in controlHow-to

Check an npm package before you install it

Installing a package runs its code. So the thirty seconds you spend looking at it beforehand are the only thirty seconds where you're still in control. Here's what I actually check, and the commands for each.

An install is not a downloadSupply chain

Your dependencies run code before your code does

An install is not a download. npm and pip will execute code from a package you have never imported, on a machine that usually holds your cloud credentials — which is why a mistyped package name is a compromise rather than a failed build.

← All posts