Skip to content

The agent that grows with you

docs(security): write guards cover every home a write can land in

teknium1c088d0d7ac3f
diff --git a/website/docs/user-guide/security.md b/website/docs/user-guide/security.md
index b696afeb4d3..eb000d7e9ac 100644
--- a/website/docs/user-guide/security.md
+++ b/website/docs/user-guide/security.md
@@ -356,6 +356,8 @@ Project-local `.env`, `.env.local`, `.env.production` and `.envrc` files are **r
Sensitive paths inside the safe root are still blocked — pointing `HERMES_WRITE_SAFE_ROOT` at `$HOME` does not allow writing `~/.ssh/id_rsa`.
+The `~` in the OS-credential rows means *every* home a write can land in, not just the process `HOME`: the OS user's real home, the profile home (`{HERMES_HOME}/home` under `TERMINAL_HOME_MODE=profile`, containers and spawned workers, where the process `HOME` is pinned), and named accounts (`~root/.ssh/authorized_keys`). An absolute path to the real home's `~/.aws/credentials` is denied even when the agent process runs with `HOME` pointed elsewhere.
+
Safe-root violations return `Write denied: '…' is outside HERMES_WRITE_SAFE_ROOT (…)`. Credential-path blocks use `Write denied: '…' is a protected system/credential file.`
**Exception — `~/.ssh/config` is approval-gated, not hard-blocked.** The SSH