Join our Newsletter — 33% off our NHI Course
Home› Guides› NVIDIA NemoClaw and OpenShell Security Guide: Sandboxing Always-On…
Guide MCP, Protocols & Agent Platforms

NVIDIA NemoClaw and OpenShell Security Guide: Sandboxing Always-On Agents Safely

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 18 November 2026 12 min read
On this page

NVIDIA NemoClaw wraps always-on personal agents such as OpenClaw in OpenShell sandboxes with deny-by-default egress, host-held credentials and operator approval, but its protection is only as strong as the policy tier, presets and approvals you choose. This guide explains how NemoClaw and OpenShell fit together, which controls are fixed when a sandbox is created and which can change at runtime, and how to configure network policy, credentials, inference routing and gateway authentication so an autonomous agent cannot quietly widen its own reach. It is aimed at security engineers, platform teams and identity owners evaluating or running NemoClaw on workstations, DGX systems or Linux servers.

Always-on agents are a non-human identity problem as much as a sandboxing problem. They hold tokens for messaging, code hosting, email and model providers, they run unattended, and they act on content from the open internet. NemoClaw's design responds to exactly that combination, so understanding its trust boundaries tells you where your own controls still need to sit.

This is an independent guide from NHI Mgmt Group, based on NVIDIA's public documentation as of November 2026. It is not sponsored or reviewed by NVIDIA. Product features change, so confirm settings against NVIDIA's current documentation.

Key takeaways

  • NVIDIA describes NemoClaw as an early-preview reference stack for a trusted operator on one host. It is not a hosted service, a multi-tenant control plane or an enterprise identity system, so plan your own identity and governance layer around it.
  • Egress is denied by default. Every allowed endpoint, preset and operator approval is a possible exfiltration path, so the policy file is your main security artefact.
  • Filesystem (Landlock) and process controls are locked at sandbox creation. Changing them means re-creating the sandbox, which is also the documented way to return to a clean baseline.
  • Inference and web search credentials stay outside the sandbox and are substituted by OpenShell on matching policy paths. Never add inference provider hosts to network policy, because that bypasses credential isolation.
  • The personal-open-internet preset removes hostname, method, path and body checks on ports 80 and 443. Keep it away from any workload that touches business data.
  • Agents launched outside the managed gateway path bypass network policy and inference authentication. Use NemoClaw-managed entrypoints only.

What NemoClaw and OpenShell are

According to NVIDIA's overview, NemoClaw is an open-source reference stack for running always-on AI agents more safely inside OpenShell containers. It handles onboarding, lifecycle management and agent operations for supported agent runtimes, which the documentation lists as OpenClaw, Hermes and LangChain Deep Agents Code. If you are new to OpenClaw itself, see our OpenClaw profile.

The documentation breaks NemoClaw into four parts:

  • Host CLI: checks host readiness and creates, updates and manages sandboxes.
  • Versioned blueprint: digest-verified blueprints for repeatable setup.
  • Agent-specific integration layer: per-agent configuration, lifecycle adapters and validation.
  • OpenShell gateway: coordinates sandbox lifecycle, managed inference, credentials and policy enforcement.

OpenShell is the container and gateway layer underneath. In practice, NemoClaw is the opinionated packaging and onboarding, and OpenShell is the enforcement point that decides what leaves the sandbox and which credentials are attached on the way out.

The primary tested platforms are Linux and DGX Spark. NVIDIA documents limitations on macOS, Windows Subsystem for Linux, DGX Station and headless Linux servers, so check the platform notes before assuming every control behaves the same on your host.

The five control layers and what is fixed at creation

NVIDIA's security guidance for OpenClaw describes deny-by-default controls across five layers. Knowing which can change at runtime is the key to operating NemoClaw safely, because anything fixed at creation is also something an agent cannot loosen for itself.

LayerEnforced byChange at runtime?
FilesystemLandlock LSM plus container mountsNo, requires sandbox re-creation
Process and syscallsContainer runtime (Docker or Kubernetes securityContext); OpenShell lists seccomp among its mechanismsNo, requires sandbox re-creation
Network egressOpenShell policyYes, by policy file or openshell policy set
Inference routingOpenShell gatewayYes, through NemoClaw switching commands
Gateway authenticationOpenShell gatewayNo, set at image build or onboarding

Two details deserve attention. First, the documentation says agent configuration under /sandbox/.openclaw is mutable and is not an isolation boundary. Do not treat settings an agent can edit as security controls. Second, Landlock restricts writable paths, but application-layer scanners cannot catch raw writes such as redirecting a secret into a file. Secret hygiene still matters inside the sandbox.

For capabilities, NVIDIA states that OpenShell enforces child capabilities for managed sandboxes, while for direct container launches the container runtime owns this and you should pass --cap-drop=ALL. It advises against adding a second entrypoint capability layer.

Network egress policy design

All egress is denied unless an endpoint appears in the baseline policy. You change policy either by editing the policy file (static) or with openshell policy set (dynamic). Each endpoint rule can be tightened in several ways, and the documentation is clear about the risk of each relaxation.

Binary scoping

The binaries field restricts which executables can reach an endpoint. OpenShell identifies the caller from /proc/<pid>/exe and checks SHA256 hashes, so a replaced binary is denied. Omitting binaries allows any executable in the sandbox to use the endpoint, which NVIDIA flags as risky. Always set it.

HTTP method and path scoping

Endpoint rules can limit methods and paths, and GET-only is described as the safer default for read-only endpoints. A rule that allows POST to an API is a write path for any data the agent can see.

Layer 4 versus layer 7 inspection

Endpoints without a protocol field get layer 4 checks only (host, port and binary) and payloads are not inspected. Setting protocol: rest enables layer 7 inspection with rules or access, while access: full allows all methods and paths. NVIDIA lists omitting protocol: rest on REST APIs without a compatibility reason as a common mistake.

SSRF boundaries

OpenShell hard-blocks unspecified, loopback and link-local destinations, including the cloud metadata range. An endpoint's allowed_ips can permit other private ranges, so NVIDIA advises treating any change to it as an SSRF boundary change. Route those changes through security review, because they can expose internal services to an agent that reads untrusted web content.

Egress design for agents is covered more broadly in our Agent Egress Control and Network Isolation Guide.

Presets and onboarding tiers

Presets live in nemoclaw-blueprint/policies/presets/, and NVIDIA recommends reviewing each preset's YAML before applying it. The documented risks of the main presets are worth repeating because they are easy to apply casually:

  • personal-open-internet: lets every sandbox binary reach public and private ranges on ports 80 and 443 with no hostname, method, path or body checks. NVIDIA says to use it only for trusted personal workloads.
  • npm: layer 4 pass-through that gates by host, port and binary but does not inspect HTTP.
  • pypi: GET and HEAD only, so publishing is blocked, but installed packages may still be malicious.
  • github, jira, slack, telegram, outlook: grant read and write access to external services, which means the agent's tokens for those services become reachable write paths.
  • tavily: allows only POST /search and POST /extract on maintained runtime paths; NVIDIA warns not to replace these with a broad binary rule.

During onboarding you choose a tier. Balanced is the default and adds npm, pypi, huggingface and brew-balanced. For a locked-down posture, NVIDIA recommends the Restricted tier, declining web search (which adds brave or tavily even under Restricted) and using NVIDIA Endpoints or local Ollama. Once a sandbox has personal-open-internet, NemoClaw refuses in-place removal; you create a new Balanced or Restricted sandbox instead.

Our recommendation for business use: start at Restricted, add individual presets only with a ticket that names the task, and never apply personal-open-internet on a machine that holds corporate credentials.

Operator approval of blocked requests

When the agent tries to reach an unlisted endpoint, the request is blocked and the operator is prompted in the terminal UI; openshell term monitors activity. NVIDIA documents that approvals merge into the sandbox policy as a new durable revision and persist across restarts of the same sandbox instance. Destroying and recreating the sandbox through onboarding restores the baseline.

This is a human-in-the-loop control, and it fails the way such controls usually fail: through fatigue and broad approvals. NVIDIA warns that approving a broad domain, such as a CDN, allows fetching anything from it. Practical rules:

  • Read the full host and path before approving, and decline anything you cannot tie to the current task.
  • If you approve the same endpoint repeatedly, move it into the baseline with binary and path restrictions, as NVIDIA recommends, rather than approving again.
  • Review the accumulated policy revisions on a schedule, because approvals persist and drift.
  • Re-create sandboxes periodically to reset to the baseline.

Our Human-in-the-Loop for AI Agents Guide covers approval design in more depth.

Credential custody and inference routing

NemoClaw's most important identity control is that credentials stay on the host. The overview states that inference credentials and managed MCP bearer values stay outside the sandbox, and the security guidance prefers host-brokered providers, where the agent never receives the provider key.

  • Web search keys. BRAVE_API_KEY and TAVILY_API_KEY are not written to the sandbox. The agent sends placeholders, and OpenShell substitutes the real values only on the matching policy path.
  • Cloud metadata. NemoClaw forces AWS_EC2_METADATA_DISABLED=true for OpenClaw processes. NVIDIA says not to add 169.254.169.254 to a policy or override the variable; Bedrock credentials stay in a host-local adapter.
  • Inference hosts. All inference is routed through the gateway. Adding provider hosts such as api.openai.com or api.anthropic.com to network policy bypasses credential isolation and usage tracking.
  • Sandbox-direct secrets. Use only credentials that are deliberately provisioned for the sandbox. The documentation notes that base64 or hex encoded secrets are not detected by regex scanning, so prefer environment variables or credential stores over files.

This brokered pattern is the same one we recommend for agents generally; see Secrets in Prompts vs Brokered Credentials and Runtime Secrets Injection for AI Agents Without Prompt Exposure. It does not cover tokens you hand to messaging or code hosting presets, so those still need short lifetimes, minimal scopes and a named owner.

On providers, NVIDIA groups NVIDIA Endpoints, OpenAI, Anthropic and Google Gemini as commercial APIs with pay-per-token cost risk, notes that local Ollama keeps data on the machine, and treats custom compatible endpoints as variable. The NEMOCLAW_EXPERIMENTAL=1 flag enables local NIM and managed vLLM paths, which NVIDIA says to use only for evaluation.

Gateway authentication and known limitations

Gateway authentication is enforced by OpenShell and set at image build or onboarding. Complete the normal device pairing flow for each browser or CLI device. NVIDIA notes that the legacy NEMOCLAW_DISABLE_DEVICE_AUTH input is ignored in OpenClaw 2026.9.1 and should not be relied on. For remote dashboards, use loopback access or SSH port forwarding rather than exposing the gateway.

NVIDIA documents two limitations every operator should know:

  • Launching an agent outside the managed gateway path bypasses network policy and inference authentication.
  • In the OpenShell-managed topology, the native supervisor, gateway and agent share a UID, so a same-user agent can signal peer processes. NVIDIA recommends re-creating the sandbox after a suspected compromise.

Those limits, together with the single trusted operator model, mean NemoClaw is a containment layer for one person's agent, not a fleet control plane. For enterprise use, add endpoint detection that spots unmanaged agent launches (see Detecting OpenClaw and Personal AI Agents on Corporate Endpoints), central logging of approvals and policy revisions, and an identity process for every token the agent holds.

Common failure patterns

  • Open preset on a work machine. personal-open-internet is applied for convenience on a laptop that also holds corporate SaaS tokens.
  • Rules without binaries. Endpoints are added without the binaries field, so any process in the sandbox, including one dropped by a malicious package, can use them.
  • Layer 4 rules for REST APIs. protocol: rest is omitted, so payloads to an allowed API are never inspected and any method is possible.
  • Approval drift. Months of one-off approvals accumulate as durable policy revisions that nobody reviews.
  • Inference hosts in policy. A provider host is added to network policy to fix a connection problem, putting the key path inside the sandbox.
  • Trusting agent config. Controls are expressed in mutable agent configuration under /sandbox/.openclaw that the agent itself can edit.
  • Side-loaded agents. A second copy of the agent is started outside NemoClaw-managed entrypoints and runs with no egress policy.

Practitioner checklist

  • Onboard at the Restricted tier, decline web search unless needed, and use NVIDIA Endpoints or local Ollama for inference.
  • Review every preset's YAML before applying it and record why each one is needed.
  • Set binaries, method and path rules and protocol: rest on every custom endpoint; prefer GET-only for read access.
  • Treat any change to allowed_ips as an SSRF boundary change requiring review.
  • Never add inference provider hosts or 169.254.169.254 to network policy.
  • Review accumulated approval revisions regularly, promote repeated approvals into tightly scoped baseline rules, and re-create sandboxes to reset.
  • Complete device pairing for every client and reach dashboards only through loopback or SSH forwarding.
  • Start agents only through NemoClaw-managed entrypoints and monitor endpoints for unmanaged agent processes.
  • Give every token supplied to presets such as github or slack minimal scope, a short lifetime and a named owner.
  • Re-create the sandbox after any suspected compromise.

Standards and references

Related NHI Mgmt Group resources: OpenClaw profile · Agent Egress Control and Network Isolation Guide · Human-in-the-Loop for AI Agents Guide · Secrets in Prompts vs Brokered Credentials

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.