mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
## Why Remote command approvals could attribute a command to a plugin by reading a script that the turn's filesystem permissions denied access to. ## What changed Use the remote environment's sandbox policy and stored permission grants when resolving script paths, checking file metadata, and reading scripts for approval attribution. If the lookup is denied, the approval prompt still appears without plugin attribution. ## Testing Add a regression test that checks for an approval prompt without a plugin ID or script path when either the environment policy or a stored turn grant denies reads of an otherwise matching plugin script. GitOrigin-RevId: 123fd72c14cd31121d271fa800f005d3fc41a366