Is Hermes Agent safe? For one person who updates it and keeps its guardrails on, mostly yes. Hermes Agent is Nous Research's MIT-licensed agent, and it can run shell commands, edit files and drive a browser with your permissions. Its approval gate asks before dangerous commands, but YOLO mode skips that, and more than 40 CVEs have been filed against the project. Run commands in a container.
“Safe” covers several different questions. Is the installer trustworthy? Where do prompts and files go? What stops the agent from damaging the machine it runs on? Which bugs have been found, and are they fixed? And does any of it hold when a company puts the agent in front of real accounts and data? This guide takes them one at a time.
Our evidence is the Hermes Agent repository, its security policy, documentation and install script, the US National Vulnerability Database and the GitHub Advisory Database, all checked on 23 November 2026. The current stable release that day was v0.23.3, published on 20 November. For the organisational controls this guide keeps pointing towards, our handbook on governing and securing AI agents sets them out in one place.
Is Hermes Agent safe to use? The verdict by setup
| Setup | Verdict | Why |
|---|---|---|
Current release, local backend, default smart approvals, one operator | Acceptable for personal work | Dangerous commands are screened, but everything runs as your user |
approvals.mode: manual plus the Docker or SSH backend | The safer personal setup | You see every flagged command, and shell commands run away from your files |
YOLO mode (--yolo, /yolo or approvals.mode: off) on your own laptop | Risky | Only the hard blocklist remains between the model and your machine |
Messaging gateway with GATEWAY_ALLOW_ALL_USERS=true | Unsafe | Anyone who can message the bot can drive your agent |
Dashboard or API server bound to 0.0.0.0 | Unsafe without a proxy | Exposure becomes your responsibility under the security policy |
| Community skills and plugins installed without reading them | Risky | Skills can run Python at import time; plugins get full agent privileges |
| Old release, especially before v0.17.0 | Update first | Several high-severity bugs were fixed in 2026 releases |
| One instance shared by a team | Needs more than Hermes | No per-user permissions, no audit trail, profiles are not tenants |
What Hermes Agent is, and what it can reach on your machine
Hermes Agent is an open-source agent from Nous Research, published on GitHub as NousResearch/hermes-agent under the MIT licence, with about 266,000 stars when we checked. You talk to it from a terminal UI, a desktop app, or a gateway that connects chat platforms such as Telegram, Discord, Slack and WhatsApp. It learns as it works: it writes reusable skills after complex tasks and keeps memory files about you and your projects.
What matters for safety is its reach. The built-in tool registry covers:
- Shell commands through a terminal tool, plus a code execution tool for Python scripts.
- Files through read, write and patch tools.
- The web through search, page extraction and full browser automation, and a computer-use feature that operates a desktop.
- Memory and skills that the agent writes and edits itself, by default without asking.
- MCP servers, scheduled jobs and subagents that work in parallel.
By default the terminal runs on the host, as your user account. In the words of the security policy, the agent’s trust envelope is typically “whatever the operator’s own user account can reach on the host”. So the honest framing is not whether Hermes is malicious, since the code is public and widely reviewed, but what a model that has misunderstood you, or read a hostile web page, could do with that access.
Hermes Agent also reads credentials from other tools. The setting auth.adopt_external_logins defaults to true, which lets Hermes read and refresh the Codex CLI and Claude Code logins on the same machine. Set it to false if you do not want that.
Is Hermes Agent safe to install?
The documented install is a one-line script from hermes-agent.nousresearch.com, piped into bash. We read the script on 23 November 2026. It:
- clones
github.com/NousResearch/hermes-agentand checks out the latest published stable release, unless you pass--channel mainor a specific commit; - downloads a pinned version of the
uvpackage manager and verifies its SHA-256 digest before using it, with a Nous-hosted mirror as fallback; - installs into
~/.hermes/hermes-agentand keeps state in~/.hermes; - appends a line to your shell start-up files so
~/.local/binis on your PATH; - on minimal Linux hosts, may ask for sudo to install a system library that the bundled Node.js runtime needs;
- installs browser tooling unless you pass
--skip-browser, and computer-use helpers unless you pass--skip-computer-use.
That is a careful installer by the standards of curl-pipe-bash scripts, but on a managed machine the right move is still to download it, read it and run it as a file. The skip flags are worth using if you do not need browser or desktop control: every capability you leave out is one less thing a confused model can use.
Where your data goes when you use Hermes Agent
Hermes Agent’s FAQ is direct: API calls go only to the LLM provider you configure, the agent collects no telemetry, usage data or analytics, and conversations, memory and skills are stored locally in ~/.hermes/. That is the core answer. In a real setup, more destinations appear:
| What | Where it goes |
|---|---|
| Your prompts, files the agent reads, tool results | The main model provider you chose: a hosted API, Nous Portal, or a local server |
| Context compression, vision and other side tasks | The auxiliary model settings, which can name a different provider; provider: "auto" picks one for you |
Commands screened by smart approval mode | An auxiliary model, which rates their risk |
| Web search, page extraction, browser sessions | The sites and search backend the agent uses |
| MCP tool calls | Each MCP server you connect, local or remote |
| Messages over the gateway | The chat platform: Telegram, Slack, WhatsApp and so on |
| Hermes Cloud | Runs the agent itself on Nous infrastructure |
One feature the FAQ does not cover: Hermes has an opt-in shared-metrics feature. When you turn on both collection and sending, it uploads aggregated usage counts to a Nous telemetry service; its developer documentation says prompts, responses and endpoints are excluded, and both settings are off unless you enable them.
If prompts must stay on your hardware, setting a local main model is not enough on its own. Check every auxiliary entry, leave web tools off for confidential work, and connect only MCP servers you run yourself.
Is Hermes Agent safe to run locally with your own model?
Yes, and it is the most private way to use it. Hermes points at any OpenAI-compatible endpoint, so Ollama, vLLM, llama.cpp’s server and LM Studio all work, and the FAQ sets a minimum context length of 64,000 tokens for agent work. Our step-by-step local setup guide covers the configuration.
Two cautions apply:
- Local inference is not local containment. A small local model may follow instructions buried in a web page or a repository file more readily than a frontier model, and on the
localbackend its commands still run as you. - Your model server needs its own protection. An Ollama or vLLM server left open on the network is a separate risk, covered in our Ollama safety review.
Approvals, YOLO mode and the hard blocklist
Before running a shell command, Hermes checks it against a list of dangerous patterns, such as recursive deletes, writes to /etc/, disk operations and piping downloads into a shell. What happens next depends on approvals.mode:
| Mode | Behaviour |
|---|---|
smart (default) | An auxiliary model rates risk: low-risk commands run, dangerous ones are denied, uncertain ones ask you |
manual | Every flagged command asks you |
off | No prompts, the same as YOLO mode |
Several defaults are sensible. Unanswered prompts are denied after 300 seconds. Scheduled, single-query and unattended runs deny dangerous commands instead of waiting. A hardline blocklist, covering commands such as rm -rf /, fork bombs and zeroing a disk, applies even in YOLO mode. The write_file and patch tools refuse to write to credential paths such as SSH keys, ~/.aws/ and ~/.kube/, and to Hermes’s own secret stores, including its .env file. You can add your own never-run patterns under approvals.deny, and checkpoints.enabled: true snapshots files before destructive operations so /rollback can undo them.
The limits are spelled out by Nous Research itself. The security policy says the approval gate “catches cooperative-mode mistakes, not adversarial output”, because a denylist over shell strings can never be complete. The file-write guards cover only the file tools; the terminal tool runs as the same user and can still reach those paths. Deny rules, in the documentation’s words, guard against an honest-but-wrong agent, not a deliberately hostile process.
YOLO mode deserves a specific warning. On 23 July 2026, Hunt.io reported an intrusion into Thailand’s Ministry of Finance in which the attacker ran Hermes Agent in unattended or YOLO mode, without approval prompts, to automate reconnaissance and privilege-escalation checks. That was misuse of the software, not a flaw in it, but it shows how much an agent does on its own once approvals are off.
Sandboxing: container backends and whole-process isolation
The security policy names one boundary as load-bearing: “The only security boundary against an adversarial LLM is the operating system.” It describes two ways to use it.
Terminal-backend isolation. A non-default backend runs shell commands, and the file tools built on them, inside a container, a remote host or a cloud sandbox. The Docker backend drops all Linux capabilities and adds back only three, sets no-new-privileges, caps the container at 256 processes and forwards no environment variables unless you list them. Because the container is treated as the boundary, dangerous-command checks are skipped on the Docker, Modal, Daytona and Vercel backends, while local and ssh still prompt.
Whole-process wrapping. Terminal backends do not confine what runs inside the agent’s own Python process: the code execution tool, MCP subprocesses, plugins, hooks and skill loading. For that, the policy points to running the entire agent in Hermes’s own Docker setup or under NVIDIA OpenShell, and calls this “the supported posture” when the agent reads content you do not control, such as the open web, inbound email, multi-user channels or untrusted MCP servers.
That distinction is the most useful thing in this guide. If your agent browses the web or reads email, a Docker terminal backend alone is not the posture its maintainers support; wrap the whole process. Our guide to isolating agents that execute code compares containers, gVisor and microVMs.
Published Hermes Agent vulnerabilities, with dates
A keyword search of the National Vulnerability Database on 23 November 2026 returned 46 entries for Hermes Agent, 45 of them about the agent itself. Most were filed through VulDB and rated low or medium, and NVD had not analysed them, marking them Deferred. The GitHub Advisory Database lists 10 reviewed advisories for the hermes-agent Python package, and on 19 November 2026 the project published its first and so far only advisory in its own repository. These are the most serious entries:
| CVE | Published | What it is | Fixed in |
|---|---|---|---|
| CVE-2026-53869 | 17 Jun 2026 | DNS rebinding on WebSocket endpoints, including the terminal endpoint; a web page could send commands or read output | 0.16.0 |
| CVE-2026-53870 | 17 Jun 2026 | Response store and webhook files created world-readable, exposing conversation history and HMAC secrets to other local users | 0.16.0 |
| CVE-2026-82020 | 28 Aug 2026 | Crafted message content could make the file-write tool overwrite the credential store, bypassing the sensitive-path guard | 0.17.0 |
| CVE-2026-82021 | 28 Aug 2026 | The bundled MCP catalogue referenced an upstream repository by mutable branch, so compromising it could run code on every installing host (critical, 9.0) | 0.19.0 |
| CVE-2026-71963 | 3 Sep 2026 | A malicious repository’s .git/config could run a command when the agent refreshed git status, exposing provider API keys | Affected 0.18.2 to 0.21.0; fixed in commit f6234d0 |
| CVE-2026-114463 | 21 Oct 2026 | Webhook route names containing a colon could resolve to a higher-privileged route’s toolsets | 0.22.2 |
| CVE-2026-130164 (GHSA-p22p-9ph6-gmrh) | 19 Nov 2026 | With Bot Desktop inside a Docker or SSH backend, code in the sandbox could set environment variables for processes on the host and run code there (high, 7.8) | 0.23.2 |
Three patterns stand out.
Sandbox edges are where the serious bugs are. The newest advisory is a sandbox escape, and the git and credential-store bugs both turned content the agent read into actions it took. The fixes are real, but the lesson matches the security policy: assume something will get through, and limit what that something can reach.
Supply chain shows up in the agent’s own catalogue. CVE-2026-82021 was not about third-party skills you chose, but about a catalogue entry Hermes shipped. Hermes now runs a supply-chain advisory check at CLI start-up, in hermes doctor and when the gateway starts.
Version numbers are messy. Several NVD entries name date-style versions such as 2026.4.30, because earlier releases also carried tags like v2026.6.19. If you run an older build, compare dates as well as version numbers. On 23 November 2026 every fix listed above was included in v0.23.3.
Skills, plugins and MCP servers: the supply-chain risk
Hermes is designed to grow by adding things, and each addition is code or instructions you did not write.
Skills. Hermes installs skills from several sources: official optional skills, GitHub repositories, URLs, and community marketplaces including ClawHub, LobeHub and browse.sh. Every hub install goes through a security scanner that looks for exfiltration, prompt injection, destructive commands and supply-chain signals; --force can override caution-level findings but not a dangerous verdict, and an optional NVIDIA SkillEvaluator scan can add a second opinion. The security policy is still clear that scanning is a review aid: reviewing a skill means reading its Python and scripts, not only its SKILL.md, because “skills execute arbitrary Python at import time”. ClawHub was the registry targeted by OpenClaw’s malicious-skill campaign, so treat anything from it with the care our OpenClaw risk review describes.
Self-written skills and memory. By default the agent writes skills and memory freely, including from a background review after each turn. A model that absorbed a hostile instruction could save it for later sessions. Setting skills.write_approval: true and memory.write_approval: true stages those writes for your approval.
Plugins. Plugins load into the agent process with full agent privileges: the same credentials, tools and hooks. The policy says plainly that a malicious plugin is not a Hermes vulnerability; the boundary is your review before installing.
MCP servers. Stdio MCP servers receive a filtered environment without your provider keys, which reduces casual leakage, but they run as processes on your machine. The Model Context Protocol explainer covers how the protocol works; the practical rule is to connect only servers you would run as ordinary software.
Is Hermes Agent safer than OpenClaw?
On defaults, Hermes is the more cautious of the two. On track record, the picture is harder to read.
| Hermes Agent | OpenClaw | |
|---|---|---|
| Host commands for the operator | Screened by smart approvals by default | Run without prompts by default (security="full", ask="off") |
| Command sandbox | Opt-in container, SSH or serverless backends | Off by default; Docker, Podman, SSH, OpenShell and Crabbox backends |
| Unknown chat users | Denied until allowlisted or paired | Pairing and allowlists available |
| Advisories published by the project (23 Nov 2026) | 1 | 723: 14 critical, 250 high, 390 medium, 69 low |
| Outside CVE filings | About 45 in NVD, mostly via VulDB | Not counted here |
| Trust model | Single-tenant personal agent | One trust boundary per gateway |
Read the advisory counts with care. OpenClaw publishes an advisory for each fix, while most Hermes CVEs were filed by outside researchers through VulDB and VulnCheck, several noting that the vendor did not respond before disclosure. Neither number measures how safe today’s release is. Both projects also share a weakness: community skills from ClawHub, which both can install. Our side-by-side look at the two harnesses compares the rest of their design.
The short answer: Hermes starts from safer defaults on the host, and OpenClaw gives a careful operator more policy controls per agent. Neither is safe in a configuration that ignores those defaults.
Hermes Agent hardening checklist
- Update. Run v0.23.2 or later; on 23 November 2026 the current stable release was v0.23.3.
hermes doctoralso reports supply-chain advisories. - Install deliberately. Read the install script first, and pass
--skip-browseror--skip-computer-useif you do not need those tools. - Set approvals to manual with
approvals.mode: manual, and never leave YOLO mode on in a session that can reach credentials. - Add deny rules for things that must never run, such as
"git push --force*". - Move execution off the host with
terminal.backend: dockerorssh, and keepdocker_forward_env: []. - Wrap the whole process in Docker or OpenShell if the agent reads the web, email, group chats or untrusted MCP output.
- Restrict file writes with
HERMES_WRITE_SAFE_ROOT, and turn oncheckpoints.enabled. - Gate learning. Set
skills.write_approval: trueandmemory.write_approval: true. - Review every skill and plugin before installing, including its scripts, and prefer official sources.
- Lock down the gateway. Use explicit allowlists or DM pairing, and never set
GATEWAY_ALLOW_ALL_USERS=true. - Keep dashboards on loopback. Put an authenticating proxy in front if you must reach them remotely.
- Check data paths. Pin
auxiliarymodels to the provider you trust, and setauth.adopt_external_logins: falseif Hermes should not use other tools’ logins. - Use scoped credentials. Give the agent tokens made for it, not your personal keys.
Is Hermes Agent secure enough for company use?
For a sanctioned personal assistant on an approved laptop, with written rules about which accounts and data it may touch, Hermes can be made acceptable. As a shared business service, its own documentation says it is not designed for the job:
- One tenant. The security policy calls Hermes “a single-tenant personal agent”. Inside an allowlist, all callers are equally trusted, and per-user capabilities are not modelled.
- Profiles are not tenants. Separate profiles under one operating-system user can reach each other’s files. Isolating people means separate OS users or containers.
- No organisational audit trail. Session history lives in local files, with no export designed for audit evidence.
- Unmanaged installs. Agents on staff laptops, each with its own skills, plugins and model keys, become shadow AI quickly, even when every user means well.
Nous Research sells Hermes Business and Hermes Enterprise editions that add team accounts and, for Enterprise, deployment on your own infrastructure. Evaluate those on their own contract terms; the open-source agent described here does not include them. For a fuller comparison of a personal agent with a governed platform, see our VDF AI and Hermes Agent comparison.
How VDF AI fits
VDF AI does not run, host or govern Hermes Agent. It is a separate, governed alternative for organisations that want agents acting on business systems without a personal harness on every laptop.
VDF AI Agents are built from reusable Agent Skills, with tools assigned from an MCP-powered registry, audit logging across agent activity, role-based access control on every plan, and human approval gates for high-risk actions. VDF AI runs on-premises, air-gapped or in a private cloud, and on-premises deployments include Microsoft Entra ID sign-in. At the model layer, VDF AI Router can register self-hosted model servers such as Ollama as on-premises sources, applies allow and deny lists before each call, and has an air-gap mode that restricts routing to local models.
Sources
Hermes Agent’s own repository, documentation and advisories, plus the vulnerability databases and research cited above, as retrieved on 23 November 2026.
- Hermes Agent on GitHub: repository and README, security policy, releases and repository security advisories, including GHSA-p22p-9ph6-gmrh
- Hermes Agent documentation: security guide, running Hermes on a personal or work machine, FAQ, skills system, persistent memory, tools and configuration
- Hermes Agent install script
- National Vulnerability Database keyword search for hermes-agent, including CVE-2026-53869, CVE-2026-53870, CVE-2026-82020, CVE-2026-82021, CVE-2026-71963 and CVE-2026-114463
- GitHub Advisory Database entries for hermes-agent
- OpenClaw: trust model, sandboxing and repository security advisories
- Hunt.io: Thailand’s Ministry of Finance targeted with Hermes AI agent running unattended
Want agents that act on business systems with approvals and an audit trail? See how VDF AI Agents work on your own infrastructure, or talk to our team.