Skip to content

fix authority supervisor privilege transition - #18

Merged
areshand merged 3 commits into
mainfrom
codex/fixed-authority-supervisor-exec
Aug 22, 2026
Merged

fix authority supervisor privilege transition#18
areshand merged 3 commits into
mainfrom
codex/fixed-authority-supervisor-exec

Conversation

@areshand

Copy link
Copy Markdown
Owner

Summary

  • add a fixed, zero-argument authority-supervisor-exec setuid entrypoint for control UID 10000
  • hard-code the supervisor UID, credential group, binary, and serve command
  • keep generic role-exec outside the privileged setuid allowlist
  • preserve the complete supplementary-group list when dropping identity

Production failure addressed

The trusted launch path spawned the supervisor through generic role-exec. The setuid gate correctly removed privilege from that generic command, causing setgroups to fail before the authority socket could be created. This patch provides the same narrow fixed-command pattern already used by role-agent-exec without exposing arbitrary privileged execution.

@areshand
areshand merged commit 8bcf3ce into main Aug 22, 2026
4 checks passed
@areshand
areshand deleted the codex/fixed-authority-supervisor-exec branch August 22, 2026 08:48
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.

1 participant