Nous Research's Hermes Agent Gets OpenShell Sandboxing to Stop Credential Theft
Nous Research's new OpenShell plugin wraps Hermes Agent in an OS-enforced sandbox, keeping API keys masked and file access tightly scoped per profile.
Takeaways
- Nous Research released an official OpenShell plugin that sandboxes Hermes Agent profiles.
- API keys stay on the host; the sandbox only sees placeholders, swapped in by a proxy per destination.
- Filesystem and website access is allowlist-only, with in-chat Allow / Deny approval cards.
- Beta on Windows 11 (MXC containers) and Linux (Docker) on x64 and arm64; no macOS yet.
- Requires Hermes v0.23.6+ and a non-default profile with at least 64K context window.
- Switch-off review shows every cron, script and hook changed, with per-item revert or keep.
Nous Research has released an official OpenShell plugin that runs a Hermes Agent profile inside an isolated runtime. Developers can restrict the profile’s filesystem access, network destinations, and credentials without applying the same policy to every Hermes workload.
Hermes profiles bundle an agent’s conversations, tools, terminal sessions, and configuration. Sandboxing one profile places its backend processes behind a separate security boundary while leaving other profiles unchanged. This limits the damage that prompt injection, unsafe tool output, or generated shell commands can cause.
Nous announced the plugin during an NVIDIA developer community livestream at GTC DC. Nous CTO Emozilla demonstrated its process isolation and credential controls. The beta packages work that Nous and NVIDIA began around Computex with DGX Spark and the OpenShell runtime.
One profile, one boundary
OpenShell is an open-source runtime that applies policy through operating-system and container controls outside the model’s decision loop. After sandboxing is enabled, the selected profile’s tools and terminal can reach only approved directories and network destinations.
Policy remains scoped to that profile. A developer can create separate environments for production access, research, or untrusted browsing, then assign each one a narrower set of permissions.
Secrets stay behind the proxy
A host-side launcher starts the sandbox as a login service and keeps raw credentials outside it. Processes inside the sandbox receive placeholders, while OpenShell’s outbound proxy adds the real credential only when a request matches the provider and destination associated with that secret.
A prompt-injected process therefore cannot read an API key from its environment and print or transmit it directly. The proxy still permits authorized API calls, so rate limits, provider permissions, and spending controls remain necessary.
Compatibility has hard limits
The current plugin listing supports Windows 11 and Linux on x64 and arm64 systems. macOS remains unsupported despite appearing in the launch announcement.
| Component | Requirement | Isolation method |
|---|---|---|
| Windows 11 | Version 24H2 or later with the September 2026 update | Microsoft MXC process containers |
| Linux | Kernel 6.2 or later, glibc, Docker, and a systemd user session | Docker containers |
| Hermes Agent | Version 0.23.6 or later, a non-default profile, and a context window of at least 64K tokens | Per-profile OpenShell runtime |
The Windows update requirement is especially restrictive because earlier Windows 11 builds do not satisfy the plugin’s stated prerequisites. Developers should check the Marketplace listing against the target machine before deployment.
Four commands to start
Installation creates a dedicated profile, enables the plugin, installs its runtime, and checks the environment:
hermes profile create work --clone
hermes -p work plugins install NousResearch/hermes-nvidia/openshell --enable
hermes -p work sandbox runtime install
hermes -p work sandbox check
The cloned work profile can then be isolated with hermes -p work sandbox on and restored with hermes -p work sandbox off. Hermes Desktop exposes the same controls on its Sandbox page.
The Marketplace lists the plugin as version 0.1.0, licensed under MIT, available at no cost, and in beta. Those labels matter for teams that require stable interfaces, support commitments, or audited multi-user isolation.
Approvals become policy
When Hermes requests an unapproved directory or website, OpenShell blocks the operation and displays a chat card with Allow, Always allow, and Deny controls. A one-time approval permits the current request, while a persistent approval expands that profile’s policy.
This workflow lets developers build an allowlist while observing actual agent behavior. Earlier integrations such as HermesClaw relied more heavily on policy written in YAML before execution.
Disabling the sandbox also opens a review step. The Sandbox page lists cron jobs, scripts, hooks, and shell configuration that Hermes added or modified during the session, with per-item controls to retain or revert each change.
Smaller blast radius, clear limits
Shell-enabled agents combine several powerful capabilities: reading local files, executing generated commands, browsing untrusted content, and calling external services with developer credentials. A malicious webpage or poisoned tool response can steer those capabilities toward code execution, data theft, or unauthorized API use.
OpenShell places enforceable controls beneath the agent. Windows uses MXC process containers, Linux uses Docker, filesystem access follows an explicit policy, and credentials pass through a destination-aware proxy. These controls continue to apply when the model misunderstands or disregards an instruction.
The remaining limits shape its appropriate use:
- An agent can read any file covered by an approved path.
- Sensitive data can still be sent to an allowed destination.
- Hidden credentials can still power harmful or expensive requests to their authorized providers.
- The host launcher, proxy, container runtime, and operating system remain trusted components.
- The beta targets single-user development workflows rather than mature multi-tenant isolation.
For developers running Hermes with production credentials, separate sandboxed profiles provide a concrete way to narrow access and review persistent changes. The plugin reduces exposure while preserving the terminal and tool access that make the agent useful.