Y
Hacker News
new
|
ask
|
show
|
jobs
by
matheusmoreira
18 days ago
Because that means you are sharing kernel with the sandboxed agent. Virtualization presents an infinitely smaller attack surface.
2 comments
hwc
18 days ago
If there is any attack surface within a properly-configured container, that's a kernel bug, right?
link
matheusmoreira
18 days ago
Probably. If I remember correctly, containers on Linux are implemented using the kernel's namespaces. The same ones which became famous for the vulnerabilities they surfaced in previously unexercised code.
link
croes
18 days ago
Then use SmolVM
link
matheusmoreira
18 days ago
I'm already using virtdev, my own solution built on top of QEMU.
link