Skip to content

Add a bubblewrap backend for sandbox integrity checks - #51840

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fe404fa4be77ece677b22d52d77a7234dbf0cffe
Oct 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fe404fa4be77ece677b22d52d77a7234dbf0cffe

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Add a bubblewrap backend for sandbox integrity checks

What changed

Add Linux dependency discovery and policy preparation to exec-server's sandbox integrity module. Inventory bundled and system bwrap candidates and the deny-glob scanner using the launcher's location and the command's PATH and working directory.

Resolve :tmpdir and tilde-prefixed deny globs using the command's TMPDIR and HOME, with account home-directory fallback. Reuse Linux sandbox helpers to expand deny globs in the command's explicit environment.

Testing

Add Linux tests covering symlinked launchers, relative and empty PATH entries, and empty, relative, and tilde-prefixed TMPDIR values alongside home-relative deny globs.

## What changed

Add Linux dependency discovery and policy preparation to `exec-server`'s sandbox integrity module. Inventory bundled and system `bwrap` candidates and the deny-glob scanner using the launcher's location and the command's `PATH` and working directory.

Resolve `:tmpdir` and tilde-prefixed deny globs using the command's `TMPDIR` and `HOME`, with account home-directory fallback. Reuse Linux sandbox helpers to expand deny globs in the command's explicit environment.

## Testing

Add Linux tests covering symlinked launchers, relative and empty `PATH` entries, and empty, relative, and tilde-prefixed `TMPDIR` values alongside home-relative deny globs.

GitOrigin-RevId: fe404fa4be77ece677b22d52d77a7234dbf0cffe
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/fe404fa4be77ece677b22d52d77a7234dbf0cffe branch from 93e656c to d9960e1 Compare October 7, 2026 21:50
@copyberry
copyberry Bot merged commit d9960e1 into main Oct 7, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-07T21:51:02.231667Z 93e656c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/fe404fa4be77ece677b22d52d77a7234dbf0cffe branch October 7, 2026 21:51
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant