News for hackers. Stuff that matters.
Re:Self Propagating NPM Malware Compromises over 40 Packages by TZubiri on Tuesday September 16, 2025 @06:09PM (#45268861)
I'm all for disregarding DRY and copypasting code you wrote.

But I think for untrusted third party code, it's much better to copy the code by hand, that way you are really forced to audit it. There really isn't much of an advantage to copying an install.sh script compared to just downloading a running the .sh, whereas writing the actual .sh commands on the command line (and following any other URLs before executing them) is golden.

There are no comments on this comment yet.