Skip to content

[1/6] Add verified plugin processes and native containment - #1875

Draft
shellz-n-stuff wants to merge 1 commit into
mainfrom
codex/security-native-boundary
Draft

shellz-n-stuff wants to merge 1 commit into
mainfrom
codex/security-native-boundary

Conversation

@shellz-n-stuff

@shellz-n-stuff shellz-n-stuff commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Installed agent engines need a native boundary that verifies the exact executable and companion files before launch. This adds manifest artifact descriptors, checksum and path validation, and optional macOS containment for a worker and its descendants. Protected launches keep approval state private and host controls, plugin storage, application code, and the installed engine directory read-only.

The host process contract exposes containment without coupling it to a particular agent adapter. Manifest, launch, containment, and host contract tests stay with these changes; the macOS protection CI lane begins here.

Code flow

[1/6] Add verified plugin processes and native containment — illustrative code flow

Exact declared files are verified before contained launch. Approval state stays private; workspace writes remain possible.

Illustrative flow. Source: host_process.rs, protection.rs.

Review and merge bottom to top:

  1. [1/6] Add verified plugin processes and native containment
  2. [2/6] Add agent-bound protection policy and plugin API
  3. [3/6] Add protection to the Pi harness plugin
  4. [4/6] Add protection to the Claude harness plugin
  5. [5/6] Add protection to the Codex harness plugin
  6. [6/6] Add protection to the Goose harness plugin

Validation

TypeScript and host contract tests pass. Native process tests cover exact executable/companion bytes, ownership, cancellation and macOS containment (16 passed). Browser CI workflow integration checks pass (5 tests).

Draft. This is infrastructure for the dependent protection layers; human app acceptance remains pending. The stack preserves the original implementation without functional changes from splitting it.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Alex Rosenzweig <arosenzweig@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant