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
Copy file name to clipboardExpand all lines: docs/SECURITY.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,17 +52,19 @@ Without `--sandbox`, the `shell` tool runs commands directly on the host with th
52
52
With `--sandbox`, each session is fully contained in a Docker container:
53
53
54
54
-**No filesystem access** beyond the working directory (mounted read-only if configured)
55
-
-**No network**when `--sandbox-network none`is set
55
+
-**No network by default**— `sandbox_network` defaults to `none`. `host` mode is rejected (forces `none` with a warning) to prevent bypassing isolation
56
56
-**No capabilities** — even root inside the container has zero kernel capabilities
57
57
-**No privilege escalation** — `setuid` binaries are neutered
58
58
-**No persistence** — container destroyed on exit
59
59
-**No executable temp files** — `/tmp` is mounted `noexec`
60
60
61
+
Set `sandbox_network: bridge` explicitly if the agent needs outbound internet access (e.g. `npm install`).
62
+
61
63
See [Sandboxing](SANDBOXING.md) for the full reference.
62
64
63
65
## API key handling
64
66
65
-
API keys are read from environment variables or explicit config. odek never logs, stores, or transmits your key beyond the HTTPS request to the LLM endpoint.
67
+
API keys are read from environment variables (`ODEK_API_KEY`, `DEEPSEEK_API_KEY`, `OPENAI_API_KEY`) or explicit config. After the key is resolved, the environment variables are **cleared** to prevent exposure via `/proc/<pid>/environ` — any process on the same machine can no longer read the key from the process environment. odek never logs, stores, or transmits your key beyond the HTTPS request to the LLM endpoint.
0 commit comments