News for hackers. Stuff that matters.
Re:Ask HN: Pros and cons of V8 isolates? by mrkurt on Wednesday June 15, 2022 @05:06PM (#31759477)
CloudFlare actually makes the case for running in dedicated processes on their own blog: https://blog.cloudflare.com/mitigating-spectre-and-other-sec...

Running untrusted code in the same process gives that code a tremendous blast radius if they exploit a vulnerability in, say, a fetch implementation. I do not understand why they would do this.

Isolating processes adds a layer of protection. People who exploit your implementation have limited access to the system (they can't read another user's memory, for example, which often contains sensitive info – like private keys).

KVM adds _another_ layer.

If you have a process running in a namespace within a KVM, someone would need to exploit the process, the Linux Kernel, and the underlying virtualization extensions to do serious damage.

Re:Ask HN: Pros and cons of V8 isolates? by tptacek on Wednesday June 15, 2022 @06:21PM (#31760174)
The process, the Linux kernel, underlying virtualization extensions (maybe; not totally following that one) and the mandatory access control rules applied to the VM runtime --- in Firecracker's case, the BPF jail it runs in.
Re:Ask HN: Pros and cons of V8 isolates? by bitwize on Wednesday June 15, 2022 @05:58PM (#31759980)
Belt, suspenders, antigravity device, as Steve Summit has been known to say.