Marks / Execution controls / Confinement
hermes-agent · Confinement
Default approval layer only; docker backend confines shell and file tools (they use the terminal env); network on, so not L4
Level
Criteria for this column
- 0
No restriction: tools run as the user with no approval or policy by default
- 1
Policy or approval layer only (allowlists, approval prompts, reviewer model). No OS boundary
default - 2
An OS/container boundary exists but is opt-in, or is default-on only for a subset of effect paths, leaving the main shell/file tools unconfined
- 3
Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
best - 4
Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly
What the source review found
No OS boundary by default (terminal.backend: local). Approval gate smart (an auxiliary-LLM guardian) runs after hardline command floors that cannot be bypassed; --yolo allows everything else. Contexts with no matching unattended rule are allowed. File tools deny writes (not reads) to credential and system paths. [opt: docker (cap-drop ALL, network on by default), modal, daytona, vercel, ssh]. X33X34X35X36X37X38X39 Note X-3
Pinned evidence
Cited by the mark
- X34
approvals defaults: mode smart, timeout 300, cron/single-query/unattended deny
NousResearch/hermes-agent hermes_cli/config_defaults.py L1611-L1640
- X38
[opt docker] cap-drop ALL with selective add-back
NousResearch/hermes-agent tools/environments/docker.py L318-L330
- X39
[opt docker] docker_network True by default
NousResearch/hermes-agent hermes_cli/config_defaults.py L355-L360
Also cited by the review finding
- X33
terminal backend default
localNousResearch/hermes-agent hermes_cli/config_defaults.py L284-L286
- X35
hardline floors and user deny list evaluated before yolo
- X36
non-CLI/gateway/ask context with no matching unattended rule is allowed
- X37
file-tool write deny list (~/.ssh, .aws, .gnupg, Hermes .env, /etc/shadow...)
Two independent graders
- Grader A
- 1 / 2
- Grader B
- 1 / 3
- Final
- 1 / 3
Adjudicated · disagreement
Default approval layer only; docker backend confines shell and file tools (they use the terminal env); network on, so not L4