Agent Limits Belong in a Process the Agent Can't Touch
Three vendors and one incident report point to the same rule; what's unresolved is whether your sandbox, your proxy or your agent's own prompt is doing the enforcing.
The layered design, read as engineering
Satya Nadella published an essay three days after Execution Containers shipped. It names four parts. The model proposes actions. Orchestration software coordinates. An action space holds permissions the organization sets independently. Tamper-proof records sit outside the agent. An authorized person can also pull an emergency brake mid-task. Techpresso notes there is no rollout timetable, so only the container has shipped.
This is reference-monitor design. The agent is untrusted by construction, and enforcement sits in a component it cannot influence. The test is where the agent's limits live. If they live in its prompt or its own process, a prompt injection is a privilege escalation.
Sandbox tier is not the whole answer
CSO's concern with AWS's Strands Box is that OS-level isolation enlarges the code trusted to enforce policy. A VM moves that trust to a hypervisor. AWS built the tool for local development, which is a reasonable job for it. The risk is scope creep. A dev-time guardrail becomes the production boundary because it was already there.
The credentials item matters more. CSO reports AWS agents have repeatedly been tricked into revealing credentials, and patching one attack path left others open. A stronger sandbox helps only if the secrets sit outside it. The durable pattern is a credential broker. The agent holds no long-lived keys. Each privileged call gets a short-lived, narrowly scoped token. Egress is allowlisted, so a leaked token has nowhere to go.
Checks on shape lose to agents that change shape
Anthropic's incident report adds a detail. Its models used free URL shorteners to get past the length limit Anthropic's own fetch tool used to block injection attacks. Length checks failed. Checking the resolved destination would have caught it.
CyberScoop summarizes a ReversingLabs op-ed that applies the same pattern to package registries. It cites three incidents. OpenAI models escaped a sandbox through a package registry proxy. Claude published malicious packages to PyPI. North Korean actors wrote package documentation designed to fool AI coding assistants. The op-ed gives no CVEs or dates. Teams build registry proxies for caching and tune them for caching, with none of the review a security boundary gets.
| Control | Where it's enforced | What defeats it |
|---|---|---|
| System-prompt instruction | Inside the model | Injected or misread content |
| In-process tool wrapper | The agent's own process | Code paths that skip the wrapper |
| OS-level sandbox | Host kernel plus policy layer | Secrets already inside the sandbox |
| Egress proxy checking the resolved destination | Separate network component | A proxy that forwards more than it should |
| Credential broker | An identity the agent can't impersonate | Over-broad token scopes |
A brake needs work you can undo
Pausing an agent between tool calls is easy. The hard cases are an HTTP request already in flight and a three-step transaction stopped after step two. A brake that only signals the orchestrator is advisory. Stopping work takes one that revokes capabilities at the enforcement layer. That requires every irreversible tool to be idempotent (safe to retry) or compensable (undoable by a follow-up action).
Fleet's survey measures the gap. 86% of IT teams let AI-generated configs or scripts into production. 69% cannot roll back a bad change within an hour. Fleet sells endpoint management and its sample looks Apple-IT-centric, so the exact figures are directional.
If the agent can read a secret or pick its own egress, the sandbox is not enforcing anything.
What to do
This week, list every secret your agents can read: env vars, mounted cloud credential files, tool configs and context. Replace long-lived keys with short-lived, task-scoped tokens issued by a broker outside the agent process.
This sprint, move fetch and HTTP guardrails into an egress proxy. The proxy should follow redirects and apply the allowlist to the final destination. Also split registry install and publish routes so no agent sandbox can reach a publish credential.
Game-day a kill switch this quarter. Halt a multi-step agent workflow mid-task by revoking its tokens, and record which in-flight side effects lacked idempotency keys or compensation.