Submit

Coop isolates Claude Code and Codex agents in disposable VMs

Trail of Bits' Coop runs Claude Code and Codex inside disposable Firecracker or Lima VMs, so agents get full tool access without touching the host machine.

Written by AiAgentsListing Team

Coop isolates Claude Code and Codex agents in disposable VMs

What happened

Trail of Bits released Coop, a Rust command-line tool that runs Claude Code and Codex inside disposable virtual machines instead of directly on a developer's laptop. Each VM gets its own filesystem, network stack and Docker daemon, and the agent inside it never touches the host. The project appeared on GitHub and reached the Hacker News front page with 56 points and 12 comments.

Coop is a VM manager for AI coding agents: it boots a disposable Firecracker microVM on Linux or a Lima VM on macOS, gives Claude Code or Codex full tool access inside that VM (Docker, git, compilers, package managers), and treats the VM itself, not the process, as the security boundary. When the session ends, the VM is destroyed.

What changed

  • Two backends, one CLI. On Linux, Coop boots Firecracker microVMs on KVM. On macOS, it uses Lima on top of Apple's Virtualization.framework. Backend choice is resolved at compile time, not at runtime, so the same command set works on either platform.
  • The guest is deliberately wide open. Inside the VM, the guest user has passwordless sudo (NOPASSWD:ALL), and Claude Code runs with defaultMode: bypassPermissions in a managed settings.json. The claude/codex launchers pass --dangerously-bypass-approvals-and-sandbox or --dangerously-skip-permissions unless the user adds --ask. Trail of Bits' own trust-model document calls this correct by design:

Share:

Subscribe to our newsletter

One email a week. New agents, MCP servers and skills, and what is actually getting traction.

More news

  1. Claude Code now reads AGENTS.md when CLAUDE.md is absent

    Claude Code will read AGENTS.md when a project has no CLAUDE.md, adopting the open convention that Codex, Cursor and other coding agents already read.

  2. HarnessTax finds coding harness moves cost, not success

    HarnessTax, a UC Berkeley Sky Lab and Arena study, finds swapping a coding agent's harness changes cost by up to 5x while success rate barely moves.

  3. Ordewell orchestrates Claude Code, Codex and OpenCode tasks

    Ordewell is a new open-source CLI, TUI and VS Code extension that turns one goal into an editable, multi-agent plan for coding agents.