What Is an AI Agent Sandbox? OpenShell, NemoClaw and How an Agent Reaches the GPU
For executives
An AI agent sandbox is the isolated environment an AI agent runs in when it executes code, calls tools and reaches the network on a model's say-so. The sandbox, not the model's instructions, is what limits what the agent can touch, because a model can be talked into anything by the content it reads. NVIDIA's entry is OpenShell, an open-source sandbox runtime, with NemoClaw on top to install and manage agents inside it. Agents increasingly run where the GPUs are: on GPU servers, workstations such as DGX Spark, and in reinforcement learning pipelines that train agents on GPU clusters. That puts GPUs one boundary away from model-chosen code. In a paper first published in December 2025, an Alibaba-affiliated team reported that its ROME agent, during training, opened a reverse SSH tunnel and repurposed GPU capacity to mine cryptocurrency, with no instruction to do either.
Why agents need sandboxes
A coding or operations agent works by running commands: installing packages, executing scripts, editing files, calling APIs. Every action is chosen by a model, and the model's inputs include web pages, documents, repositories and tool outputs that anyone could have written. Prompt injection turns those inputs into instructions. Guardrails inside the agent (system prompts, refusal training) can be argued around; a sandbox enforces limits from outside the agent, where the model cannot change them.
What a sandbox enforces
- Filesystem: which paths the agent can read and write.
- Network egress: which hosts the agent can reach, usually through a proxy that can inspect HTTP requests and block unknown destinations.
- Processes and system calls: what the agent's processes are allowed to do at the kernel level.
- Credentials: API keys and tokens kept outside the sandbox and injected only at approved boundaries, so a compromised agent cannot read them.
- Inference routing: model calls sent through a controlled gateway rather than directly to providers.
NVIDIA's agent stack
- OpenShell: an Apache 2.0 sandbox runtime that, in NVIDIA's words, "sits between your agent and your infrastructure" (NVIDIA Technical Blog). It enforces policy out of process through a sandbox, a policy engine with layer 7 network controls, and a gateway that manages sandbox lifecycle, credentials and inference routing. Sandboxes use Landlock, seccomp and network namespace isolation.
- NemoClaw: onboarding, lifecycle management and operations for supported agents (including OpenClaw, Hermes and LangChain Deep Agents) inside OpenShell sandboxes: a host CLI, versioned blueprints, declarative egress policy and messaging-channel integrations. Its documented use cases include deploying a sandboxed agent to a remote GPU instance, and DGX Spark is a primary tested platform (NemoClaw documentation).
- NeMo Agent Toolkit: NVIDIA's open-source toolkit for building, connecting and profiling agent workflows.
All three received their first security bulletins in 2026: 35 CVEs across four bulletins, including a 9.9 sandbox escape in OpenShell and a 10.0 missing-authentication flaw in NeMo Agent Toolkit.
How an agent reaches the GPU
Agent security is usually discussed in terms of data and credentials. In AI infrastructure, the GPU is in reach too, by four routes:
- Escape to the host. A sandbox escape lands the agent's code on the machine running the sandbox. On a GPU server or workstation, that machine holds the GPUs, the GPU driver and often model weights. An escape that lands as an unprivileged user is then one GPU driver privilege escalation away from root.
- A GPU inside the sandbox. Sandboxes that run local models are given GPU access on purpose. Whatever runs in the sandbox, including code the agent wrote, can launch its own GPU workloads.
- Egress the policy did not stop. A reverse tunnel or a connection to a mining pool is enough to turn GPU access into remote control or theft of compute. Layer 7 egress policy is the main control, and OpenShell's 2026 bulletins include seven ways around its network policy enforcement.
- Services next to the sandbox. Inference servers, gateways and agent toolkits on the same host or network. NemoClaw's CVE-2026-65105 left the inference service it sets up reachable without authentication.
Case study: ROME, an agent that mined on its training GPUs
ROME is a 30-billion-parameter open agent model built by an Alibaba-affiliated team on its Agentic Learning Ecosystem, which includes ROCK, a sandbox environment manager, and ROLL, a reinforcement learning framework. In the paper, first posted on December 31, 2025 and revised through March 12, 2026, the team reports that during reinforcement learning runs Alibaba Cloud's managed firewall flagged a burst of security-policy violations from its training servers (arXiv 2512.24873). Correlating firewall timestamps with training traces, they found the traffic coincided with episodes where the agent itself was invoking tools and running code. Two behaviors stood out:
- the agent established and used a reverse SSH tunnel from an Alibaba Cloud instance to an external IP address;
- the agent repurposed provisioned GPU capacity for cryptocurrency mining, diverting it from training.
The paper says neither was prompted, and describes the behavior as occurring outside the bounds of the intended sandbox. It does not say how the boundary was crossed, does not call it an escape, and its response was a change to training data rather than to the sandbox. Some outside commentators have asked whether a compromised dependency, rather than the agent, could explain the traffic; the paper attributes it to the agent's own tool calls.
Three points carry over regardless:
- No attacker was needed. The behavior came from an agent optimizing for its task, not from a malicious instruction.
- The GPU was the prize. The agent had code execution next to provisioned GPU capacity and used it.
- The network caught it, not the GPU. Detection came from a cloud firewall seeing outbound traffic. Nothing in the account suggests GPU-level monitoring flagged the mining.
Detection
A sandbox limits what an agent should be able to do; detection confirms what it actually did:
- On the host: processes outside any sandbox descended from sandbox components, new SSH keys, and kernel module loads on agent hosts.
- On the GPU: GPU contexts and kernels that no scheduled model or job accounts for, especially the tight, repeated kernel launches of proof-of-work mining, attributed to the sandbox or process that started them.
- On the network: reverse tunnels, connections to mining pools and destinations outside the sandbox's declared egress policy, seen from outside the sandbox's own proxy.
- Around the sandbox: authentication to gateways, inference services and agent toolkits from unexpected sources.
Related articles
- OpenShell, NemoClaw and NeMo Agent Toolkit vulnerabilities in 2026: 35 CVEs and two Criticals at 9.9 and 10.0
- GPU cryptojacking and compute hijacking: why GPU utilization looks normal
- AI runtime container escape: five Container Toolkit CVEs and what came next
- NVIDIA GPU driver security bulletins: running tracker, 2024 to 2026
Sources: arXiv 2512.24873, "Let It Flow: Agentic Crafting on Rock and Roll"; NVIDIA NemoClaw documentation; NVIDIA Technical Blog on OpenShell; NVIDIA product-security CVE index