mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why The macOS preferences service can expose data outside a sandbox's allowed filesystem read roots. ## What changed - Move the Seatbelt preference and `cfprefsd` grants into a separate policy section that is included only when filesystem reads are unrestricted. - Remove the equivalent grants from the restricted platform defaults. ## Testing - Verify both Seatbelt profiles include preference grants only for full-disk read policies, including policies with denied paths or globs. - Verify a restricted sandbox cannot retrieve a preference whose plist is denied, while an unrestricted read policy can. GitOrigin-RevId: 90388366a7302bca1830ad0439544be8babc7321