mirror of
https://github.com/openai/codex.git
synced 2026-08-26 13:38:49 +00:00
## Why Windows named pipe servers can impersonate connected clients. IDE context connections only require the server to identify the client, so they should not grant broader impersonation rights. ## What changed Open Windows IDE context pipes with `SECURITY_SQOS_PRESENT` and `SECURITY_IDENTIFICATION`, limiting the server's impersonation token to the identification level. ## Testing Add a Windows regression test that connects to a named pipe, asks the server to impersonate the client, and verifies that the resulting token has the `SecurityIdentification` level. GitOrigin-RevId: 51ef080f3367857987e03b0113a476040ea40e56