Keyv and friends compromised in npm supply chain attack
Keyv and friends compromised in npm supply chain attack. Keyv and friends compromised in npm supply chain attack
Comment on: Keyv and friends compromised in active Shai-Hulud supply chain attack
> the framing that npm is so bad is really flatly invalid.Is it really though if we're getting thousands of compromised packages regularly?You can do all the right things and still be legit problematic.
Comment on: Keyv and friends compromised in active Shai-Hulud supply chain attack
No other package manager is worse than NPM. Outside of its 'popularity', there are several fundamental reasons why this continues to happen to NPM:- Imported packages are not pinned by default.- Typescript / Javascript's lack of a standard library encourages the developer to import more packages into their codebase to address the short-comings which increases the risk of importing a bad package.- Post install scripts execute external code by default upon downloading dependencies.All of this comes by default in the ecosystem and we continue to see more shai-hulud worms all easily targeting NPM.
Shai-Hulud: What an NPM supply-chain hack reveals about the limits of provenance
Shai-Hulud: What an NPM supply-chain hack reveals about the limits of provenance