> Passing through the FS to the host is a no-go because of subtle executable things like git-hooks that could enable sandbox escape.
Could you please expand on this? I’m having trouble understanding this.
Could you please expand on this? I’m having trouble understanding this.
Of course, there’s also the question of dependencies. If I’m working on a project that I trust that pulls in hundreds of NPM dependencies, I implicitly trust that the project deemed those dependencies safe to pull in. It would be impossible to always operate on the assumption that you’re potentially pulling in hundreds of malicious packages so the chain of trust has to take over at some point.
However, I imagine you were more or less referring to singular projects that you don’t fully trust and like to experiment with in which case I agree with you and would probably use a VM without any kind of file sharing tbh.