News for hackers. Stuff that matters.
Re:'No way to prevent this,' says only package manager where... by nothinkjustai on Friday May 15, 2026 @11:56PM (#48156683)
Yeah no shit, if you download malicious code from the internet and run it on your computer you will get pwned. No matter if it’s from a package manager a zip file or a submodule.

However the current npm vulns used a post install script.

Re:'No way to prevent this,' says only package manager where... by mort96 on Saturday May 16, 2026 @01:31AM (#48157114)
I maintain that NPM malware use postinstall scripts just because they exist and are convenient. Had NPM not had postinstall scripts, the malware would have used a different mechanism and been almost exactly as effective.