SXF RESEARCH EXPLAINER
What the technical evidence means.
Source-grounded analysisTECHNICAL ANALYSIS / 01
What does the default Codex :workspace sandbox actually allow?
The :workspace permission profile balances ordinary coding with conservative control over write access. It permits editing files beneath workspace roots but keeps directories such as .git and .codex read-only, reducing the ability of commands to rewrite hooks or the agent's own configuration. Network access is disabled by default. These limits matter because an agent can run real shell commands, not merely suggest edits in a chat.
The less obvious tradeoff is read permission. OpenAI says tools can read broadly outside the repository when the operating-system user could read those paths. Builds often need SDKs and libraries outside the checkout, but the same freedom may include configuration files containing credentials. A developer who needs stronger secrecy must explicitly deny sensitive paths or isolate credentials at the OS level; merely selecting :workspace does not make every non-project file invisible.
Check primary-source evidence ↗
TECHNICAL ANALYSIS / 02
How does Codex decide when to escalate a command?
Codex sends commands through its harness, which starts processes using a permission profile. Its documented command options distinguish using the current rules, requesting extra scoped access inside the sandbox and seeking an elevated execution outside it. The harness evaluates that request against settings and approval rules. A tool cannot assume that asking for more access makes the request authorized.
This division creates two audit questions: what was the configured default at the time, and who approved any deviation? A sensitive operation such as downloading code or changing protected files should be recorded with its purpose and scope. For organizational designs, compare those decisions with the SXF AI agent authorization guide, which treats authorization as a separate control from the model's confidence.
Check primary-source evidence ↗
TECHNICAL ANALYSIS / 03
How do filesystem and network permission profiles work?
OpenAI documents named profiles under the permissions configuration in config.toml. A custom profile can extend :workspace, assign read or write access to specific paths, deny access to secrets and protect editor configuration. Workspace-root-relative rules let the same restrictions apply across relevant project folders. The effective policy can be layered with managed enterprise requirements, so a local profile is not necessarily the only controlling input.
For networking, distinguish no access, direct access and a restricted proxy. OpenAI shows domain allow and deny rules when a network proxy is enabled; an allowlist in a file should not be mistaken for enforcement if the proxy is off. For an initial secure pilot, prefer no network, then add only specific endpoints needed by the task. Inspect effective permissions after layering workspace and managed policies rather than reviewing just one config file.
Check primary-source evidence ↗
TECHNICAL ANALYSIS / 04
Codex sandbox versus containers: what is the real security boundary?
OpenAI deliberately uses native platform isolation instead of always moving work into a Docker image or VM, because developers may depend on host SDKs, compilers and simulators. That reduces friction but leaves the process sharing much of the user's development environment. The sandbox is a filesystem and network policy boundary around commands, not a claim that the entire host has become a disposable isolated machine.
Consider the risk OpenAI gives directly: an agent modifies an ignored dependency under node_modules. A later editor action can execute that changed package outside the original sandbox. The practical takeaway is to inspect untracked and ignored executable inputs, regenerate dependencies from known sources and run security-sensitive changes in an environment with minimized secrets. See SXF's prompt injection guide for why untrusted project text can also influence agent behavior.
Check primary-source evidence ↗
TECHNICAL ANALYSIS / 05
SXF analysis: a safer permission review before running coding agents
Design a short threat-model test before giving the agent real code. First document the workspace roots and approved write destinations. Then attempt safe, non-sensitive probes confirming that protected configuration files cannot be changed, known secret directories cannot be read if denied and network connections do not pass under the intended profile. Record any requests for additional permissions and refuse broad escalation unless the task genuinely requires it.
After the session, review tracked changes and ignored executable paths, run tests with a separate account and ensure that generated scripts are not automatically executed by trusted editor actions. This is a proposed SXF control checklist, not evidence that we penetrated or independently benchmarked Codex. Organizations deploying similar agents should also use the production AI agents guide for logging, rollback and incident-response boundaries.
Check primary-source evidence ↗
TECHNICAL ANALYSIS / 06
How is sandboxing different from evaluating a coding agent?
A security boundary answers what an agent's commands are allowed to touch, whereas an evaluation answers whether it performs the intended coding task correctly. Strong isolation cannot prove a patch is correct, and a high score on a test suite cannot prove that a process could not access credentials. Keep both control planes separate, with different acceptance criteria, reviewers and failure handling.
GitHub's new Copilot Evals workflow illustrates the evaluation side: repeatable checks for skills, agents and tools. The SXF Copilot Evals guide explains how to evaluate agent behavior without treating a pass/fail report as a sandbox. Comparing these products is useful for engineering governance, but they are not drop-in replacements for one another.
Check primary-source evidence ↗