cmux/docs-site/content/docs
Lawrence Chen 51a67e31fd
Socket access control: process ancestry check (#58)
* Socket access control: process ancestry check + file permissions

Redesign socket control modes from (off, notifications, full) to
(off, cmuxOnly, allowAll):

- cmuxOnly (default): uses LOCAL_PEERPID + sysctl process tree walk to
  verify the connecting process is a descendant of cmux. External
  processes (SSH, other terminals) are rejected.
- allowAll: hidden mode accessible only via CMUX_SOCKET_MODE=allowAll
  env var, skips ancestry check. Legacy "full"/"notifications" env
  values map here for backward compat.
- off: disables socket entirely.

Security hardening:
- Server: chmod 0600 on socket after bind (owner-only access)
- CLI: stat() ownership check before connect (reject fake sockets)

Removes per-command allow-list (isCommandAllowed) — once a process
passes the ancestry check, all commands are available.

Includes migration for persisted UserDefaults values and env var
aliases (cmux_only, cmux-only, allow_all, allow-all).

* Add /sync-branch skill for submodule + main sync
2026-02-18 01:09:24 -08:00
..
changelog.mdx Reversion all 1.x.x to 0.x.x for pre-launch versioning 2026-02-17 18:31:05 -08:00
claude-code-hooks.mdx Replace CLAUDE_CONFIG_DIR with claude wrapper + richer notifications 2026-02-15 18:33:36 -08:00
cli.mdx Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
concepts.mdx update docs-site keyboard shortcuts and browser docs 2026-02-15 21:50:00 -08:00
configuration.mdx Add nightly update channel workflow and adopt AGPL licensing 2026-02-14 02:43:03 -08:00
environment-variables.mdx Socket access control: process ancestry check (#58) 2026-02-18 01:09:24 -08:00
index.mdx Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
installation.mdx Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
keyboard-shortcuts.mdx update docs-site keyboard shortcuts and browser docs 2026-02-15 21:50:00 -08:00
meta.json Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
notifications.mdx update docs-site keyboard shortcuts and browser docs 2026-02-15 21:50:00 -08:00
osc-sequences.mdx Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
socket-api.mdx Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
splits.mdx Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
tabs.mdx update docs-site keyboard shortcuts and browser docs 2026-02-15 21:50:00 -08:00