Create the server token at install and document the security boundary

This commit is contained in:
2026-11-10 00:59:39 +00:00
parent 547d4d9822
commit 12a74247ae
7 changed files with 245 additions and 1 deletions
+5 -1
View File
@@ -30,7 +30,11 @@ additive conflicts.
websocket. Home-folder access uses `expandHomePath`, `resolveInsideHome` and
`specialFilesystem`; symlinks are operated on, not followed. Internal
endpoints (for example `/mcp`) must not be reachable through the web proxy;
add a proxy test. Typed input, passwords and tokens are never logged or
add a proxy test. The server answers only loopback `Host`s, refuses
`/connect` with an `Origin`, and requires the shared server token
(`docs/notes/security-boundary.md`); a new local client of the server
sends the token, and the peer relay's address policy covers new remote
paths. Typed input, passwords and tokens are never logged or
stored. Credentials never cross machines.
- **Bounds.** Every retained buffer, list and payload has a limit (for example
1 MiB output, 50 runs, 512 KiB views, 5 notifications a minute) and reports