Remix.run Logo
aabbccsmith 4 days ago

npm's recent provenance feature fixes this, and it's pretty easy to setup. It will seriously help prevent things like this from ever happening again, and I'm really glad that big packages are starting to use it.

billywhizz 4 days ago | parent [-]

> When a package in the npm registry has established provenance, it does not guarantee the package has no malicious code. Instead, npm provenance provides a verifiable link to the package's source code and build instructions, which developers can then audit and determine whether to trust it or not

OptionOfT 4 days ago | parent [-]

It prevents the npm publish from locally modified source code.