2 ms·
Lol. Is there a single example of anyone ever making such an 'npm worm'? Regardless of what npm install can or can't do, if it's a malicious module then the a
by ilaksh 11y ago
Lol. Is there a single example of anyone ever making such an 'npm worm'? Regardless of what npm install can or can't do, if it's a malicious module then the actual module code will be a problem too.
If you are that paranoid or its that critical then you are going to have to review every single line of code, which almost no one ever does for libraries. And even so a library could always use the network to sneak more code onto the computer that you didn't authorize.
npm doesn't give any more permissions than any other program run by the user. It's a powerful tool. That isn't a reason for people to be scared of it in ordinary circumstances.