mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-05 01:27:28 +00:00
[GH-ISSUE #140] feat: Support for SmolVM backend #87
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/open-terminal#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gaby on GitHub (Jul 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-terminal/issues/140
Problem
The Docker backend isolates sandboxes with namespaces/cgroups, so every sandbox still shares the host kernel. For untrusted or AI-generated code, a kernel exploit remains an escape path, and hardening options (seccomp,
gVisor) add complexity without true hardware isolation.
Proposal
Add SmolVM as an optional backend engine. SmolVM runs each sandbox in its own microVM (Firecracker on Linux, QEMU on macOS), providing hardware-level isolation with ~500 ms boot times, which is fast enough to sit behind the existing engine interface without hurting UX.
Capabilities that map cleanly onto a Docker-style backend contract:
@silenceroom commented on GitHub (Aug 18, 2026):
I guess tim will never implement this because there is an enterprise version of such request. vm alike isolation belongs to the licensed user who can go with Terminal instead of OpenTerminal. T_T