Files
codex/codex-rs/linux-sandbox/tests/suite
viyatb-oai b0b0852ee0 Require port grants for Linux sandbox proxy bridges (#63775)
## Why

A managed network context with no loopback port grants could still
create host proxy bridges from proxy environment variables. The
managed network policy should determine which host ports the sandbox
can reach through those bridges.

## What changed

Authorize host proxy bridges against `loopbackPorts`. An empty list
creates no bridges, and a nonempty list rejects a route plan containing
an ungranted loopback endpoint. Transparent TCP routing still requires
a port grant.

Keep network access blocked when managed networking has no grants,
even with a full-access profile. Explicit local binding and Unix socket
permissions can still apply without a TCP proxy route.

## Testing

Extend route-planning and Linux sandbox tests to cover empty port lists,
ungranted endpoints, and local binding and Unix socket access without a
host proxy bridge.

GitOrigin-RevId: f048e9afa355c6ce87137c9ef1924c358ecae558
2026-11-25 00:12:21 +00:00
..