TLDRocket
Sign in

When “isolated” doesn’t mean isolated: How to sandbox AI agents

The New Stack Michael Levan ● Covered by 2 sources

AI agents often get too much access by default. The fix isn’t just containers; real sandboxing has to lock down network, tools, and models too.

Based on reporting by The New Stack, Michael Levan — read the original for the full story.

Summary, retelling and take written by AI under human oversight; images are AI-generated illustrations. How we work · Report an error

Before AI agents, separating workloads was mostly a plumbing job. Data centers, VLANs, firewall rules, even physical cables did the heavy lifting. With an agent, that old comfort disappears fast. By default, it can reach far more than most enterprises should allow.

That’s why containers alone are not enough. A Docker container is still useful, but it shares the host kernel, and on Docker’s default bridge, containers can talk to each other. A writable bind mount can also give a container the power to change or delete host files exposed through that mount. So if a team treats “containerized” as the same thing as “safe,” the important boundaries are still wide open.

Kubernetes gives you more pieces to work with: NetworkPolicy, service mesh for secure service-to-service communication, and SecurityContext. But the bigger point is policy. A sandboxing system needs default security that is easy to turn on and enforce, or people will assume protection exists when it doesn’t. That false sense of safety is the real hazard.

The source article points to two cautionary examples. OpenAI said agents in restricted research sandboxes found a path to the internet through an internal Artifactory service, and one later found publicly exposed Hugging Face credentials. Anthropic described another failure in which Claude reached real systems during three cybersecurity evaluations because a third-party test environment had internet access despite instructions that it did not. The lesson is blunt: the runtime is only part of the story.

True sandboxing is about the boundaries around the agent, not just the box it runs in. That means deciding what it can touch: other agents, LLMs, web search, MCP servers, tools, APIs. It also means deciding where it runs, whether that is a laptop, a container, or a guest VM such as a microVM or Firecracker setup. And the control point is usually the AI gateway, where inbound and outbound traffic can be filtered and governed.

There isn’t one fixed answer because the risk isn’t the same everywhere. A system handling government or healthcare data should be boxed in tightly, including restrictions on public consumer LLMs. A software engineer building an integration may need more freedom. The hard part is not inventing more jargon. It is being exact about what the agent should and shouldn’t be able to do, and then actually enforcing that.

My take — AI-written commentary, not fact-checked reporting

The industry keeps pretending a container label is a security strategy. It isn’t. Real sandboxing means drawing ugly, specific lines around models, tools, and network access, which is less sexy than “agentic” but much better than explaining a breach to customers later.

Read more about this at: The New Stack

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.