People are aware of this but maybe this will make them a bit more aware
And I confirmed that that button is indeed available on packages with a link that goes to eg https://www.npmjs.com/support?inquire=security&security-inqu...
What functionality was removed?
Could you post some screenshots of what you are seeing?
Simply restrict file access of npm to its cache folders, so it cannot access your other user configuration files.
Use additionally a host firewall like opensnitch to block npm from any other host than npmjs.com.
On Linux, packages should provide the SELiunx (or whatever) rules they need, and the user should accept them or not install the package (just like permissions on Android/iOS apps).
On Windows, the application could be sandboxed to its folder in `Program Files` and `%APPDATA%`.
Being secure by default should be the norm. When its not, you can tell users "you should do this" all you want, they won't do it.
Contrary to OP belief, there are tools that claim to detect such malicious packages. I wonder how effective they are.
A lot of this stuff is submitted by random people that have no verified credibility. It's really worrying. I'm sure it'll take another major incident though before we'll really pay attention to it. Like wanna cry/notpetya did for SMBv1. Because the devs don't want any mitigations, it'll make their work more difficult.
Doesn't help when burglar is already in your house.