Trail of Bits’ Coop 0.10 can run a Firecracker virtual machine without a network interface
Coop’s new isolated mode boots a Firecracker virtual machine without a network interface. The mode is opt-in. It requires a current image and an instance created with vsock control, and the update does not move existing instances to the new approach automatically.
Trail of Bits released version 0.10.0 of its Coop tool on GitHub on 15 November. The release notes say that Coop runs agent sessions in virtual machines it creates with Firecracker or Lima. It also manages proxies to Anthropic and OpenAI services.
A virtual machine usually connects to the network through a virtual network interface card. On the host, a TAP device links that card to the network. The new isolated mode boots a Firecracker virtual machine with neither.
In this mode, Coop’s control connection and proxy traffic run as SSH over vsock. Vsock is a direct channel between the host and the virtual machine that does not use the network. The mode also suppresses raw credentials, the release notes say.
The mode is opt-in. It requires a current image with the vsock SSH listener, and the instance must be created with firecracker_control = "vsock". Upgrading from version 0.9.2 does not automatically migrate existing instances that use legacy TCP control.
The release also hardens how processes run on the host. Coop resolves Firecracker setup tools and Lima from trusted paths and checks that Firecracker’s process ID matches the expected instance. Setup stops if its confirmation cannot be read. Coop also hides secret input, limits input and output size, and restricts the arguments passed to the credential proxy. In diagnostic output, it masks invalid values of the virtual machine’s environment variables.
A new feature installs code-server, a browser-based editor, in a running virtual machine. Users open it at a password-protected address that only the host can reach. Projects, settings, extensions and terminals stay in the virtual machine. Other changes speed up commands, fix bugs in Firecracker disks and resizing, and report agent session status to terminals that support it.
On macOS, users can now install Coop, its proxy and Lima with Homebrew, which also handles upgrades and removal.
Read more: How an agent works · Agent map