▲ | ebfe1 5 days ago | |||||||||||||||||||||||||||||||||||||
Is it just me who think this could have been prevented if npm admins put in some sort of cool off period to only allow new versions or packages to be downloaded after being published by "x" amount of hours? This way the npm maintainer would get notifications on their email and react immediately? And if it is urgent fix, perhaps there can be a process to allow npm admin to approve and bypass publication cool off period. Disclaimer: I don't know enough of npm/nodejs community so I might be completely off the mark here | ||||||||||||||||||||||||||||||||||||||
▲ | herpdyderp 5 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
If I was forced to wait to download my own package updates I would simply stop using npm altogether and use something else. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | kaelwd 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
NPM could also flag releases that don't have a corresponding github tag (for packages that are hosted on github), most of these attacks are publishing directly to NPM without any git changes. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | robjan 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
They could definitely add a maker-checker process (similar to code review) for new versions and make it a requirement for public projects with x number of downloads per week. | ||||||||||||||||||||||||||||||||||||||
▲ | hiccuphippo 5 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
The could force release candidates that the package managers don't automatically update to, but let researchers analyse the packages before the real release. |