Does Hermes Agent let an organization control what it runs without asking?
A platform or security lead deciding whether staff may run Hermes Agent needs to know that the open-source release ships with approval modes, a hardline blocklist and terminal sandbox backends, but the sources do not describe an enterprise edition or a centrally enforced admin policy. The controls that govern what the agent runs without asking are per-installation settings. A user or operator with access to the configuration can change them, so the organization cannot rely on them as a fixed enterprise control unless its own deployment enforces them.
The main setting is approvals.mode, which defaults to smart. In that mode an auxiliary LLM auto-approves commands it judges low risk and auto-denies dangerous ones, so the decision about what runs is partly delegated to a model. The other values are manual and off. Approval prompts time out after 300 seconds by default and are then denied. Unattended cron, single-query and webhook or API sessions deny dangerous commands by default. YOLO mode, enabled with hermes --yolo or HERMES_YOLO_MODE=1, skips approval prompts, and the hardline blocklist still applies in that mode. Confirm with the vendor which of these settings can be locked by an administrator and whether any such lock survives a local override.
The reviewer must decide whether host-level isolation is required. The docs say dangerous-command checks are skipped on the docker, modal, daytona and vercel_sandbox backends because the container is treated as the boundary. The security policy adds that terminal-backend isolation covers shell and file tools only, while code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process. The security policy also states that the only boundary against an adversarial LLM is the operating system. If staff will run the agent on a workstation or shared host with the local backend, plan for OS-level separation such as a dedicated account, a container or a virtual machine, and test that the isolation covers the paths the agent actually uses. Review the Hermes Agent security docs before setting a policy.
What YOLO mode skips and what it never skips
YOLO mode changes one control: whether a person is asked before a command runs. The cards below separate what that switch removes from what stays in force, and the settings and host questions a reviewer should settle before anyone turns it on. Each item affects who can remove the human check on a given machine.
How YOLO mode is switched on
YOLO mode is enabled with the hermes --yolo flag or the HERMES_YOLO_MODE=1 environment variable. Either one skips approval prompts for the session or process that uses it. Because it is a launch-time flag or an environment variable, it can be set by anyone who controls the shell profile, a service unit or a wrapper script. Ask which of these paths your staff can change, and whether any shared automation sets the variable by default.
Approval prompts are skipped
With YOLO mode on, commands that would normally wait for an approval decision run without one. The approval mode, which defaults to smart, no longer gets a say for those commands. The reviewer should treat YOLO mode as a change in who decides, moving the decision from a person or the auxiliary model to nobody. Confirm which sessions in your environment would run with it.
The hardline blocklist still applies
The always-on hardline blocklist stays active under YOLO mode. The security documentation gives rm -rf / and fork bombs as examples of commands it covers. This is a fixed list of destructive patterns, not a general policy. It does not cover every harmful command, so the blocklist should not be read as the boundary for data exfiltration, credential use or changes inside a user's home directory.
Who may set the flags on shared hosts
On a shared host, any local user who can run Hermes Agent may be able to enable YOLO mode for their own sessions. Hermes Agent is documented as a single-tenant personal agent, so one host should not serve several people who expect separate trust levels. Confirm which accounts run the agent, who controls their environment, and whether the host's configuration can be locked so the flag cannot be set by the operator.
SECURITY.mdUser-level settings can remove the human check
Because YOLO mode is a user-level choice rather than a central policy, a single user can remove the human approval step for every command their session runs. Nothing in the documented controls prevents this from being set, so the reviewer must decide whether that is acceptable. Ask whether your organization has a documented rule that forbids YOLO mode on managed hosts, and how you would detect a session that has it enabled.
- Default approval timeout
- 300 seconds
What each sandbox backend isolates and what it leaves open
The local backend runs shell commands directly on the host as the operating system user that started Hermes Agent. Nothing is placed between the agent and that account beyond the approval layer, so the host user's file access, network reach and stored credentials are what the agent can use. Approval modes, the hardline blocklist and protected path rules all apply here because they are the only controls in front of the host.
- No container boundary: Commands run as the host user, so anything that user can read or write is in scope.
- Approval layer applies: The
approvals.modesetting and the always-on hardline blocklist govern commands before they run. - Protected paths still block writes:
write_fileandpatchrefuse protected locations such as~/.ssh/,~/.aws/and~/.kube/. - Scope limits are host-wide: Confirm which directories and credentials exist under the service account before enabling this backend.
- Dedicated account recommended: Ask which OS account runs the agent and what it can reach.
Before approving this backend, confirm the service account holds no standing cloud or database credentials and that filesystem permissions match the work the agent is meant to do.
The Docker backend runs shell and file tools inside a container with hardening flags applied. The documentation says dangerous-command checks are skipped on this backend because the container is treated as the boundary, so the container configuration and what is mounted into it carry the risk. Code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process, so the container does not cover them.
- Capabilities dropped: The container runs with
--cap-drop ALLandno-new-privileges. - Process limit: A pids limit of 256 applies by default.
- Default resources: The documented defaults are 1 CPU and 5120 MB of memory.
- Checks skipped: Dangerous-command checks do not run inside this backend, so the container is the control.
- Mounts decide exposure: Any host path or credential mounted into the container becomes reachable.
Before approving this backend, check every volume mount and environment variable passed into the container, and confirm that the host-side components the container does not cover are governed separately.
The Modal, Daytona and Vercel Sandbox backends move shell and file tools into a remote sandbox provided by a third party. As with Docker, the documentation treats the sandbox as the boundary and skips dangerous-command checks there. The isolation properties, data residency and retention of anything the agent sends or writes depend on the sandbox provider, so the provider's terms become part of the security review.
- Vendor-defined boundary: The isolation model belongs to each provider and is not described in the Hermes Agent documentation.
- Checks skipped: Dangerous-command checks do not run on these backends.
- Data leaves the host: Code, files and tool output processed in the sandbox are handled by the provider.
- Credentials need review: Confirm which secrets are passed into the remote sandbox and how they are revoked.
- Terms and region: Ask each provider where sandboxes run, how long data is kept and whether it is used for training.
Before approving a cloud backend, obtain each provider's current isolation, retention and data location documentation and record them in the approval file.
The SSH backend runs commands on a remote machine that the agent reaches over a connection, so the isolation level is that of the target host and its account. The repository also lists plugin backends such as Singularity and Apptainer. The supplied facts do not describe how these backends isolate commands, what checks apply to them or whether dangerous-command checks run, so their security posture must be confirmed with the project and the backend owner before use.
- Target host sets the boundary: SSH access inherits the remote account's privileges and network reach.
- Key handling matters: Confirm where SSH keys are stored and whether they are scoped to a single host.
- Plugin behavior is unverified here: Ask whether dangerous-command checks run on Singularity and Apptainer.
- Plugins run in the host process: Plugin code is not contained by the terminal backend.
- Vendor confirmation: Obtain written statements from the project and plugin maintainers on isolation and logging.
Before approving either group, test the exact configuration in a non-production environment and confirm the isolation claims in writing.
Why code execution, MCP and plugins run outside the sandbox
The sandbox backend covers only the shell and file tools. Hermes Agent's SECURITY.md states that terminal-backend isolation applies to shell and file tools only. Code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process. Choosing the Docker, Modal, Daytona or Vercel Sandbox backend therefore does not move an MCP server you connect, a plugin you install or a skill you load into a container. Before approving a deployment, ask the vendor or the project to show, for each extension type, which process it runs in and which user, network and filesystem permissions that process holds.
The design follows from the project's trust model. SECURITY.md describes Hermes Agent as a single-tenant personal agent and says the operating system is the only security boundary against an adversarial LLM. The consequence for your architecture is that the host running the agent is the perimeter. Any credential the agent process can read, any SSH key or cloud profile in the user's home directory, and any network route it can reach should be treated as reachable by code the agent runs, including code pulled in through a plugin or MCP server. Confirm which files and secrets the agent user can read on the host before any extension is enabled.
Plan the controls around that boundary rather than around the sandbox setting. Run the agent under a dedicated operating system account with minimal filesystem rights, keep one agent instance per user, restrict egress at the network layer, and review every MCP server, plugin, hook and skill as code with host-level access. Treat the approval settings described in this page as heuristic guardrails, not containment. Ask any vendor you rely on for the Hermes Agent deployment whether they support isolating extensions in their own process or container, and record the answer in the approval file.
Gaps a security reviewer must close before approval
Hermes Agent's own security policy describes a single-tenant personal agent, and its approval and isolation controls are not presented as containment against an adversarial model. The cards below name the gaps a reviewer should expect, along with the compensating controls an organization usually adds around the tool rather than relying on the tool to supply them.
No documented enterprise edition
The Hermes Agent repository promotes Nous Portal, a subscription for models and a Tool Gateway, and does not describe an enterprise edition with central policy push. Each installation sets its own approval mode, backend and environment variables, so settings can drift between staff machines. Ask the vendor whether any managed configuration exists, and plan for configuration baselines enforced by your own endpoint management and version control.
RepositoryHeuristic approvals are not containment
The default approvals.mode of smart uses an auxiliary LLM to approve low-risk commands and deny dangerous ones. That decision is itself model-assisted, so a reviewer should treat it as a convenience filter. A common compensating control is to run the agent under an OS account with no write access to sensitive paths and to require human review for any command class your policy marks as high risk.
Container backends skip command checks
Dangerous-command checks are skipped on the docker, modal, daytona and vercel_sandbox backends because the container is treated as the boundary. Any safety depends on how that container is configured on your host, including mounts, network reach and credentials passed in. Dedicated host isolation, restricted bind mounts and egress filtering at the network layer are the controls most reviewers ask to see documented.
Backend detailsCode and plugins run on the host
Terminal-backend isolation covers shell and file tools only. Code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process, so a sandbox backend does not cover them. Before approval, confirm which MCP servers, plugins and skills are permitted, pin their versions, and run the agent process under a dedicated low-privilege account with its own network policy.
SECURITY.mdDisclosure without a bug bounty
Vulnerabilities are reported privately through GitHub security advisories, the project runs no bug bounty, and the coordinated disclosure window is 90 days or until a fix ships. A procurement file should record who on your side monitors the advisories, how quickly you can patch or pin a release, and whether your incident process covers a flaw found in the agent process itself.
Disclosure policyAudit logging depends on collection
The security materials reviewed here do not establish a complete audit trail of approvals, denials and executed commands that an organization can rely on without its own collection. Ask the vendor exactly which events are written locally and in what format. Then send shell activity, approval outcomes and gateway messages to your central log platform with retention matched to your policy.
Order of work before a permissions review can pass
This sequence moves from deployment boundaries to approval settings, sandbox testing, file protections and records, so the reviewer sees evidence for each control on the real hosts staff will use. It ends with a retest plan so the approval decision still holds after an upgrade.
Define the single-tenant boundary for each host
The platform or security owner records which people, accounts and credentials each Hermes Agent deployment serves, and which host it runs on. Hermes Agent's own security policy describes it as a single-tenant personal agent and names the operating system as the only security boundary against an adversarial model, so a shared host or shared messaging gateway must be treated as a separate design decision. The step is done when every deployment has a named owner, a host inventory entry and a written statement that no other tenant shares its process, files or credentials.
Set the approval mode and confirm YOLO is off
The reviewer confirms the value of approvals.mode in each configuration, which the security documentation says defaults to smart, and records whether the policy allows manual or off instead. Smart mode relies on an auxiliary LLM to approve low-risk commands and deny dangerous ones, so the reviewer should decide whether that judgment is acceptable for the data on the host. Check that YOLO mode, set by the --yolo flag or the HERMES_YOLO_MODE variable, is blocked by configuration or launch policy, and test that a launch with the flag is refused or logged. Done when the approved mode and the YOLO check appear in the review file with the test result.
Test the sandbox backend against real tasks
The platform team runs the terminal backend that staff will use, such as local, Docker, SSH or a cloud sandbox, through the commands and file operations they expect in their daily work. The security documentation states that dangerous-command checks are skipped on the docker, modal, daytona and vercel_sandbox backends because the container is treated as the boundary, so the test must prove that boundary holds for those tasks. Confirm the Docker backend's reported settings, including the dropped capabilities, no-new-privileges, the pids limit and default CPU and memory limits, are present on the running container. Done when a written test log shows each task, the backend used and the observed result.
Verify protected paths and safe write roots
On each real host, the reviewer attempts writes through the write_file and patch tools to protected locations such as ~/.ssh/, ~/.aws/ and ~/.kube/, which the documentation says are always blocked. The team then sets HERMES_WRITE_SAFE_ROOT to the directories staff actually need and confirms writes outside those roots fail. Note that these are heuristic file controls, so the reviewer should also check which credentials and configuration files exist in the agent's user account. Done when the blocked and allowed write attempts, with their output, are saved next to the host record.
Confirm code execution, MCP and plugins are scoped
The security policy states that terminal-backend isolation covers shell and file tools only, while code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process. The security owner inventories every MCP server, plugin, hook and skill enabled on each deployment, records the account each one runs under, and checks what host resources it can reach. Ask the vendor or project to confirm any scoping option not described in the documentation before relying on it. Done when the inventory lists each extension with its owner, its network and file access, and an approval decision.
Collect command and approval records
The logging owner decides where approval decisions, denied commands and timeouts are retained, and confirms the agent writes them to a location that the operators cannot silently edit. Approval prompts time out after 300 seconds by default and are then denied, and cron, single-query and unattended webhook or API sessions deny dangerous commands by default, so those denials should appear in the records too. Run a sample of approved, denied and timed-out commands and confirm each appears with a timestamp, the session type and the decision. Done when the sample log is reviewed and the retention period is written into the approval record.
Re-test after every upgrade
Before each upgrade to Hermes Agent or to a sandbox image, the platform team repeats the approval mode check, the YOLO check, the sandbox tests, the protected path and write root tests and the extension inventory. Track upgrades through the project's GitHub repository, and check its security policy for any fix or advisory that affects the controls under review. Ask the project and the vendor to confirm what changed in each release that touches approvals, sandboxing or file tools. Done when the retest results are attached to the change record and the reviewer confirms that the approval decision still applies to the new version.
What a security reviewer asks to see for command controls
This table lists the configuration evidence a reviewer should request for Hermes Agent command controls, where each item is documented, and what it proves. Read each row as a question to answer in the target environment, not as a default that holds everywhere. The main takeaway is that approval settings and the backend choice together decide whether a command is screened by a rule or contained by a boundary.
| Evidence item | What it shows | Where it comes from in Hermes Agent |
|---|---|---|
| Approval mode configuration | Whether approvals.mode is smart, manual or off, and whether the deployed value matches the approved baseline | Security docs: approvals.mode setting and its smart default |
| YOLO mode status | Whether hermes --yolo or HERMES_YOLO_MODE=1 is set in any launch script, service unit or container environment | Security docs: YOLO mode section and the hardline blocklist note |
| Blocklist behavior | Proof that hardline commands such as rm -rf / and fork bombs are still refused when approvals are bypassed | Security docs: always-on hardline blocklist |
| Timeout and unattended denial | How long an approval prompt waits before denial, and that cron, single-query and webhook or API sessions deny dangerous commands | Security docs: approval timeout and unattended session defaults |
| Backend selection | Which terminal backend runs shell and file tools (local, docker, ssh, modal, daytona or vercel_sandbox) for each deployment | Security docs: backend settings; SECURITY.md on backend scope |
| Docker runtime flags | Presence of --cap-drop ALL, no-new-privileges, the 256 pids limit and the 1 CPU and 5120 MB memory defaults | Security docs: Docker backend runtime settings |
| Protected paths and safe root | Blocking of write_file and patch on paths such as ~/.ssh/, ~/.aws/ and ~/.kube/, and whether HERMES_WRITE_SAFE_ROOT restricts writes | Security docs: protected paths and HERMES_WRITE_SAFE_ROOT |
| Security boundary statement | That the project treats the operating system as the only boundary against an adversarial LLM and that backend isolation covers shell and file tools only | SECURITY.md: single-tenant scope and backend isolation statement |
Questions buyers ask before approving Hermes Agent command controls
Does Hermes Agent have an enterprise edition, and what does it cost?
No enterprise edition of Hermes Agent is documented in the project's public repository as of November 2026, and no price for one is published. The repository promotes Nous Portal, a subscription that bundles access to 300+ models and a Tool Gateway, which is a separate product from the open-source agent. Before budgeting, ask Nous Research in writing whether any commercial edition, support tier or indemnity exists, and confirm that the scope you approve is the open-source release under the MIT license. Any paid model access or inference charges are separate costs from the agent itself, and they recur with usage. Hermes Agent is an open-source platform, so the software license itself carries no fee; your costs come from hosting, model access and the internal or external work to configure and review it.
Can admins force a single approval mode across all users?
The documented approval settings are per agent configuration, and the security docs do not describe a central policy that locks approvals.mode for every user. The documented default is smart, which uses an auxiliary LLM to approve low-risk commands and deny dangerous ones, with manual and off as the other values. Hermes Agent's own security policy describes it as a single-tenant personal agent, so a shared deployment does not inherit enterprise-wide enforcement. Confirm with the project how configuration is distributed and whether a user can override the mode, and test it on your own host before relying on it. If enforcement is required, plan for it at the operating system or deployment layer, outside the agent.
Does running Hermes Agent in Docker make it safe?
Running Hermes Agent in Docker reduces the blast radius, but it does not make the agent safe by itself. The Docker backend runs with --cap-drop ALL, no-new-privileges and a pids limit of 256, with default limits of 1 CPU and 5120 MB of memory. Dangerous-command checks are skipped on the Docker backend because the container is treated as the boundary, so the container configuration, mounted volumes and network access carry the risk. The project's security policy also states that backend isolation covers shell and file tools only, while code execution, MCP subprocesses, plugins, hooks and skill loading still run in the host agent process. Review what the container can reach, and confirm that those host-side components are controlled separately.
How long does a rollout review take, and what drives that time?
No review duration for Hermes Agent is documented, so treat any timeline as something to agree in writing rather than assume. The main drivers are the chosen backend (local, Docker, SSH, Modal, Daytona or Vercel Sandbox), whether the agent connects to messaging gateways such as Telegram, Discord, Slack, WhatsApp or Signal, which users and data sources it touches, and whether skills, plugins or MCP servers are added. Each added integration widens the review, because host-side components sit outside backend isolation. Reviews also slow when security teams must test approval behavior, unattended cron or webhook sessions and credential exposure. A fixed-scope engagement, with scope and deliverables agreed in writing before work starts, lets the timeline follow the defined boundary.
Can our own team configure these controls, or do we need outside help?
Your team can configure these controls if it has engineers who can read the Hermes Agent security documentation, test each backend and verify host-side behavior. The approval modes, YOLO mode, the hardline blocklist, protected paths and HERMES_WRITE_SAFE_ROOT are all testable, and the vendor's security policy describes what the agent does not contain. Outside help is most useful where the review needs independent testing, such as checking whether approvals and protected paths hold under adversarial prompts, reviewing container and host configuration, or preparing evidence for a compliance assessment. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms in the client's own infrastructure, and runs security testing that includes AI systems and agents. It does not issue audit reports or certifications; independent auditors do. Most engagements are fixed-scope, and ongoing testing is available as a retainer.
How DeployOpen tests Hermes Agent permissions before rollout
DeployOpen plans, implements and tests self-hosted open-source platforms inside the client's own infrastructure, including AI agent security testing. For Hermes Agent, that means checking approval modes, the hardline blocklist, protected paths and each sandbox backend against the boundaries the project itself documents.
How we scope
- Engagements are fixed-scope, with the permission modes, backends and hosts covered agreed in writing before work starts.
- Scope names which terminal backends are in use, such as local, Docker or a cloud sandbox, since each isolates different things.
- Ongoing support, upgrades and continuous testing are available as a retainer once the initial rollout is complete.
How we build
- Approval settings, YOLO mode and HERMES_WRITE_SAFE_ROOT are configured and recorded in the client's own environment.
- Protected path rules and the Docker backend limits are checked against the security documentation before any staff use.
- Code execution, MCP subprocesses, plugins, hooks and skill loading are reviewed separately, since sandbox backends do not cover them.
How we hand over
- Deliverables include a written record of the permission configuration, the backends in use and the isolation each one provides.
- Documentation lists which commands run without prompts, which are denied by default and which paths stay protected.
- Your team receives findings on residual risk, with the decisions that remain for your security owners to accept or restrict.
How we support
- Retainers cover configuration reviews when Hermes Agent versions change approval behavior or backend options.
- Security testing can be repeated against new workflows, new backends or new skills before those changes reach staff.
- Support questions are answered against the written scope, so changes to permissions are tracked in the same record.

