Earlier quoted context omitted.
you can also simply use Landlock and bwrap on Linux. Pi even has a plugin for that https://pi.dev/packages/pi-landstrip
Actually that doesn't just work on all systems and it breaks on others. The alternate user is actually guaranteed to work on all systems and it's built in
Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
71–80 of 177 posts
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#72Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#73 FROM docker.io/archlinux:base
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
base-devel \
git \
curl \
uv \
opencode && \
pacman -Scc --noconfirm
RUN mkdir -p /etc/opencode
WORKDIR /workspace
From there I just run the Podman image from the command line (using a Fish function) that mounts the specific project I'm working on to /workspace. I guess there might be some vulnerabilities with shared kernels and such, but it seems like an easy way to have some isolation.Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#74Earlier quoted context omitted.
I developed a VM project just like this one. Asked Fable to stress test it and try to break out of containment, and to my surprise it didn't manage to. Fable didn't get downgraded to Opus either, for some reason. Would have thrown Mythos at it if I had access to it.
You should conduct the same test with knowingly faulty containment, otherwise the theory that the model is hobbled should probably outrank that it couldn't escape.
Opus did manage to iron out a lot of fail open bugs during development though, and Fable's like a hundred times more relentless than Opus. I'm not saying it's a definitive result or that my VM firewall thingy is unhackable... I'm just saying it put a smile on my face.
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#75Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#76We are building the cloud version of this: hosted, isolated VMs. MacOS and Linux supported. Cloud means you can run many VMs in parallel. https://bitrise.io/platform/remote-dev-environments
It's called https://github.com/features/codespaces or https://codeanywhere.com/ or https://claude.ai/code/
Bitrise has been doing macOS VMs for CI for 10 years, so we extended the existing product to this use-case.
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#77Literally everyone has the option to use a VM - it's built into Windows, UTM on MacOS, Docker on Linux. Yes, "a tool that automatically builds a VM" is useful, but we've had a third option (four, if you count "actually I disagree with the idea that it's only useful if it's fully agentic") from day one.
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#78YAY, let's build the same thing over and over :/ Did you know that before reinventing the wheel, you can ask LLM your requirements, and they can find the most suited already existing tool ?
No libraries, no frameworks. Let AI recreate it from scratch … every time
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#79I still don't understand the point of all these VMs and containers for agents. Just create a separate user on your machine without sudo privileges, switch to it in your terminal and run all the agents you want without it being able to reach your files. What am I missing?
You have far too much data in unsecured locations, and you have far too little understanding of what an agent would do, to go "I trust whatever this user account will be doing on my machine".
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#80yoloAI does something similar: - Sandbox on Linux using Docker, Podman, containerd, gVisor, Kata, Firecracker - Sandbox on Mac using Docker (Docker Desktop or Orbstack), Podman, Apple containers, Seatbelt, Tart (Tart lets you run simulators). - Network restriction - Secrets control (file mounts or credentials broker) - NO ambient data (ENV is replaced with a minimal and local-to-sandbox one, no host-side filesystem a…