Skip to main content

Treat safe mode as policy, not an OS sandbox

Status: Ready

Article ID: 065

Truth label: Limited

Audience: Operator and reviewer

Reader outcome: Understand which child processes can still execute repository code.

Related articles: 047, 048, 069

Target week: 26

Last verified: 2026-09-13

Technical reviewer: Codex security source audit

Editorial reviewer: Codex editorial audit

Name the untrusted actor​

The coding-agent child, repository tests, verification commands, build scripts, and retrieved instructions can all cause execution. The protected assets are the host filesystem, credentials, network, processes, and other repositories.

Understand current capability​

safe asks an engine for plan or read-only behavior. The worker still permits some test commands and runs its configured verification command separately. Those programs execute repository code and can start processes, use the network, read secrets, or write outside the expected path.

Locate the missing boundary​

The permission label is translated into CLI flags. It does not create a restricted operating-system account, container, virtual machine, read-only mount, network policy, or minimal child environment.

Apply the safe-use rule​

Use safe mode only with trusted repositories on trusted machines. Review every verification command. For hostile or confidential work, add an OS isolation layer, a read-only analysis mount, a separate verification runner, restricted network access, and task-scoped temporary credentials.

Current limits​

Current safe mode cannot prove no side effects. A successful task or test suite does not show that the child avoided other files or services. Hostile-repository execution is blocked from the production claim until that boundary is tested.

Next lesson​

Continue with Protect raw trace artifacts.

Derivative map​

  • Weekly package: WEEK-26
  • Long video: VIDEO-W26-LONG
  • Shorts: SHORT-W26-PROBLEM, SHORT-W26-MECHANISM, SHORT-W26-WARNING
  • Email: EMAIL-W26
  • LinkedIn: LI-W26-A, LI-W26-B
  • X: X-W26-A, X-W26-B
  • Visual: VISUAL-W26

Review record​

  • Child, repository code, verification runner, host, and credential assets identified.
  • Permission translation checked without claiming operating-system isolation.
  • Limited label and hostile-repository release block remain explicit.
  • Safe-use controls and links reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13