TL;DR: AI coding agents running under allow-default macOS sandbox profiles can cross from confined workspace actions into unsandboxed host execution, with Launch Services and filesystem quirks creating escape paths, according to Pillar Security. The lesson is not that sandboxes are useless, but that deny-by-default policy and tighter execution boundaries are the only durable answer.
Editorial analysis by NHI Mgmt Group, based on content published by Pillar Security: “The Week of Sandbox Escapes Day 1: Escaping Antigravity's Allow-Default Seatbelt”.
Key questions
Q: What breaks when AI coding agents run in allow-default sandboxes?
A: Allow-default sandboxes fail because they preserve most host capabilities and rely on deny rules to catch every dangerous path.
Q: Why do AI coding agents create more host-execution risk than ordinary sandboxed apps?
A: AI coding agents are active decision-makers that read instructions, manipulate files, and invoke commands during runtime.
Q: How can security teams tell whether sandbox and proxy controls are actually containing an AI agent?
A: They need to test more than the sanctioned upload command.
Practitioner guidance
- Adopt deny-by-default agent sandboxes Replace allow-default profiles with allowlists that enumerate only the file, process, and service calls the agent truly needs.
- Restrict brokered execution paths Audit Launch Services, open-based launches, and any other host broker that can relaunch content outside the sandbox boundary.
- Block filesystem paths that break provenance Prevent agents from mounting or writing to filesystems that do not preserve provenance metadata, including devfs-style escape surfaces.
Bottom line: AI coding agents enlarge the attack surface of shared-host sandboxes because they can combine file operations, command execution, and trusted launch services into a boundary crossing.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Allow-default sandboxing is the wrong trust model for AI coding agents. The core failure is not a missing patch, but an inverted policy assumption that treats confinement as subtractive. AI agents do not behave like ordinary desktop apps because they actively interpret instructions and can chain host services in real time. Practitioners should assume the boundary must be deny-first, not permit-first.
A few things that frame the scale:
- Gartner predicts that AI systems will initiate 50% of all service requests by 2030, driven largely by agentic AI.
A question worth separating out:
Q: Should organisations prioritise deny-default sandboxing over patching known bypasses?
A: Yes. Patch work closes individual bypasses, but it does not fix the underlying governance error of permitting too much by default. Deny-default sandboxing forces every capability to be justified up front, which is the only sustainable model when AI agents can combine host services and filesystem quirks into an escape path.
👉 Read our full editorial: AI coding agents on shared-host sandboxes create escape risk