logoalt Hacker News

sigmoid10yesterday at 12:43 PM5 repliesview on HN

This is why you want containerisation or, even better, full virtualisation. Running programs built on node, python or any other ecosystem that makes installing tons of dependencies easy (and thus frustratingly common) on your main system where you keep any unrelated data is a surefire way to get compromised by the supply chain eventually. I don't even have the interpreters for python and js on my base system anymore - just so I don't accidentally run something in the host terminal that shouldn't run there.


Replies

Glemkloksdjfyesterday at 2:45 PM

No thats not what i want, that whats i need when i use something like npm.

Which can't be the right way.

show 2 replies
metachrisyesterday at 7:22 PM

Absolutely, good old VMs can really provide the needed isolation while still having good UX. I just published a post on setting up dev VMs with Lima: https://www.metachris.dev/2025/11/sandbox-your-ai-dev-tools-...

naikrovekyesterday at 3:08 PM

Here I go again: Plan9 had per-process namespaces in 1995. The namespace for any process could be manipulated to see (or not see) any parts of the machine that you wanted or needed.

I really wish people had paid more attention to that operating system.

show 1 reply
estimator7292yesterday at 5:49 PM

Why think about the consequences of your actions when you can use docker?

baqyesterday at 2:16 PM

...but the github runners already are virtualized; you'd need to virtualize the secrets they have access to instead.