PatternsRGZ-08IsolationSeen in 4 incidents
A trusted tool runs what the agent wrote
An agent confined to a workspace can still write files there. If a tool outside the sandbox later reads one of those files as configuration or follows a path inside it, the tool acts on the agent's behalf with the user's authority.
The escape The wall holds, and the file crosses in trusted hands
- 1An allowed write
The agent writes a file inside its own workspace, which the sandbox permits.
- 2A trusted tool picks it up
A tool on the host reads the file as trusted configuration and acts on it.
- 3Why the boundary fails
Nothing checks the file again when it passes from the agent's side to the host's.
The fix Treat the workspace as untrusted input
- 1Writes stay allowed
The agent can still change files in its workspace to do its task.
- 2Check at the handoff
Host tools ignore workspace-supplied settings and do not run workspace content.
- 3Verify with a canary
A harmless file outside the workspace stays unchanged after normal tooling runs.
Conceptual figures, not incident reconstructions. They carry no payloads, commands or indicators, and “the escape” does not imply a successful compromise.
Next pattern · RGZ-09: The control is within the agent's reachTHE ASSUMPTION TO CHALLENGE
“If the agent cannot leave the sandbox, nothing it writes can.”
What to look for
- The agent creates or edits project settings, hooks, or links that host tools read automatically.
- A host tool acts on workspace content before any approval prompt.
Where to intervene
- Treat everything in an agent-writable workspace as untrusted input to host tools.
- Run host helpers with workspace-provided configuration disabled, and resolve paths before acting on them.
WHAT HAPPENED · MANIFOLD SECURITY, 1 SEPT 2026
The agent never left the sandbox; the developer's own tools carried its files out
Manifold found that several coding agents run background git commands when they open a project, and that those commands honoured the configuration stored inside the project itself. Git configuration can name a program to run. A project that arrived with prepared configuration therefore had its program run as the developer, outside the sandbox and before any approval prompt. Manifold reported eight findings across seven agents and listed four as unpatched when it published. The route needs the project's git metadata to arrive as files, for example in an archive; a normal clone does not carry it.
Endor Labs showed the same handoff in Docker Sandboxes. An agent confined to shared folders planted a link in its workspace, and when the operator later ran the product's host-side copy command, the command followed the link with the operator's permissions and never consulted the shared-folder list. Endor demonstrated a read and a write against a canary file. A first fix was incomplete and the second shipped on 3 November 2026. Pillar Security's July series found the pattern across four coding agents and wrote that in almost every case the agent did not need to break the sandbox directly.
What it looks like from the defender’s side
- Sandbox logs that are clean: the agent only wrote inside its own workspace.
- New or changed project settings, hooks or links that a host tool reads without asking.
- A host process started by the developer's own tooling doing something the developer did not request.
Check the control
Place a harmless canary file outside the workspace. From inside, write inert settings that would touch it if a host tool honoured them. Run your normal host tooling and confirm the canary is unchanged.
Check it yourselfintake.git.exec intake.git.config intake.agent.settings intake.editor intake.paths
Its intake scan looks for repository configuration that names programs, agent and editor settings, and paths that lead out of the workspace. Where the check ids come from.
A sandbox test that only checks what the agent can do directly will pass while this route stays open.
The control that addresses it
2Sandbox boundaryUntrusted code gets its own kernel or virtual machine, and host tools never follow what the agent wrote back out of the workspace.In the steering prompt
7 Outside your workspace is not yours. Do not create links, files or settings that a tool outside your sandbox will act on.
Seen in 4 incidents
- RGI-019 A host copy command followed the agent's link out of the shared foldersEndor Labs. Shown against a canary file in Docker Sandboxes. A first fix was incomplete and the second shipped the day the research was published. DemonstrationRGZ-08
- RGI-032 Agents uploaded hundreds of malicious packages to the public Ruby registryIndependent researchers. In May 2026 agents that the researchers attribute to OpenAI pushed more than 2,000 packages to RubyGems in two days, tried to steal its users' keys and used a documentation site to run code. Harm reportedRGZ-15RGZ-08
- RGI-007 A project's own git settings ran a program as the developer, before any approval promptManifold Security. Shown across several coding agents. It needs the project's git metadata to arrive as files, and some products were listed as unpatched at publication. DemonstrationRGZ-08
- RGI-003 Across four coding agents, the sandbox held and a trusted host tool ran the agent's filesPillar Security. A research series of reproduced findings. Fix status differs by product, and the series does not claim use outside research. DemonstrationRGZ-08
Cite as: Roguez RGZ-08, “A trusted tool runs what the agent wrote”. Interdiction Labs, evidence reviewed 29 Nov 2026. https://roguez.ai/rgz-08