You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e640c0a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/gateway/security/index.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,11 @@ Treat Gateway and node as one operator trust domain, with different roles:
92
92
-**Gateway** is the control plane and policy surface (`gateway.auth`, tool policy, routing).
93
93
-**Node** is remote execution surface paired to that Gateway (commands, device actions, host-local capabilities).
94
94
- A caller authenticated to the Gateway is trusted at Gateway scope. After pairing, node actions are trusted operator actions on that node.
95
+
- Direct loopback backend clients authenticated with the shared gateway
96
+
token/password can make internal control-plane RPCs without presenting a user
97
+
device identity. This is not a remote or browser pairing bypass: network
98
+
clients, node clients, device-token clients, and explicit device identities
99
+
still go through pairing and scope-upgrade enforcement.
95
100
-`sessionKey` is routing/context selection, not per-user auth.
96
101
- Exec approvals (allowlist + ask) are guardrails for operator intent, not hostile multi-tenant isolation.
97
102
- OpenClaw's product default for trusted single-operator setups is that host exec on `gateway`/`node` is allowed without approval prompts (`security="full"`, `ask="off"` unless you tighten it). That default is intentional UX, not a vulnerability by itself.
Copy file name to clipboardExpand all lines: docs/gateway/troubleshooting.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,12 @@ Use `error.details.code` from the failed `connect` response to pick the next act
200
200
|`AUTH_DEVICE_TOKEN_MISMATCH`| Cached per-device token is stale or revoked. | Rotate/re-approve device token using [devices CLI](/cli/devices), then reconnect. |
201
201
|`PAIRING_REQUIRED`| Device identity needs approval. Check `error.details.reason` for `not-paired`, `scope-upgrade`, `role-upgrade`, or `metadata-upgrade`, and use `requestId` / `remediationHint` when present. | Approve pending request: `openclaw devices list` then `openclaw devices approve <requestId>`. Scope/role upgrades use the same flow after you review the requested access. |
202
202
203
+
Direct loopback backend RPCs authenticated with the shared gateway
204
+
token/password should not depend on the CLI's paired-device scope baseline. If
205
+
subagents or other internal calls still fail with `scope-upgrade`, verify the
206
+
caller is using `client.id: "gateway-client"` and `client.mode: "backend"` and
207
+
is not forcing an explicit `deviceIdentity` or device token.
0 commit comments