Skip to content

Releases

v0.30.0

Choose a tag to compare

@carrollco carrollco released this 28 Nov 01:19

Until this release, every file operation an agent's tools made through a plimsoll session (a read, a write, a listing, a glob) ran as a shell snippet inside the sandbox: a full disk came back as EIO in the shell's words, a glob matched dot files or skipped them depending on **, a confined workspace followed a link out of its folder, and the run record said only that a project call ran. In this release a session takes file calls: one operation on its files, carried out inside the sandbox by plimsoll's own helper program as the guest's own user, with a typed answer and a run record of its own, and every file method of the official clients (the Python Workspace, the Google ADK add-on, the new Agent Framework file store) uses them. Docker Cloud now refuses every run that carries a host-API grant, and the ship scan finds a withheld file whose digest was written by hand, where it used to find nothing and call the run clean. It breaks things: protocol 9 and record version 6 (upgrade the daemon and every client together), the Trigger.dev add-on is gone, a custom project image must carry this release's helper, and file calls in the work scope need Linux 5.8 or later, or gVisor. Read the first section before upgrading.

Version: v0.30.0.

Changes that break an existing setup

The Trigger.dev add-on is gone: @plimsollmark/client/trigger. I dropped it. As far as I can tell nobody was using it, and keeping it current every release was eating time I'd rather spend on the sandbox. If you were: the Vercel AI SDK add-on (@plimsollmark/client/ai-sdk) does the same job, and the starter repo is archived (read-only, still works with v0.29.0) if you want to fork it. Or open an issue and tell me I'm wrong. Gone with it: the ./trigger export of @plimsollmark/client and its @trigger.dev/sdk peer, examples/trigger-chat, docs/trigger-dev.md and its integration page. Removing a published export is why this release is v0.30.0.

Upgrade the daemon and every client together: protocol 9 and record version 6. A daemon of this release refuses a client of any earlier release, and a daemon of an earlier release refuses a client of this one, each before anything runs, marked not dispatched with the reason protocol (ProtocolMismatchError in Python). The reason for the bump: a session call can now carry a file call (SessionRunRequest.files), which a daemon of protocol 8 would drop. Requests of protocol 9 are hashed under the request domain plimsoll.run-request.v3, and every record is version 6, whose results are hashed under plimsoll.run-result.v2; both domains add the files kind and change nothing for the others. Writers write version 6 only, and every client requires it of a live answer. Evidence of versions 1 to 5 still verifies, in every verifier: a version 5 bundle signed by v0.29.0's own binaries is kept as a test of that (run records). The Go, Python and TypeScript clients, the MCP server and the pull-request receipt recipe's prepare.py all state 9; copy prepare.py again from this release. plimsoll-attest's replay of a bundle recorded under protocol 8 is refused as not replayable, as with every earlier bump.

A custom project image must carry this release's helper, installed mode 0711. plimsoll's helper is the one program every project image carries at /usr/local/libexec/plimsoll-helper: it runs a project's steps, and now carries out file calls too. The daemon and the helper speak a versioned agreement, the file contract, which is version 8 in this release (session files). An image must hold exactly the build this plimsolld carries (pin 5f2e0cf5...0b30), root's, now mode 0711 (every user may run it, root alone may read it, so the kernel makes it non-dumpable from the moment it starts: no other program of the same user may read its memory). v0.29.0's images installed it 0755, and every provider's startup check refuses such an image. Every startup check now also starts the helper with its identity command and requires the line the pinned build prints, so another build of the same size is refused where the bytes cannot be read (on OpenShell, whose commands run as the guest). An image built FROM the plimsoll/sandbox of an earlier release is refused until it is rebuilt on this one: run make docker-images, or rebuild your own image on the new base (guest dependencies).

File calls in the work scope need Linux 5.8 or later, or gVisor. The work scope (paths confined to the session's work folder) relies on two kernel features: openat2, which resolves a path beneath a folder and refuses to cross a mount, and mount ids stated by statx, which tell the work folder's own mount from another. On a kernel without them every work-scope command is refused. What each provider does there:

  • Docker: the startup check starts the helper's work scope once; on an older kernel the provider and its sessions state the sandbox scope alone, so a work-scope call is refused before it starts, marked not dispatched with the reason unsupported. Under gVisor the kernel is gVisor's, which states mount ids (measured 2026-11-27).
  • E2B: no startup check reads E2B's kernel; on one before Linux 5.8 every work-scope call would answer a file error whose errno is ENOSYS, never an answer. The E2B machines of the live run of 2026-11-27 stated mount ids (read from what that run's mount check needed to pass, not measured directly).
  • A work-scope call that reaches the helper on such a kernel anyway answers a file error with errno ENOSYS (Go FileErrorOther), never an answer.

A confined Python Workspace on a session that states the sandbox scope alone checks its paths by their names (next section).

Docker Cloud refuses every run with a host-API grant. A granted run, snippet or project, on either API, is refused before any sandbox is made, marked not dispatched with the reason unsupported (another provider may take it); Describe states no grant support. A set SANDBOX_DOCKERCLOUD_GUARD_URL now fails startup, and so does a daemon with grant profiles (PLIMSOLL_GRANTS_FILE) on this provider. Send granted runs to docker, e2b or openshell; runs without a grant are unchanged. Why: Docker Cloud's allow rules cannot hold a sandbox to one server. Docker's own page on network rules says a rule matches "the hostname attributed to the connection, such as its TLS Server Name Indication (SNI)" (EXTERNAL · official docs ↗), a name the code itself chooses, so a rule cannot keep the code at the guard. Grants return when Docker offers a rule enforced on the server a connection actually reaches and a startup check shows a granted run reaches the guard and nothing else (Docker Cloud).

Python Workspace: every file method is a file call, and some answers changed. No file method sends shell text, and Workspace.root costs no call where the session states its work folder. What a caller notices:

  • glob: the pattern is matched by plimsoll's helper inside the sandbox. * now matches dot files (* lists .env), where earlier releases' shell glob skipped them without ** and matched them with it. Results are sorted by their bytes across folders and include links (matched by their own name, never entered). A pattern the helper does not read (** inside a part such as **.py, an unclosed [, an empty part) is ValueError; ./x is x. A recursive pattern over a folder the guest may not enter raises PermissionError, where the shell skipped it.
  • Typed errors. Reads: a folder is IsADirectoryError and an unreadable file PermissionError (both were FileNotFoundError); a FIFO, socket or device is OSError with ENXIO at once, never opened. Writes: FileNotFoundError, NotADirectoryError, IsADirectoryError, PermissionError, OSError with ENOSPC or EROFS, never the shell's words. WorkspaceCallError.result is a FilesResult for a file call.
  • In a confined workspace a symbolic link that stays inside the work folder is followed and one that leaves it is WorkspacePathError (earlier releases followed both). On a session that states the sandbox scope alone (OpenShell's, and docker's on a kernel before Linux 5.8), a confined workspace checks its paths by their names, and a link inside the work folder that points out of it is followed; each call's record names the scope it used, so no record claims the work scope's confinement for such a call.
  • Writes: one path for text and bytes, 4 MiB a call (MAX_WRITE_BYTES); a write past 4 MiB replaces the file with its first 4 MiB and appends the rest, so a failure partway leaves the pieces written so far, a part of the failed piece included (the failed call is never repeated). Text may hold NUL. A link at the path itself is replaced by the new file, its target untouched (the shell wrote through it).
  • edit refuses a file past 8 MiB (WorkspaceTooLargeError); before, it read the first 8 MiB and wrote them back with the edit, cutting the rest of the file.
  • persist takes a limit (64 MiB by default, None for none) in place of the fixed 8 MiB cap. Its archive is staged in the work folder beside the tree, so a tree past about half of the work folder's room cannot be persisted; that is now WorkspaceTooLargeError, where it was a RuntimeError with tar's words.
  • New methods: stat, list, read_many, make_dir, remove, rename. read_many takes a list of any length and sends at most 16,384 paths and 4 MiB of their bytes a call, so a long list stays inside the daemon's 8 Mi...
Read more

v0.29.0

Choose a tag to compare

@carrollco carrollco released this 25 Nov 11:48

When a worker died in the middle of a session call and another worker took the session over, v0.28.0 gave the new worker the call's run record but not its output, and its guard against running the call twice held only while the repeat was the very next call: an agent whose model listed the files first got the lost command run a second time with nothing said. In this release the daemon refuses any session call made from an out-of-date view of the session, keeps each call's answer until the next call so the worker that takes over gets the output back, and every official client refuses every call until the application has handled the lost one. Agent-sandbox pods each get a certificate of their own, so traffic on the pod network can no longer be steered into another pod, and the answer-key tripwire, a check that an AI evaluation did not send the model its own answer key, is now open source. It breaks things: protocol 8 (upgrade the daemon and every client together) and the agent-sandbox setup (cert-manager is now required). Read the first section before upgrading.

Version: v0.29.0.

Changes that break an existing setup

Upgrade the daemon and every client together: protocol 8. A daemon of this release refuses a client of any earlier release, and a daemon of an earlier release refuses a client of this one, each before anything runs, marked not dispatched with the reason protocol (ProtocolMismatchError in Python). The reason for the bump: every session call (SessionRun) now carries the session head, the session as the client last saw it (its ownership generation, the number of calls it has answered or ended, and the digest, a SHA-256 hash, of the last call's record), in a field head that replaces the old generation field; a daemon of v0.28.0 would ignore it and run a call this one refuses. The Go, Python and TypeScript clients, the MCP server and the pull-request receipt recipe's prepare.py all state 8. Run records stay at version 5, and every stored bundle still verifies; plimsoll-attest's replay of a bundle recorded under protocol 7 is refused as not replayable, as with every earlier bump. A program that calls the RPC service without an official client must now send the head on every session call: a call with none is refused ("session call requires the head it expects", InvalidArgument), and one whose count or last digest is not the daemon's is refused ("session checkpoint does not match", FailedPrecondition, reason request) with the daemon's head attached as a SessionHeadMismatch detail. Nothing runs in either case (sessions).

A session taken over across a lost call is now "recovering", and the v0.28.0 rule against a repeat is gone. In v0.28.0 a worker that took a session over across a call whose answer was lost refused only a first call that repeated the lost one (ErrCallAlreadySent in Go, CallAlreadySentError in Python and TypeScript). That rule and its error are deleted. Now the session is recovering: every call is refused before anything is sent, marked not dispatched with the reason request (ErrRecovering in Go, RecoveringError in Python and TypeScript, all saying "this session is recovering from a call whose answer was lost: read the lost call and resolve it before sending another call"), until the application reads the lost call and resolves it. What changed in each client:

  • Go: Session.LostCall() returns a *client.LostCall (the request digest, the checked record, and the checked answer when the daemon kept it) in place of the record alone; Session.ResolveLostCall() is new.
  • Python: Session.lost_call returns a LostCall with the same three parts in place of the record; Session.resolve_lost_call() is new (awaited on the asynchronous client); Session.lost_call_sha256 is gone.
  • TypeScript: session.lostCall returns a LostCall with the same three parts; session.resolveLostCall() is new.
  • All three: a head the daemon refuses as not its own stops the session (ErrHeadMismatch in Go, HeadMismatchError in Python and TypeScript), since an official client tracks the head exactly and such a refusal means another writer or a bug.
  • The checkpoint the clients save (the JSON a second worker attaches from) is now version 2: recovering_request_sha256 replaces lost_call_sha256, so a worker that attaches from a checkpoint saved while recovering is recovering too. A version 1 checkpoint is refused ("unknown version"). No session outlives the daemon's restart for the upgrade, so no saved checkpoint of a live session is lost by this.

Agent-sandbox: each sandbox pod now needs a certificate of its own, from cert-manager. Until now every pod served the same TLS certificate from one Kubernetes Secret, so plimsolld could tell it had reached a plimsoll pod but not which one: someone able to rewrite traffic on the pod network could steer one caller's run, its token and code included, into another pod they controlled. Now each pod gets a key made on its node and a certificate naming that pod's UID (the identifier Kubernetes gives each pod, new for every pod), signed by an issuer in the cluster, and plimsolld refuses any pod whose certificate names another before sending it anything. What to do:

  • Install cert-manager and its CSI driver (the node plugin that makes each pod's key as the pod starts and has the issuer sign it). This release was run with cert-manager v1.21.3 and the driver v0.16.1.
  • Make a CA issuer of kind Issuer in the warm pool's namespace (a ClusterIssuer is refused at startup: it signs for pods in every namespace) and point SANDBOX_AGENTSANDBOX_SANDBOXD_CA_FILE at its CA certificate. Let no one but you and the driver create pods or certificate requests in that namespace.
  • Set the new, required SANDBOX_AGENTSANDBOX_SANDBOXD_TRUST_DOMAIN, the first part of each pod's identity (spiffe://<trust domain>/ns/<namespace>/pod/<name>/<UID>).
  • In the sandbox template, replace the secret volume at /etc/plimsoll/sandboxd-tls with a read-only csi volume of the driver csi.cert-manager.io, as the example template does. A template that still mounts the Secret is refused at startup.
  • Rebuild the agent-sandbox image from docker/agentsandbox.Dockerfile: its TLS terminator changed (below, and in the fixes). It now also refuses, at the pod's start, any sandboxd flag outside the 17 the pinned sandboxd lists in its own help, and plimsolld's read-back of the template refuses the same.
  • SANDBOX_AGENTSANDBOX_ENCRYPTED_POD_NETWORK is no longer read: hardened mode no longer asks you to vouch for the pod network, since the daemon checks each pod itself. Remove it.
  • Give no account but the operator's and the driver's the right to create certificaterequests in the pool's namespace: cert-manager's built-in approver signs every request made there, so such an account could get a certificate naming any pod there. Kubernetes' edit and admin roles include that right.
    What per-pod keys do not stop, stated in the operator guide: root on any node, or anyone holding the CSI driver's credentials, can have a certificate signed for any pod and pass for it.

The daemon now keeps each session call's answer in memory until the next call. This is what lets a worker that takes a session over get a lost call's output back. The answer holds whatever the code printed, a secret included. It is never written to disk or logged, and it is dropped when the next call starts, when the session's idle timer suspends it, at close and when the session ends; a session whose idle timeout is 0 keeps it until its next call, close or end. SANDBOX_SESSION_KEPT_ANSWER_BYTES caps one kept answer (default 4194304, 4 MiB; 0 keeps none; at most 16 MiB), and SANDBOX_SESSION_KEPT_ANSWERS_TOTAL_BYTES bounds all sessions' kept answers together (default 67108864, 64 MiB; 0 keeps none). Above either, only the record is kept. A caller that promises its users no retention opens its sessions with keep_no_answer (Go SessionOptions.KeepNoAnswer, Python open_session(keep_no_answer=True), TypeScript openSession({ keepNoAnswer: true })), and the daemon keeps none for them. An operator who wants the earlier behavior sets either setting to 0.

E2B and Docker Cloud: the startup test now also asks DNS questions, and refuses to start if one is answered. The test that proves the deny-all network policy from inside a sandbox used to try only HTTP and HTTPS, so a sandbox that could resolve names (a way to carry data out in the names looked up) while every connection failed would have passed. It now also sends a DNS question for example.com in a UDP datagram to 8.8.8.8, over TCP to 8.8.8.8 port 53, and through node's resolver to 1.1.1.1, and counts any reply except a refusal (DNS code REFUSED or NOTIMP with no answer) as egress. On such a reply plimsolld serves nothing ("egress is OPEN to" followed by what answered). Docker Cloud answers every DNS question on port 53 itself with REFUSED and no answer, so a Docker Cloud account with a deny-all policy passes; on E2B the UDP and resolver questions got no answer on 2026-11-24.

Building plimsolld with go install now needs Go 1.26.11. Each module's go line now names 1.26.11, so a go install github.com/plimsollmark/plimsoll/cmd/plimsolld@latest with an older Go fetches 1.26.11 first (Go's default GOTOOLCHAIN=auto). Before, such an install quietly built the daemon with the older Go, whose HTTP code carries security advisories in paths the daemon calls, because Go applies a module's toolchain line only to the module being worked in. With GOTOOLCHAIN=local, an older Go now refuses to build; install 1.26.11 or later. Check what built your daemon with `go version -m $(go env GOPATH)/bin/plimsol...

Read more

v0.28.0

Choose a tag to compare

@carrollco carrollco released this 22 Nov 12:55

When the process running an agent died, its plimsoll sandbox died with it: the files the agent had written were gone, and nobody could say whether the last command had run. In v0.28.0 another process can take the sandbox over from a saved checkpoint, and the call whose answer was lost is accounted for by its record instead of being sent again blind. The release also adds packages for LangChain, Microsoft Agent Framework, smolagents and PydanticAI, lets a kit's code tool call one approved web API from inside the sandbox, and replaces plimsoll's Node project runner with a small native program. It breaks things: protocol 7, record version 5, rebuilt images, and a daemon that listens on this machine only unless told otherwise. Read the first section before upgrading.

Version: v0.28.0.

The pull-request receipt workflow in this tag fails at its image build; copy it from main.

Changes that break an existing setup

Upgrade the daemon and every client together: protocol 7 and run record version 5. A daemon of this release refuses a client of any earlier release, and a daemon of an earlier release refuses a client of this one, each before anything runs, marked not dispatched with the reason protocol (ProtocolMismatchError in Python). The Go, Python and TypeScript clients, the MCP server, plimsoll-attest and the pull-request recipe's prepare.py all state 7. New run records are version 5: version 4 plus the sentence the provider states beside its tier (isolation_qualification), whether a sandbox waiting in a pool ran the call (warm), and the answering daemon's own module version (daemon_version). Every client checks all three. A stored bundle recorded under an earlier protocol still verifies; plimsoll-attest's replay of one is refused as not replayable, as with every earlier bump.

A run record whose provider name holds a control or bidirectional character is refused by every client (DataLoss in Go, RecordMismatchError in Python, a mismatch PlimsollError in TypeScript), plimsoll-attest signs nothing for such an answer, and a daemon whose provider has such a name refuses every call before dispatch. No provider plimsolld builds has such a name, and every published record still verifies.

Version 1 and 2 records that end before they start are retired. Daemons v0.10.0 to v0.12.0 read a record's start and end from the wall clock separately, so a clock step between the two readings could write a genuine record whose end is before its start. A version 2 record does not say which daemon wrote it, so the retirement covers all of versions 1 and 2. Every verifier (record, attest, plimsoll-attest verify-record, the Python and TypeScript clients) now refuses such a record with the text "the record ends before it starts, and that reading is retired by the decision of 2026-11-21" (record.ErrRetired, which attest does not count as an invalid statement), so the refusal reads as a retirement, not a forgery. Every other version 1 and 2 record still verifies (run records).

Rebuild plimsoll's images, and any image of your own built from them. Every project call (a run, a granted run, a session's project call) now goes through /usr/local/libexec/plimsoll-helper run-project, one static x86-64 program in Rust with no outside package, in place of the Node program /runner.mjs, which is gone from every image and from the source tree. Docker, WSL containers, agent-sandbox and OpenShell each refuse at startup an image whose file there is missing, is not a regular file, is not root's, is writable by others, or is not byte for byte the helper the daemon was built with (its SHA-256 is compiled in), naming what is wrong. So run make docker-images (for agent-sandbox, then docker/agentsandbox.Dockerfile) and rebuild anything FROM the new plimsoll/sandbox. make docker-images now passes the named build context nativehelper (--build-context, which needs BuildKit, docker's default builder since 23.0), so a hand-run docker build of docker/Dockerfile or docker/sim.Dockerfile needs --build-context nativehelper=sandbox/internal/nativehelper/program too. Only an x86-64 helper is built, so there is no project image for 64-bit ARM yet.

OpenShell: add the native helper to your image. SANDBOX_OPENSHELL_IMAGE must carry the helper of the same release as plimsolld at /usr/local/libexec/plimsoll-helper, owned by root, mode 0755, with no setuid or setgid bit, and its sandboxes must run on x86-64 (another machine is refused by name at startup; plimsolld itself may run anywhere). In the image's recipe: COPY --chown=root:root --chmod=0755 sandbox/internal/nativehelper/program/plimsoll-helper_amd64 /usr/local/libexec/plimsoll-helper, checked against the plimsoll-helper_amd64 line of sandbox/internal/nativehelper/program/plimsoll-helper.sha256; or build FROM this release's plimsoll/sandbox. Without it the provider refuses to serve ("the image's project runner is not the native helper this plimsolld carries"). /runner.mjs and /usr/local/lib/plimsoll-runner-guard.so are no longer read there and may be removed (OpenShell guide).

What a project step sees of the runner changed in four ways, on purpose, each measured against the Node runner by the runner equivalence suite: a step's standard input is /dev/null and its output two pipes (it was three sockets), so > /dev/stdout now works; an error's text in an outcome's detail starts with the error's code (EISDIR, ELOOP, ENXIO) rather than Node's wording; an artifact is read only up to the size checked against the 8 MiB budget, so one a step keeps growing can no longer pass it; and every signal a step sends the runner (PLIMSOLL_RUNNER_PID) except KILL and STOP is ignored, so the call completes where it used to end as protocol_error. A step that a real-time signal (34 to 64) ends now reports exit 128 plus the signal (163 for signal 35), as every other signal does; the old runner reported -1. Environment names that are whole numbers keep the order the image or a grant's sdk_env gave them, and a NUL in such a value fails the step (exit -1) where Node failed the run.

Docker: plimsoll's guest guard in front of every program, and docker on x86-64 only. Every program the docker provider starts in a container now starts behind the guest guard, a seccomp filter of plimsoll's own (the kernel's filter on which requests a process may make) that refuses the requests that make a namespace or a mount of the code's own, and tracing. What you meet: gdb, strace and other debuggers do not work in a docker sandbox, nor does unshare; the guard is built for x86-64 only, so the docker provider does not start on another machine type and refuses a docker daemon, DOCKER_DEFAULT_PLATFORM or image for another machine than plimsolld's own, emulated ones included. Every docker run plimsoll writes says --init=false, and in a session the guard is the container's first process (limitations).

Docker: a copy of plimsoll's seccomp profile from v0.27.2 or earlier is refused at startup. Copy docker/seccomp.json again from this release (to /etc/plimsoll/seccomp.json, as the docs show). The security section below says why.

Images and templates need node v22.14.0 or later (v23.7.0 in the 23 line, any v24) where plimsoll starts node programs of its own: docker sessions and the granted-run forwarder, OpenShell's relays and sessions, E2B sessions. Each starts with --disable-sigusr1. A WSL containers or agent-sandbox run starts none, so those no longer need node for plimsoll's runner. The squeeze example's flight step needs that node too: on an older one it exits 9.

The daemon listens on this machine only unless told otherwise. With PLIMSOLL_ADDR unset, plimsolld binds 127.0.0.1:8746 (it was :8746, every interface). A deployment in a container or on Kubernetes must set the address, for example PLIMSOLL_ADDR=0.0.0.0:8746, or nothing outside reaches it. Open development mode (a real provider, PLIMSOLL_INSECURE=1, no token or callers file) refuses to start unless the address it actually bound is a loopback address, and answers only requests addressed to localhost or a loopback address. Hardened mode judges the addresses actually bound, and no longer accepts the name localhost for loopback.

The callers file, the grants file and the withheld-set file must be owned by root or the daemon's user and not writable by group or others, and so must every directory on the way to them and every symbolic link's target; otherwise the daemon refuses them (plimsolld -h says so).

E2B sessions need a template built from plimsoll's recipe (e2b/README.md; the build command is now e2b template create). On E2B's own base template single runs work and a session is refused at its open, in words that say why. A session can no longer write, replace or install into /usr/local: its open takes that permission back before any session code runs, and refuses a template where it cannot. Single runs are unchanged.

The Python adapters install exactly one version of their framework. crewai-plimsoll requires crewai==1.15.23 (it was >=1.15.23,<2), and plimsoll-client's extras each install exactly the version its suite runs against: google-adk==2.14.1, agno==3.1.1, crewai==1.15.23, langchain-core==1.8.0, deepagents==0.7.38, anthropic==1.13.0, openai-agents==0.25.0, verifiers==0.4.1.dev97. pip refuses to install an adapter beside another version of its framework. The new packages below pin the same way.

Grant broker (the per-run proxy outside the sandbox that forwards a guest's calls to an ...

Read more

v0.27.2

Choose a tag to compare

@carrollco carrollco released this 17 Nov 08:15

If you asked plimsoll for a VM and its daemon ran the WSL containers provider, v0.27.0 and v0.27.1 said yes, even though Microsoft says WSL is not a security sandbox for untrusted code. v0.27.2 makes that a refusal unless the operator opts in.

Version: v0.27.2.

Changed: the wslc per-run mode reports container unless the operator opts in. The per-run mode gives each run its own Hyper-V VM. It reports the container tier, because Microsoft states that WSL is not a security sandbox for running untrusted code; an operator who accepts that statement sets SANDBOX_WSLC_ACCEPT_VM_TIER=1, and it then reports vm with that statement attached. In v0.27.0 and v0.27.1 the mode reported vm with no setting, so a request's minimum_isolation of vm or kernel, a daemon's SANDBOX_MIN_ISOLATION=vm or kernel, and placement across daemons all admitted it, while the isolation tiers page told hostile-code users it is not one of the VM providers. Every one of those checks compares against the tier the provider reports, so each now refuses it before anything runs, marked not dispatched with the reason isolation.

Who is affected. An operator or caller who required vm, or kernel, of a wslc daemon in the per-run mode (the default mode). Such a request is now refused, and a daemon started with SANDBOX_MIN_ISOLATION=vm or kernel refuses to start, until the operator sets SANDBOX_WSLC_ACCEPT_VM_TIER=1. Describe and new run records state container for the per-run mode by default, and isolation_qualification says why and names the setting. A container floor still runs. Unchanged: the shared mode (container; the setting is refused there), hardened mode (refuses both modes), and gVisor inside the VMs (it does not raise the tier).

The one-line fix, for an operator who accepts Microsoft's statement: set SANDBOX_WSLC_ACCEPT_VM_TIER=1 on the daemon.

A run record does not name the daemon's release, so a record from v0.27.0 or v0.27.1 that names wslc and vm was made without the setting; from v0.27.2 on, such a record shows the operator set it.

No protocol or wire change. Server and clients stay on protocol 5, and no run record field changed.

Also included:

  • The Python client plimsoll-client, the CrewAI package crewai-plimsoll and the TypeScript client @plimsollmark/client are released at 0.27.2 with no code change, so their versions keep matching plimsoll's.

  • The WSL containers page states the Windows build its live suites ran on (26300.9974, a General Availability Channel release of version 26H2, with no Insider channel selected) and quotes three more of Microsoft's sentences on WSL's trust boundaries and settings, each beside what plimsoll's own evidence says.

  • The isolation tiers page says that both wslc modes state a qualification, not only the per-run mode.

A signed record protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.

v0.27.1

Choose a tag to compare

@carrollco carrollco released this 15 Nov 00:53

A CrewAI crew that runs code needs a sandbox, and CrewAI no longer ships one. This release puts plimsoll where CrewAI users look for one: crewai-plimsoll on PyPI, named the way CrewAI's tool-publishing guide asks so a PyPI search finds it.

Version: v0.27.1.

New: the crewai-plimsoll package. pip install crewai-plimsoll installs CrewAI and plimsoll-client 0.27.1, and from crewai_plimsoll import Client, CodeExecutor, PlimsollCodeTool gives plimsoll-client's own classes, so a crew imports from one place. CrewAI's Code Interpreter tool was removed after CVE-2026-2275; in CERT/CC's words, "The CrewAI CodeInterpreter tool falls back to SandboxPython when it cannot reach Docker" (CERT/CC VU#221883), and CrewAI's documentation now says "Use a dedicated sandbox service". PlimsollCodeTool runs each call in a fresh plimsoll sandbox on infrastructure you run, and it has no fallback: CodeExecutor requires the kernel isolation tier by default (gVisor or a virtual machine) and refuses, before any code is sent, a daemon that states less. The package's version moves with plimsoll's releases, and each version requires the plimsoll-client of the same number. The CrewAI page shows the tool's recorded answers, call by call.

Server and clients stay on protocol 5. No Go code outside tests changed since v0.27.0; the Python and TypeScript clients move to 0.27.1 with no change but the version.

Also included:

  • The CrewAI page installs with pip install crewai-plimsoll, explains why CrewAI removed its own interpreter, and links CERT/CC's note; the README's framework table names the new package.
  • The Python client's guide says where crewai-plimsoll comes from and what it imports.

A signed record protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.

v0.27.0

Choose a tag to compare

@carrollco carrollco released this 15 Nov 00:06

Running an agent's code in a sandbox on a Windows laptop has meant installing Docker Desktop or other virtualization software first. This release adds a provider that needs only WSL: each run goes into a fresh Hyper-V virtual machine through WSL containers, the container runtime Microsoft ships inside WSL 3.0.5, and is deleted after. It is also a security release: v0.26.0 was built with a Go version in which a request could crash plimsolld, and this one is not. The rest: the ship scan writes SARIF, and a daemon can now state a sentence beside its isolation tier.

Version: v0.27.0.

Security: rebuild plimsolld with Go 1.26.11 or later. v0.26.0 was built with Go 1.26.10, which has GO-2026-6859 (advisory): "an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic" when a body goes over its limit while the handler sets a header. plimsolld caps every RPC body with MaxBytesReader, after the credential check, so on 1.26.10 an authenticated caller could crash the daemon, and with no tokens configured (open development mode) anyone who could reach its port could. The module now pins toolchain go1.26.11, and govulncheck ./... is clean there. If you build plimsolld yourself, use 1.26.11 or later.

New: the WSL containers provider, for Windows (SANDBOX_PROVIDER=wslc), at exactly the strength it states. plimsolld runs in a WSL distribution and drives wslc.exe, WSL's container command, through WSL's interop. Nothing is installed on Windows beyond WSL itself. Two modes, chosen with SANDBOX_WSLC_MODE:

  • per-run, the default: every run boots its own Hyper-V VM (its own Linux kernel, dockerd and disk) from a fresh copy of a template disk, and the VM and its disk are deleted after. The tier is vm, always with Microsoft's statement beside it that WSL is not a security sandbox for running untrusted code. Up to SANDBOX_WSLC_MAX_SESSIONS runs at once (default 2; each VM held about 0.9 GB of Windows memory in a sizing check on one laptop).
  • shared: every run is a container in the Windows user's one default WSL containers VM, one run at a time. The tier is container, stated with a sentence of its own: the wall between two runs is runc's, and this mode is weaker than plimsoll's docker provider under runc.

Hardened mode (PLIMSOLL_HARDENED=1) refuses both modes, for four reasons: Microsoft's statement above; WSL's VMs share parts of Windows (such as the graphics card) with what runs inside them; five of the controls the docker provider applies are missing inside each VM; and the per-run mode holds each VM open with wslc system session enter, a command in Microsoft's code but not in its documentation, so a WSL release may change or remove it; if one does, runs are refused, and nothing falls back to the shared mode. Use it to run agent-written code in a fresh VM on a Windows machine with nothing extra installed; do not treat it as a secure sandbox on Windows.

What it needs: WSL 3.0.5 or later (the first whose wslc container run can drop capabilities; the provider refuses an older one), plimsolld in a WSL distribution running as the Windows user whose VMs will run the code, interop on (WSL's default), and plimsoll's sandbox image (or one built from it) loaded with wslc image load or wslc image pull. The per-run mode also needs Windows PowerShell and mkfs.ext4 at their standard paths. Each plimsolld needs a run folder of its own (SANDBOX_WSLC_RUN_ROOT, by default %LOCALAPPDATA%\plimsoll-wslc); the second process on one folder refuses to start, and the guide says where that lock cannot see.

Optional, per-run mode only: gVisor inside each VM (SANDBOX_WSLC_GVISOR=1, with your own runsc and its helpers named by SHA-512). WSL rewrites the VM's docker settings at every boot, so before each run plimsoll registers runsc, makes it the default, reads the default back, and refuses the run unless it is runsc; a run never falls back to runc, and every run dispatched this way carries the policy gvisor:proven in its record. A break-out would then have to defeat gVisor and then the VM. The tier stays vm. Known limitation: with gVisor on, the second of two runs started back to back has lost its VM at the settings step ("Session not found"). It happened 3 times in 11 repeats within one half hour on 2026-11-14, and in none of the 184 runs after it that day; the cause is not known. Such a run is refused and marked not dispatched (reason environment), so it is safe to retry, and nothing runs under runc.

What was measured, and on what: one laptop, Windows 11 Pro (version 26H2, build 26300), WSL 3.0.5.0, the real wslc.exe. The live suite (make wslc-suite) passed seven of seven and the gVisor suite (make wslc-gvisor-suite) three of three on the released code. CI runs on hosted Linux runners with no WSL, so it builds the provider and runs its unit tests against a stand-in program only; a passing CI run says nothing about WSL itself. Everything, including the five missing controls and what crosses to Windows, is in the WSL containers guide. plimsoll is not affiliated with or endorsed by Microsoft.

A tier can carry a sentence (isolation_qualification). Describe has a new field for the sentence a provider's vendor or design requires beside its tier, empty for every provider but this one. The Go client (Info.IsolationQualification), the Python client (isolation_qualification) and the TypeScript client (isolationQualification) read it, and the MCP server's server_info summary repeats it after the tier. Show it wherever you show the tier. A client must not require it: older daemons send none, and run records do not carry it.

Server and clients stay on protocol 5. The new Describe field is informational, so no client is required to read it, and no request or record format changed.

Also included:

  • The ship scan writes SARIF: plimsoll-withheld scan and scan-image take -format sarif (SARIF 2.1.0), so a find becomes an alert on GitHub's code scanning page. One result per find and one per file not read whole; the exit status is the text output's. The file never holds a withheld value, a file's content, or a path in which the scan finds a withheld value (ship scan).
  • examples/squeeze: -regrade refuses a checkout whose code is not a commit's, a run that records no design digest, and a checkout whose embedded course would give another design than the run's, and -verify refuses a regrade that names another design or uncommitted code. Before, a regrade from a changed checkout scored the failed controllers under other code and showed only as "regraded" with a time. The squeeze recipe's method page says its equivalence margins were a judgment written before the run, with no further recorded reason.
  • Go dependencies: golang.org/x/net moves to v0.62.0 in every module (v0.60.0 has GO-2026-6860 and GO-2026-6866, both in its HTML parser, which plimsoll does not call), with the x/sys, x/text and x/crypto versions it requires; govulncheck ./... on the main module now reports nothing at any level.
  • JavaScript dependencies: hono moves to 4.13.18 in the TypeScript client's test dependencies and the Trigger.dev example, and @hono/node-server to 2.1.8 in the example, for the advisories published against earlier versions. The published client still has no dependencies. The example keeps its documented development-only minimatch warning.
  • CI: the build and publishing actions move to their current releases (setup-node and setup-python 7.1.0, upload-artifact 7.0.2, download-artifact 8.0.2, the PyPI publisher 1.14.3), each still pinned by commit.

Not in this release: plimsoll sessions (one sandbox kept for many calls) for the WSL containers provider, which are not built yet, so every call there gets a fresh container, and in the per-run mode a fresh VM; and the AWS Lambda microVM provider (it has no live smoke test yet).

A signed record protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.

v0.26.0

Choose a tag to compare

@carrollco carrollco released this 09 Nov 05:35

A sandbox that runs an agent's code is only as private as the wire that carries the code. This release closes the one open wire in the Kubernetes agent-sandbox provider, and it breaks existing agent-sandbox setups until the operator adds a certificate. The rest includes four example pages (a 40-agent recipe experiment, agent memory through a grant, and two lessons for newcomers), image scanning at startup, and fixes from reviews.

Version: v0.26.0.

Breaking, for Kubernetes agent-sandbox operators: the channel to each pod's sandboxd is now TLS, and a deployment without it does not start. Before, plimsolld sent the sandboxd token, the code, each project's plan with the run's report key and every result over cleartext HTTP/2 on the pod network, where anyone on that path could read or change them. Now each pod runs plimsoll's own small TLS terminator in front of sandboxd, and plimsolld connects over TLS 1.3 to a certificate that chains to a certificate authority (CA) you name, never the system's roots. A pod that cannot prove itself is sent nothing, and the run is refused as not dispatched. What you must do:

  1. Make a CA and one server certificate for the name plimsolld checks (sandboxd.plimsoll.invalid by default; it never resolves, because plimsolld dials each pod's address). openssl or cert-manager's CA issuer both work.
  2. Put the certificate and key in a kubernetes.io/tls Secret in the warm pool's namespace, and put the CA certificate (PEM, certificates only) in a file on the plimsolld host.
  3. Set SANDBOX_AGENTSANDBOX_SANDBOXD_CA_FILE to that file. It is now required. Set SANDBOX_AGENTSANDBOX_SANDBOXD_SERVER_NAME only if your certificate carries another name.
  4. Rebuild the image from docker/agentsandbox.Dockerfile: it now carries the terminator at /usr/local/bin/plimsoll-sandboxd-tls. Update the template to match: that binary is the container's command, followed by sandboxd's flags with --listen-host=127.0.0.1 and --grpc-port=9091 added; the Secret is mounted read-only at /etc/plimsoll/sandboxd-tls with defaultMode: 0400; and ingress is allowed only to port 9090. The startup read-back refuses a template that differs.
  5. Restart plimsolld. Its startup smoke test now takes the same TLS path, so a wrong CA or name stops it from serving, with the CA file and name in the message.

Hardened mode still requires SANDBOX_AGENTSANDBOX_ENCRYPTED_POD_NETWORK=1, your statement that the pod network is authenticated and encrypted, until per-pod keys land: every pod's terminator serves the same certificate, so the channel proves the peer is a plimsoll sandbox pod of your deployment, not the pod plimsolld dialed. Someone who can rewrite traffic on the pod network could redirect one caller's connection to another pod of the deployment (for example one their own run holds) and receive that run's code, files and token; the encrypted, authenticated pod network is what stops them until then. Rotate the Secret and the sandboxd token on a schedule; the operator guide has the steps, including how to change the CA without downtime (agent-sandbox guide). The channel was run live on a kind cluster under gVisor, runc and Kata, and refused a pod with another CA or another name.

Breaking, for Docker operators who configure a withheld set: unreadable image files now stop startup unless you have explicitly listed them for that image. After reviewing the bytes the scan cannot read, run plimsoll-withheld known-unreadable -set withheld.json -known known-images.json IMAGE, replacing withheld.json with your withheld-set file and IMAGE with each configured image. Set PLIMSOLL_WITHHELD_KNOWN_FILE to the resulting known-images.json before restarting. Lists bind the image's content ID, file path, unreadable format or limit, and size; rebuilding an image requires a new list. This also applies to audit-only sets. Listing acknowledges unread bytes, not that they contain no secrets. The image-scan guide explains the limits and the command.

Server and clients stay on protocol 5. No request or record format changed, so existing clients keep working against this daemon.

Also included:

  • Two new example pages. Does a fresh agent follow the plan it is handed?: 40 fresh agents built a drone controller from an honest 32-token recipe, the same words shuffled, or nothing; the recipe's order moved the landings, no recipe item reached the code by name, and every recipe agent said it followed the recipe only partly. Every number comes from signed run records, and examples/squeeze -staged -verify rechecks them. Agent memory through a grant: agent-written code stores and recalls a memory in a hosted memory API through a grant that plimsoll-specgen built from the API's OpenAPI document; the key stays in the broker, the trace names route templates only, and two calls outside the grant are refused. The API is a local fake, so it needs no account and spends nothing.
  • The squeeze page keeps what it says about the ship scan and the two other checks, and no longer describes how the answer-key tripwire matches values or how the canary run is carried out. Both of those checks are still not part of the open-source release; the page keeps what each protects against and the canary run's recorded output. Copies from v0.25.0 and the module mirror keep the old text.
  • The ship scan reads images: plimsoll-withheld scan-image reads a docker image's files against a withheld set, and plimsolld with the docker provider and a withheld set scans each image it runs at startup, by the content ID it verified, and refuses to serve while a refuse-mode entry is in one. An audit-mode find is logged. Any unreadable file not on its image's known list now refuses startup, including with audit-only sets; plimsoll-withheld known-unreadable -set SET -known FILE IMAGE writes the list, and PLIMSOLL_WITHHELD_KNOWN_FILE loads it. Lists match the image ID, path, reason and whole file size; rebuilt images need a new list. With no list configured, every unreadable file is unknown (ship scan).
  • The SDK grants page and example gain a live mode against the real OpenAI-compatible and Anthropic APIs, off by default, reached by no test, with a call budget in code; the verifiers page gains a real-model section with the key held by a loopback relay and the billed tokens capped there.
  • Time: durations and deadlines use the monotonic clock, never differences of wall-clock readings. On a host whose time service steps the clock, the in-sandbox project runner's shared deadline and step durations could be wrong, and under gVisor a process's start time and uptime follow the wall clock, which made a session sweep kill a process that was still young.
  • Docker provider: every container names the sandbox instance that started it (a random io.plimsoll.instance label), so tests and orphan reconciliation count only their own containers. sessionkit.ControlArgv refuses an environment variable that would choose what a control program loads or runs (a PATH entry used to replace the fixed one).
  • The physics oracle's controller runs under node's permission model with reads only on the files beside it, so it cannot open the plant module, the runner, or run child processes, workers, addons or writes.
  • Broker: the credential can go in a named header or as HTTP basic auth, for APIs that do not use Authorization: Bearer; the default is unchanged. plimsoll-specgen starts every route with the OpenAPI server's base path, which a document served under a path (such as /client/v4) used to lose.
  • JavaScript dependencies: refreshed the optional framework test dependencies and the Trigger.dev example; the client's locked graph passes npm audit. The example retains a documented development-only minimatch advisory: the affected optimization mode is not enabled by its command-line tool. The Zod input-validation peer minimum is now 4.6.6, its first patched release. The example documents its development-tool overrides.
  • MCP server: SetCallFiles lets an embedder write files into every run_code call, fresh or in a sandbox, before the call's own.
  • Tests: the sandbox, OpenShell and docker suites run many of their tests in parallel, and the race pass no longer runs the sandbox package's hermetic tests one by one; QuickJS compiles once per process, as its cache's comment always claimed. A startup race in the session expiry tests is gone.
  • Time witnesses for receipts: attest/tsa now ships the fetch as well as the check. Authority.Fetch sends one time-stamp request (a digest and a random nonce, nothing else) to an RFC 3161 time-stamp authority, and tsa.Public names the two public authorities plimsoll's tools pin, DigiCert and FreeTSA, with their root certificates, so a token from either must chain to the pinned root. Before, the open-source code could check a time-stamp token but not get one. The tests check recorded answers from both authorities and make no network call.
  • Two pages for people new to sandboxes: what a sandbox is runs five real programs in plimsoll's weakest isolation and explains the four isolation tiers as rooms with different locks, and proof of what ran explains the signed record of every run and lets you check five real records in the browser.
  • The README and the site index list the four new pages.

Not in this release: the AWS Lambda microVM provider (it has no live smoke test yet), driver mod...

Read more

plimsoll v0.25.0

Choose a tag to compare

@carrollco carrollco released this 30 Oct 14:23

Agent code usually wants three things plimsoll made awkward: call a real API with the SDK it already knows, start without waiting for a sandbox to boot, and not be handed the answer key by the harness grading it. This release does all three inside the same boundary. The OpenAI and Anthropic SDKs reach a granted API through the broker with their usual base-URL setting and never see the key; a one-off call runs in a sandbox that was already waiting; and the daemon checks every file a call carries against the answers you told it to withhold.

Protocol 5. RunRequest.prefer_warm asks for a waiting sandbox; OpenSessionRequest.warm_only and Describe's session_pool came with it. A 0.25.0 client and a 0.24.0 daemon refuse each other before anything runs, in both directions, so upgrade the server and the clients together. Run records stay at version 4.

One security fix you should know about: hardened mode's isolation rule and SANDBOX_MIN_ISOLATION were checked at startup only, while the agent-sandbox provider reads its runtime class on every run, so a class replaced after startup could run code below the floor. Both now join every request's minimum, a weaker sandbox is refused before any code runs, and /readyz says not ready.

New:

  • Grants for standard client libraries. On docker, a run whose grant profile sets sdk_env gets a local address inside the sandbox (127.0.0.1:8471) for the SDK's base URL. The broker forwards only the headers the profile names (pass_headers), sets the ones the profile fixes (set_headers, for the workspace or project a key acts in, so the guest never picks it), adds the credential itself, and streams text/event-stream answers piece by piece. On E2B and Docker Cloud the guard's raw route does the same, checked against both live services on this release's code: the broker's credential and only the passed header went upstream, a refused request came back marked not to retry, and a streamed answer arrived in pieces. Uploads: a profile can raise one route's body limit to 512 MiB and accept multipart (route_max_request_bytes, route_content_types), with the run's total across all calls capped by max_request_bytes (256 MiB by default, 1 GiB at most). Such a run gets a second seccomp profile derived from the default that adds IPv4 TCP sockets and eight socket options (six it may set, two it may read) and nothing else; an operator's own profile is never widened. A variant file of the operator's own (SANDBOX_DOCKER_SECCOMP_SDK naming a file) must keep that floor (deny by default, socket only with its address family compared, socketcall never allowed, under either of docker's rule spellings), or the daemon refuses to start. pass_headers refuses the headers model APIs read an API key from (x-api-key, x-goog-api-key, api-key, ocp-apim-subscription-key), so a guest cannot send a key of its own beside the run's. The page runs both libraries unmodified against a stub API that writes down what it got: the real key on every request and never in the sandbox, every stream piece in the library before the next was written, and an 8 MiB upload arriving byte for byte.
  • Read this before granting a chat API: a grant to a chat API is a grant to the internet through that API's own server-side tools (web fetch, web search, connectors). capability-grants.md says how to turn them off for each provider.
  • The one-call path. With prefer_warm, a Run executes as one cell in a pool member that has run only plimsoll's own programs, which is then deleted, never reused; with no member free it runs in a sandbox made for it. Both paths go through the same floor, software rule, ship scan, spend and audit checks. The Go, Python, TypeScript and MCP clients lost their own copies of this path. Timed through plimsolld on a laptop, 17 calls per bar: a cell from the pool answered in 35 ms (Python) and 42 ms (JavaScript) under runc, against 320 to 690 ms in a sandbox made for it; 51 and 78 ms under gVisor, against 570 to 993 ms; 11 and 16 ms on OpenShell, against about 700 ms. About half of a fresh docker call is the provider's Preflight check, which a fresh call repeats once the last one is 5 seconds old and a pool sandbox never needs. The page has the spread, a call that finds no pool sandbox free, and a repeat set within 7% of the first.
  • The ship scan. Before a call is dispatched, the daemon checks every file it carries, and the archives it can read inside them, against the operator's withheld set (answer keys, sealed tests: whole files, their distinctive source lines, and values such as seeds), and refuses a match or logs it, as the operator sets each entry. It does not see files baked into the image, what a grant fetches, or material packed on purpose in a form it does not read; the guide lists each. plimsoll-withheld builds the set. ship-scan.md; the page runs five calls on the WASM provider: the harness's simulator refused as it is, edited and inside a .tar.gz, and a seed in an agent's code run and logged for the operator, never told to the agent.
  • The verifiers runtime: Prime Intellect's verifiers environments run with plimsoll as their sandbox. The page rechecks 318 of 318 records, and the transcript matches verifiers' own docker runtime in 12 of 13 messages.
  • The dependency behavior receipt (examples/dependency-receipt): a signed statement of what a package's install and import did inside gVisor (programs started, files written, network calls with their destinations), rebuilt from gVisor's own syscall log to check it, and joined to the run's record by the pod. The page shows three installs on a kind cluster, including one that tried to write where it should not and one that tried to phone out.
  • The squeeze test (examples/squeeze): fresh agents rebuild a self-improving loop's work from a recipe of about 32 tokens, and the rebuilds' score on the loop's own practice tests is set beside the loop's. A loop far ahead of its rebuilds is evidence that it memorized the test rather than learned the job; it is evidence, not a verdict, and on the easy course it let through a cheater that fresh flights caught. Where fresh tests are cheap, they are the better check. Its page also shows why a fresh score is a range: the same controller landed 56, 48 and 62 of 64 on three random sets of fresh flights, and flying each set again landed exactly the same flights, so the sets differ, not the grading. The page
  • SANDBOX_AGENTSANDBOX_RUNSC_HANDLERS declares runtime handlers the operator runs as gVisor, so they report the kernel tier.
  • The pull-request receipt example has six challenge receipts (honest, failing, altered, another signer, skipped, timed out) and a policy gate on a pinned Open Policy Agent release.
  • Fixes from security reviews: an API that answered an upload before reading all of it let the rest of the body go uncharged against the run's total; the dependency receipt's summary line was quadratic in the destinations a guest chose; a docker session call whose start failed put up to 512 bytes of its stderr, which the session's own code can write, into the operator's log, and now reports only docker's exit code. Also fixed: the record of a completed project run on agent-sandbox, and on OpenShell with an image pinned by digest, named no image; the SBOM example's verdict receipts link their image's ingredients list again.

Not in this release: Docker Cloud sessions. They are built, but the open's check cannot yet read every listener inside Docker's machine, so they stay out until it can. The canary run, which the squeeze page shows beside the ship scan, is not part of the open-source release either. The control channel between plimsolld and agent-sandbox pods is still plain HTTP/2 (v0.24.0's notes say what that means).

A signed record protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.

plimsoll v0.24.0

Choose a tag to compare

@carrollco carrollco released this 27 Oct 19:11

A coding agent's "the tests passed" is its own account of itself. This release adds an example that makes it evidence instead: a Nemotron model on Nebius Token Factory writes code, runs it in a plimsoll sandbox behind gVisor, and every run comes back as a signed record that you can recheck offline, now in your browser too. The rest of the release is hardening from a whole-tree review.

Server and clients stay on protocol 4 and run-record version 4. Clients 0.23.0 keep working against a 0.24.0 daemon. Upgrade them anyway: 0.24.0 clients refuse an answer whose result is not the kind the request asked for, and a record that ends before it starts, before either moves a session's chain.

For agent-sandbox operators running hardened mode: set SANDBOX_AGENTSANDBOX_ENCRYPTED_POD_NETWORK=1 once your pod network encrypts traffic (a network plugin with WireGuard or IPsec, or a service mesh with mutual TLS), or the daemon refuses to start. plimsolld talks to each pod's sandboxd over plain HTTP/2, so the sandboxd token, the code, each run's report key and the output are only as private as that network; the daemon cannot check it, so it asks you to say so.

Also included:

  • Three fixes from a whole-tree security scan of the published code: the TypeScript client refuses a bytes field that is not base64 text, where a 30-byte answer could make it allocate 2 GB; the daemon's open development mode (PLIMSOLL_INSECURE=1) answers only requests addressed to localhost or a loopback address, so a web page that rebinds its own name to 127.0.0.1 cannot run code through it; and the agent-sandbox control channel above, now stated in the docs.
  • examples/nemotron-agent: a Go program that gives a Nemotron model one tool, run code in a plimsoll sandbox, and records every call with the attest harness; its verifier is the same Go verification compiled to WebAssembly, so a page can recheck a bundle with the public key and no server. The recorded session is on its page: Nemotron 3 Super's first run failed three of eleven tests while exiting 0, it fixed its code, and its second run passed all eleven; the page rechecks the signed bundle in your browser (the page).
  • Docker provider: a guest that could print to the runner's stdout could make the daemon hash about 1.3 TiB from a 16 MiB stream; parsing now hashes at most twice the stdout cap across every candidate frame. A runner report already in stdout when the time backstop fires is the result, not a timeout with no steps. Orphan reconciliation reaps by label first and gives each quarantined removal an equal share of the pass, so one hung removal no longer starves the rest. The broker socket mount quotes its path, so a temp path with a colon mounts.
  • WASM: a canceled run returns the context's error, as docker and E2B do, not a normal result with exit 4294967295. The broker charges a route's call cap last, once nothing else can refuse the call.
  • RPC and daemon: a failed run's audit line carries the error text cut to 4 KiB, never a vendor's error page whole; OpenSession and CloseSession run under the same five-minute ceiling as Run; the orphan reconciler and the isolation re-check end after the drain, not at the signal.
  • E2B: a session's open now proves, as the guest, that the VM's agent refuses a token-less process start and a token reset; proven on the live service. A step the deadline ends keeps what it wrote.
  • Docker Cloud: the in-VM wrapper always writes its trailer, so a guest without /proc cannot forge a line that marks its own run timed out or flooded.
  • OpenShell and agent-sandbox: the agent-sandbox startup check connects to the pod's control port as the guest and requires both a token-less and a wrong-token start to be refused, or the daemon serves nothing; every result on both providers carries the pinned image digest as its environment identity; a run whose grant relay failed to start is a marked refusal (the guest's code never ran); a sandbox recreated under a session's name ends the session as changed; an ingress policy source must be narrower than everything.
  • Records and signing: the check refuses a response whose result kind differs from the request's and an answered record with no result; plimsoll-attest verify-record verifies a v0.10.0 to v0.17.x call line with no link; a harness whose write failed appends nothing more; a replay sends a request recorded with a grant profile only with -with-grants; open-statement reads at most one bundle line. A placement backend on another protocol number is unfit, so a rolling upgrade no longer blocks the pool behind one old daemon.
  • MCP server: a call that waited for its sandbox's turn used to run inside what was left of the call's deadline, and a cut-off lost the sandbox with everything in it; such a call is now refused before it is sent, and runs go under the server's own context. A setup_failed project reports ran: "no". Errors shown to the model never name the daemon's address or the receipts directory. An authenticated GET or DELETE on /mcp is 405 before the call meter.
  • Python and TypeScript clients: the result-kind and time-order checks above; Python catches a recursion error in an error body and hands IPv6 literals to its HTTP client in brackets; the TypeScript decoder of an unanswered record skips unknown fields by wire type.
  • Conformance suites: a suspend is proven through a live interpreter; the disk budget case writes past the 64 MiB every session is opened with; one-shot runs add an artifact at a fifo.

Correction to v0.23.0's notes: they said sessions work on E2B and Docker Cloud. Sessions work on docker, E2B and OpenShell; Docker Cloud does not have them yet (sessions).

A signed record protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.

plimsoll v0.23.0

Choose a tag to compare

@carrollco carrollco released this 24 Oct 18:18

Matching a code run to an outside observation log used to need another piece of paperwork. Plimsoll's run record now has a place for the sandbox's identity. Kubernetes fills it with the pod's unique ID, and every client checks it. The delivery slip finally has a serial number.

Upgrade the server and clients together. This release uses protocol 4 and run-record version 4. Earlier clients are refused before their code runs. Old evidence still checks: verifiers read every record version a release has written, so recordings from v0.10.0 to v0.22.0 verify with this release (bundles from before v0.18.0, which have no line links, verify one record at a time). The Python and TypeScript clients are both 0.23.0.

Also included:

  • A receipt challenge with deliberately wrong evidence, plus a checker that ties test results to the code revision they tested.
  • Coding-session labels on execution records, standard test-result and coverage formats, and a dependency-observation log reader with its coverage limits stated.
  • A documented connection for Mirror, Reflection's coding agent, through MCP, the standard agent-to-tool interface. Build the MCP binary from this release's source; its npm launcher is not published yet.
  • Fresh signed examples across nine sandbox configurations, including a batch of fixed, hand-authored controllers. These demonstrate execution and checking; no model was trained to make them.
  • Repairs to signed JSON handling, coding-session hook failures, timestamp ordering, file-descriptor attribution and test-result consistency. Canonical builds use Go 1.26.10.
  • A new project outcome, runner_failed: your steps began and then the runner failed (an artifact it could not read, say), so your code ran. setup_failed now always means no step began. A client older than 0.23.0 reads the new outcome as unspecified.
  • A project's timeout covers the whole run. A step that hangs late no longer takes the earlier steps' output with it.
  • Projects behave alike across providers now, checked by one shared test suite: artifacts come back after a timed-out step, a link inside the work directory is followed, each step keeps 1 MiB of each output stream and runs on past it with its own exit code (on docker it used to be killed), a flood past 32 MiB ends a step with exit 153, and a step killed by a signal reports 128 plus the signal. The two differences left are written down in docs/run-results.md. On E2B, a project sent with no files now runs; before, its steps could not start.
  • A sandbox whose cleanup fails keeps holding its capacity until it is confirmed gone, so concurrency limits keep meaning something.
  • Fewer misleading answers: an over-size request is reported as the caller's mistake, not "at capacity"; output cut off after a command exited is flagged as cut; a Docker Cloud timeout is measured inside the VM, not from a slow reply.
  • The simulation image now carries the buck-converter and cart-pole swing-up graders at /oracle/graders/, and the C controller examples score with them in a run of their own.
  • Sessions now work on E2B; they bill against the daily allowance and need an idle timeout. (Corrected 2026-10-27: this line also named Docker Cloud, which does not have sessions yet.)
  • For OpenShell operators: unless your gateway is the v0.1.2 release itself (not a prerelease of it), set agent_policy_proposals_enabled to false explicitly. Only v0.1.2 has been measured to default it to off.
  • Security fixes from a full review: a signed statement now has exactly one reading (field names must match exactly, so predicate and Predicate can no longer both appear); a client given its own HTTP client or fetch no longer reports "nothing ran" for a call a retry may have delivered; on docker, a run's API access ends before cleanup starts; the Google ADK adapter refuses compositional function calling wherever plimsoll runs code in the agent tree; an E2B session call's API access ends when its steps do, not after the artifacts are read; and the shipped graders no longer let a value that is not a number pass a limit.

A receipt protects recorded statements from unnoticed changes. It does not prove that code is correct or safe. Isolation tiers describe configuration and provider evidence plus startup checks, not hardware attestation.