Hacker News new | ask | show | jobs
by Rohansi 13 hours ago
No, it's not specifically npm. All package managers enable remote code execution by design - you tell it to download code and then you run that code, likely without sandboxing, by using it. Most people are not inspecting the code before they download and run it. You will still see compromised packages making their way through npm even though they disabled install scripts.
1 comments

I agree. I just pointed out npm because it's the most prominent javascript one.