Comment

Comment by freeqaz

I'll shill a little and answer this question:

Short-term: The only way out of this is to review + whitelist every package before it hits the NPM registry. This is something my company is building and we did a write up about it (and Node-ipc) here[0].

Longer term answer: Something like Deno needs to take off that adds permissions per dependency. We need to sandbox all untrusted code by default.

0: https://www.lunasec.io/docs/blog/node-ipc-protestware

parent freeqaz 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton