Skip to main content

Restrict projects with root allowlisting

Status: Ready

Article ID: 064

Truth label: Current

Audience: Operator

Reader outcome: Limit which paths a remote control-plane request can register.

Related articles: 012, 035, 070

Target week: 26

Last verified: 2026-09-13

Technical reviewer: Codex security source audit

Editorial reviewer: Codex editorial audit

Identify the path asset​

A project registration tells workers where an agent may read, edit, and run commands. The actor making that registration can therefore influence access to host source trees and configuration outside the intended repository.

Put the boundary at an approved root​

Configure explicit project roots for remote control-plane use. A requested project path must resolve under one of those roots. Foreign paths must be absolute and cannot use ... A referenced specification must stay inside the registered project root.

Understand the default​

When remote bearer access is enabled without explicit roots, registration defaults to the configured projects directory. An explicit, narrow list is easier to review than relying on a broad default directory.

Apply the safe-use rule​

Create a dedicated projects directory, grant the worker only the filesystem rights it needs, and test one permitted and one rejected path. Review symbolic links and mounted directories as part of host setup.

Current limits​

Root allowlisting constrains registration, not every possible filesystem read by an execution child. Home-directory state, tools, tests, and absolute paths may expose other host assets unless an operating-system boundary also exists.

Next lesson​

Continue with Safe mode is not an OS sandbox.

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​

  • Operator, worker, project path, root, and specification boundaries reviewed.
  • Remote default and path conditions checked against current source.
  • Filesystem and symbolic-link limits remain adjacent to the procedure.
  • Safe-use test and internal links reviewed.

Review completed: 2026-08-27

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