Skip to content

Harden daemon control-file permissions - #176

Merged
hugs merged 3 commits into
mainfrom
codex/daemon-control-file-permissions
Aug 3, 2026
Merged

Harden daemon control-file permissions#176
hugs merged 3 commits into
mainfrom
codex/daemon-control-file-permissions

Conversation

@paulsmith

Copy link
Copy Markdown
Collaborator

Summary

  • Harden the daemon control directory, PID file, and Unix socket to owner-only permissions.
  • Add regression tests covering daemon dir, PID file, and socket-path permissions.

Why

The local daemon exposes unauthenticated control RPCs, so permissive filesystem modes weakened the boundary around that control surface.

Verification

cd clicker && GOCACHE=/tmp/vibium-gocache go test ./internal/daemon
cd clicker && GOCACHE=/tmp/vibium-gocache go test ./...

@hugs
hugs merged commit 2acf30e into main Aug 3, 2026
2 checks passed
@hugs
hugs deleted the codex/daemon-control-file-permissions branch August 3, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants