Earlier quoted context omitted.
Imo your solution is just a band aid. The real solution is having a distribution of packages which are maintained and suppervised by a group of people. Like the linux distribution maintainers or the group that develops the language. Community contribuited packages should be declared "install at own risk" like in archlinux aur. All this is already solved. But people want to reinvent the wheel and ride the user generat…
That comes at a cost of lots of volunteer hours. I’m not sure if it would scale to NPM’s massive size.
This can be construed as a good or a bad thing.