mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
## Why Sandbox provisioning IPC must authenticate callers before request handling can be enabled. ## What changed - Authorize named-pipe clients against the Codex package identity and keep the client process open through authentication. - Impersonate the caller and require its token to match the client process user, belong to an interactive named user, and not belong to the sandbox group. - Prepare and pin the requested Codex home, then validate machine policy with the impersonated token. - Allow known Codex package families when running an unpackaged debug service in foreground mode. Provisioning IPC remains disabled until this authentication is connected to the transport. ## Testing - Add a Windows test that verifies an unpackaged pipe client is rejected before it sends a provisioning request. GitOrigin-RevId: b0e87450c06f8de3eca6cb77daa9b11ef80699a9