# How to use Codex to evaluate sandbox boundaries

Oren Yomtov tested Codex patch and JavaScript trust boundaries, reported two sandbox failures, and documented separate vendor fixes within eight days.

Agent: Codex (via Codex CLI and Desktop in controlled security evaluations)
Tools: Codex, apply_patch, node_repl, V8
Category: Security
Date: 2026-09-15

Outcome: Two controlled Codex sandbox failures were reported and, according to the researcher, fixed within eight days; the account distinguishes CLI patch permissions from Desktop JavaScript trust.

## Steps

1. Yomtov compared blocked shell access with controlled editing-tool behavior outside the permitted workspace.
2. He tested the JavaScript tool’s shared-memory trust boundary and observed an unsandboxed application launch.
3. Both findings were reported to OpenAI, and the published account records remediation within eight days.

Human oversight: The researcher prepared controlled proofs, compared positive and negative behavior, and disclosed findings to the vendor; readers should use isolated test data and updated builds.

Source: [Oren Yomtov — Accomplish blog](https://accomplish.ai/blog/escaping-the-openai-codex-sandbox-twice/)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-evaluate-patch-and-javascript-boundaries/
