What's wrong with this entry?
A new macOS-only sandbox setting that permits sandboxed commands to send Apple Events — required for open, osascript, and browser-based auth flows that open URLs.
// In user or managed settings (not project settings)
{
"sandbox": {
"allowAppleEvents": true
}
}- Only honored from user, managed/policy, or CLI
--settingssettings. Project settings (.claude/settings.jsonand.claude/settings.local.json) are explicitly ignored. - Security warning: Enabling this removes code-execution isolation. Sandboxed commands can launch other applications unsandboxed with no user prompt, and can script running apps (e.g. Terminal) subject to the user's per-app TCC automation consent.
- Default:
false.
Setting schema (search for "macOS only: Allow sandboxed commands to send Apple Events") — allowAppleEvents field at line ~46966
Strings lifted out of the shipped bundle, so the claim above can be checked against them.