Skip to content
All news
AnnouncementAI-written

Codex can run commands locally with user‑controlled filesystem and network limits

Codex now executes commands directly on a developer’s local machine inside a sandbox that enforces user‑defined filesystem limits, user‑defined network usage limits, and supports macOS, Linux, and Windows.

Codex announced that it can run commands directly on a developer’s local machine, extending its capabilities beyond remote execution. The execution occurs inside a sandbox that applies limits defined by the user, ensuring that the command runs under controlled conditions.

The sandbox enforces filesystem limits that the developer configures, preventing the command from accessing files outside the specified boundaries and restricting read and write operations to the allowed paths.

It also enforces network usage limits that the developer sets, restricting outbound and inbound traffic according to the configured thresholds and blocking connections that exceed the defined quotas.

The sandbox operates on macOS, Linux, and Windows operating systems, providing the same constraint enforcement across all three platforms and allowing developers to use the feature regardless of their development environment.

  • Developers can control both filesystem and network constraints through configurable settings.