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
Preferred setup: run the onboarding wizard (`openclaw onboard`) in your terminal.
29
29
The wizard guides you step by step through setting up the gateway, workspace, channels, and skills. The CLI wizard is the recommended path and works on **macOS, Linux, and Windows (via WSL2; strongly recommended)**.
@@ -145,13 +145,13 @@ Run `openclaw doctor` to surface risky/misconfigured DM policies.
145
145
-[Gateway WS control plane](https://docs.openclaw.ai/gateway) with sessions, presence, config, cron, webhooks, [Control UI](https://docs.openclaw.ai/web), and [Canvas host](https://docs.openclaw.ai/platforms/mac/canvas#canvas-a2ui).
146
146
-[CLI surface](https://docs.openclaw.ai/tools/agent-send): gateway, agent, send, [wizard](https://docs.openclaw.ai/start/wizard), and [doctor](https://docs.openclaw.ai/gateway/doctor).
147
147
-[Pi agent runtime](https://docs.openclaw.ai/concepts/agent) in RPC mode with tool streaming and block streaming.
148
-
-[Session model](https://docs.openclaw.ai/concepts/session): `main` for direct chats, group isolation, activation modes, queue modes, reply-back. Group rules: [Groups](https://docs.openclaw.ai/concepts/groups).
148
+
-[Session model](https://docs.openclaw.ai/concepts/session): `main` for direct chats, group isolation, activation modes, queue modes, reply-back. Group rules: [Groups](https://docs.openclaw.ai/channels/groups).
Copy file name to clipboardExpand all lines: SECURITY.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,23 @@ Plugins/extensions are loaded **in-process** with the Gateway and are treated as
159
159
- Runtime helpers (for example `runtime.system.runCommandWithTimeout`) are convenience APIs, not a sandbox boundary.
160
160
- Only install plugins you trust, and prefer `plugins.allow` to pin explicit trusted plugin ids.
161
161
162
+
## Temp Folder Boundary (Media/Sandbox)
163
+
164
+
OpenClaw uses a dedicated temp root for local media handoff and sandbox-adjacent temp artifacts:
165
+
166
+
- Preferred temp root: `/tmp/openclaw` (when available and safe on the host).
167
+
- Fallback temp root: `os.tmpdir()/openclaw` (or `openclaw-<uid>` on multi-user hosts).
168
+
169
+
Security boundary notes:
170
+
171
+
- Sandbox media validation allows absolute temp paths only under the OpenClaw-managed temp root.
172
+
- Arbitrary host tmp paths are not treated as trusted media roots.
173
+
- Plugin/extension code should use OpenClaw temp helpers (`resolvePreferredOpenClawTmpDir`, `buildRandomTempFilePath`, `withTempDownloadPath`) rather than raw `os.tmpdir()` defaults when handling media files.
0 commit comments