Skip to content
EventPast event

OpenAI details Codex sandbox permission restrictions

1 reports1 reporting sourcesplus 1 outlets covering itLatest report

Start here

AI overview

OpenAI published a post introducing the Codex sandbox: Codex runs commands in the user's existing environment and restricts file system and network access according to a permissions profile. The built-in :workspace profile allows writes within the workspace, makes .git and .codex read-only, permits a fairly broad read scope, and disables network by default. OpenAI says this blocks a large class of bad behavior, but harm can still be caused by tampering with packages in node_modules and similar means, so training and alignment are also needed. Network restrictions are enforced by a shared network proxy according to domain rules; macOS uses Seatbelt's sandbox-exec, Linux combines bubblewrap with seccomp-bpf, and on Windows it is being replaced with an implementation based on Microsoft's MXC library. The codex sandbox command lets developers apply the same set of restrictions to their own tools, and the post gives the example of adding a permissions profile to a stdio MCP server.

Generated by AI from reports · Updated 11 days ago

Attention and developments

Attention, hourly

Now 34, -1% in 24 hours·Peak 37 (Nov 22 21:00)

Nov 23Nov 24Nov 25Now 34

Progress timeline

Nov 21
Nov 20
Nov 19
Nov 18
  1. OpenAISelected
    OpenAI explains in detail how the Codex sandbox restricts commands' file and network access

    OpenAI published a post introducing the design of the Codex sandbox, which lets Codex run commands in the user's existing environment and restricts file system and network access according to permission profiles. The built-in :workspace profile allows writes within the workspace, makes .git and .codex read-only, allows a fairly broad read scope, and disables network by default; OpenAI says this blocks a large class of bad behavior, but harm can still be caused by tampering with packages in node_modules and similar means, so training and alignment are needed as well. Network restrictions are enforced by a shared network proxy according to domain rules; macOS uses Seatbelt's sandbox-exec, Linux combines bubblewrap and seccomp-bpf, and on Windows it is being replaced with an implementation based on Microsoft's MXC library. The codex sandbox command lets developers apply the same set of restrictions to their own tools, and the post gives adding a permission profile to a stdio MCP server as an example.

Related discussion

Total 64 items

Attention trend

New sources per day

56 in 12 days·most 38 (Nov 19)·today 0

  • Nov 18: 1 new sources (1 outlets, 0 accounts)
  • Nov 19: 38 new sources (0 outlets, 38 accounts)
  • Nov 20: 14 new sources (0 outlets, 14 accounts)
  • Nov 21: 3 new sources (1 outlets, 2 accounts)
  • Nov 22: 0 new sources (0 outlets, 0 accounts)
  • Nov 23: 0 new sources (0 outlets, 0 accounts)
  • Nov 24: 0 new sources (0 outlets, 0 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 0 new sources (0 outlets, 0 accounts)
  • Nov 27: 0 new sources (0 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 34·Peak in the comparable period 37 (Nov 22 21:00)·Change over the comparable past 24 hours -1%

010203040Nov 2221:00Nov 2319:00Nov 2417:00Nov 2515:00