Devvm.dev: One VM for every project devvm.dev · 24 points · 12 comments · HN thr...

@best

Devvm.dev: One VM for every project devvm.dev · 24 points · 12 comments · HN thread

TL;DR devvm is an open-source (MIT) command-line tool that creates an isolated Lima-based VM for a project folder, with the project's toolchains and a coding agent (Claude Code, Codex or opencode) preinstalled, so a developer or agent can start working with one command. The page describes its sandboxing choices: the project mounted at the same path, an allowlist network tier by default, secrets kept on the host via a proxy, and an optional clone mode. The Hacker News thread is short and mostly skeptical, focusing on security trust, comparisons to similar sandbox tools, and resource use.

  • Installed with Homebrew (brew install devvmhq/tap/devvm); runs on macOS and Linux, on arm64 or x86_64, using Lima with Apple's Virtualization framework on macOS or QEMU on Linux.
  • devvm detects toolchains from project files and offers optional layers (docker, nix, desktop) plus user-defined layers.
  • The VM mounts the project folder at the same path and sees nothing else in the home folder apart from devvm's read-only agent settings.
  • New VMs use an allowlist network tier by default, routed through a proxy on the host; agent secrets are replaced with placeholders and injected by the proxy.
  • With --clone, the VM works on its own clone of the repo, so changes reach the real repo only when fetched.
  • The project is free and open source under the MIT license.

Discussion The thread is small and cautious in tone. Commenters place devvm next to existing sandbox tools such as Docker sbx, smolvm, bubblewrap and safehouse, and debate whether its Lima/QEMU base is a weakness or a reasonable choice. Security concerns come up repeatedly, including a commenter describing a malicious repo that hid a git hook, and the install instructions asking users to trust the tool and log in. Some praise the security design, while others see the one-VM-per-directory and auto-configuration model as limiting.

  • Security design looks solid and well considered (some): One commenter who builds a similar tool says devvm makes good security decisions, citing kernel isolation and secret shielding as the bar they expect from AI-era tools.
  • Trust-and-login install steps raise alarm (some): Some readers are wary of instructions to trust a formula and give a Claude login to a new tool, calling it a common warning sign.
  • Overlaps heavily with existing sandbox tools (some): Several commenters point out similarity to Docker sbx, smolvm and safehouse, and ask how devvm differs; one notes it could run on smolvm instead of Lima.
  • Lima/QEMU is slow and unreliable compared to embedded VMs (a few): One commenter reports that Colima, built on Lima, was slow, outdated and unreliable, and prefers controlling the VM with an embedded library.
  • Too resource-heavy; bubblewrap is better (a few): One commenter calls the VM approach wasteful and suggests bubblewrap, though others reply that bwrap is Linux-only, has sharp edges, and gives far less isolation than a microVM.
  • Hooks already on the host are not addressed (a few): A commenter who was sent a malicious repo with a hook asks whether devvm warns about existing hooks, since --clone does not remove them from the host folder.

#sandbox #devTools #virtualMachines #codingAgents #security #macOS