AID-I-001.004
Very High
Sandbox Network Egress Restrictions
The sandbox's own network rule failed open, so the outbound block has to sit where the sandbox's configuration logic cannot switch it off. On the container, VM, CI runner or host firewall that encloses Claude Code sessions, block outbound connections by default and allow only the destinations the work needs, such as the model API and approved package mirrors. With that rule in place, a sandboxed command the runtime forgot to restrict still cannot reach other hosts, internal or external. The control also requires a probe from inside the sandbox: show that an unapproved host is reachable from an unrestricted machine, then confirm the sandbox is refused when it tries to reach it, while approved hosts still work. That probe is the check that would have exposed the empty-allowlist flaw before anyone relied on it, and refused attempts at the outer layer leave a log entry. It does not limit what is sent to an approved destination, the Claude Code process still needs its own approved connections, and developer laptops without an outer container or host-level egress rule fall back on the sandbox alone.