upvote
QubesOS had the right idea. You want layers and layers of security, with multiple VMs at the root.
reply
See also: https://genode.org/

Also, in addition to isolation and https://en.wikipedia.org/wiki/Capability-based_security between processes, capability security within processes, see languages like E (https://web.archive.org/web/20260506035108/https://erights.o...) or Monte (https://monte.readthedocs.io/en/latest/index.html)

reply
> had the right idea

Is it no longer the right idea?

reply
I mean that in the sense that they had the idea way before the wave of rapid linux 0days and supply chain attacks were common. The design they picked has only become more relevant.
reply
Devcontainers (I know it's not a full VM, but it's most prominent version of this "isolated development environment" concept) wouldn't fully protect you against this. Github credentials are automatically pulled into the container. If you are using other cloud services that need to be accessed within the container, this cred stealer will grab their creds too.

It would limit the blast radius, which at least is an improvement.

reply
This is one reason I have my own dev container script. And the container pulls nothing in except whatever I explicitly put in my .podman folder. It runs without any GitHub access at all. I do all of that from the host machine.
reply
Or a vm per container, if you insist on containers. I've have a couple of relaxed weeks recently due to running everything on VMs rather than some random Kubernetes service.
reply
Luckily, projects using more secure language ecosystems like C and C++ are spared this kind of problems :-)
reply
No, instead the code that isn't from a dependency is what will cause you to get pwned
reply
I think you missed the joke/sarcasm there.
reply
It's been less than a month since I responded to a comment on a different thread arguing basically the same thing about C/C++ in a serious way. I've long since lost the ability to distinguish.
reply
Fair, I'm in fact not 100% sure it's a joke. But there's a smiley, that's pushing me to 90%.
reply
The virus fest of the 90s would like a word with you and your C
reply
you can't get infected through the package manager if your language doesn't have a package manager :) turns out C and C++ were playing 4D chess all along
reply
[dead]
reply
it's not going to help if you share a cache across security boundaries. That is what happened here and seems to be driving a spate of github action related problems.
reply