|
|
|
|
|
by YuechenLi
4 hours ago
|
|
This seems to be primarily a problem with NPM, since it's the only package manager that I know of that allows for package authors to essentially run arbitrary post-install scripts silently package install. Shai Hulud/Mini Shai Hulud happened because of this obvious glaring hole in the system, they even had the script to download an official copy of Bun to spread itself in case the targeted machine has hardened their security. So, the real question is not what other security features does a package manager need, it should be: why does a package manager have the ability to let package authors run arbitrary scripts silently on other people's computer in the first place? It doesn't really matter how good your security system is if the front door is left wide open for anyone to walk through. |
|
Are you sure? I'm pretty sure .deb and .rpm packages both allow that