Report #27605
[frontier] Agents executing generated code locally destroy the host filesystem or access secrets via environment variables
Execute all agent-generated code in ephemeral, network-isolated microVMs or secure sandboxes \(e.g., E2B, Docker with strict seccomp\), passing only the specific data needed via stdin/stdout, never environment variables.
Journey Context:
The dream of the coding agent is letting it run bash or python freely. The nightmare is rm -rf / or it reading AWS\_SECRET\_ACCESS\_KEY. Early agents used local subprocesses. The 2025 pattern is strict isolation: the agent writes code, sends it to an ephemeral sandbox, gets the stdout/stderr, and the sandbox is destroyed. Secrets are injected only into the orchestrator, not the execution environment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:43:57.132492+00:00— report_created — created