Skip to content
NO FEED

Understand the changes. Choose the tools. Put AI to work.

← News
News

Codex’s sandbox makes readable secrets part of the threat model.

OpenAI documented the default :workspace permission profile behind Codex. Commands may write inside the repository while .git and .codex stay read-only; they may read broadly wherever the user's operating-system permissions allow; and network access is disabled. Broad reads keep local SDKs, compilers and configuration usable, but they can also expose API keys stored outside the repository. The network block prevents a command from directly uploading what it reads. 1

The remaining boundary is local execution. OpenAI gives the example of an agent modifying a package under node_modules even though the change can escape the git status listing and later execute outside the sandbox when an editor runs that package. The sandbox limits command access; it does not make every writable file safe. 1

Choose permissions from the execution path. For review, keep source read-only and allow only the documentation hosts the task needs. For builds, use a disposable workspace or make ignored executables and editor-loaded configuration read-only. Test the profile by trying to write into the .git/hooks directory, modify an ignored tool the editor will execute, and send an outbound request. A useful profile blocks all three while the real build still completes. 1

Use it

Treat each Codex permission profile as a checked security policy for one workflow.

Sources

  1. OpenAI — Inside the Codex sandbox · read
Originally part of the 19 November 2026 edition.

The useful part, in your inbox.

One complete edition every weekday, with practical takeaways.