logoalt Hacker News

skydhashyesterday at 10:45 PM0 repliesview on HN

NPM default installation method does not really lock down you dependencies. It allows for update when the patch number (semver) is increased. Which is why those malware bump it up. Anyone who then run `npm install` will get it and will run the code.