logoalt Hacker News

ashishbtoday at 9:47 AM5 repliesview on HN

Nobody should do 'npm install' or 'pip install' on their machine.

Using a proper sandboxing(https://github.com/ashishb/amazing-sandbox) regularly will drastically limit the blast radius of these attacks.


Replies

Bnjorogetoday at 12:28 PM

Docker isn’t a serious sandboxing strategy

show 1 reply
pritambaraltoday at 9:54 AM

> https://github.com/ashishb/amazing-sandbox

Does your Docker backend run commands in rootless containers? I skimmed the code but didn't see anything to confirm this.

show 1 reply
8organicbitstoday at 11:46 AM

Is there a detection component here too? Sandboxing development is great, but the next step is to deploy to production. How do you know if something malicious happened in the sandbox, such that you don't deploy the malware further?

show 1 reply
graemeptoday at 9:50 AM

> Nobody should do 'npm install' or 'pip install' on their machine.

What alternative do you suggest?

Do you mean not install outside a sandbox?

show 3 replies