Repository navigation
fix(container): support Codex 0.156.1 with Bubblewrap - #997
mldangelo-oai merged 3 commits into
Conversation
Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript). Bumps the codex group with 1 update in the /plugins/codex-security/skills/triage-finding/evals directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript). Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli). Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) Updates `@openai/codex` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/codex-cli) Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1 - [Release notes](https://github.com/openai/codex/releases) - [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript) --- updated-dependencies: - dependency-name: "@openai/codex" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.156.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex ... Signed-off-by: dependabot[bot] <[email protected]>
566a14a to
9187264
Compare
mldangelo-oai
left a comment
There was a problem hiding this comment.
This version bump breaks the supported hardened Docker sandbox. In run 35841397956, both architecture validation jobs and the container CI job fail after the host blocks nested Bubblewrap namespaces: the existing Landlock fallback exits with filesystem-restricted execution requires bubblewrap to isolate app-server sockets (exit 101).
Codex 0.156.1 explicitly rejects that fallback for filesystem-restricted execution. This needs a compatible container runtime path before the CLI and SDK upgrade can merge. Keep the filesystem restrictions in place.
Upstream behavior: https://github.com/openai/codex/blob/rust-v0.156.1/codex-rs/linux-sandbox/src/linux_run_main.rs#L405-L411
Reviewed head: 9187264ae4faa65ad7d3dcc4afadbfbe0afeb823. No tests were run locally.
|
@codex review Please review head |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
mldangelo-oai
left a comment
There was a problem hiding this comment.
The container incompatibility from my earlier review is fixed. The entrypoint no longer selects the unsupported Landlock fallback. CI verifies the required Bubblewrap sandbox with the existing AppArmor profile, seccomp policy, dropped capabilities, and no-new-privileges setting on both amd64 and arm64. Explicit Codex settings are preserved, and the documentation covers the required setup on restricted hosts. The three dependency manifests and lockfiles remain aligned after merging main. Current-head node-ci run 35901764568 passed with 45 successful jobs and two intentional skips; both CodeQL workflows and Codex code/security reviews also passed. No unresolved review threads remain. No tests were run locally.
Summary
Upgrade the Codex CLI and SDK to 0.156.1 and fix container compatibility with its required Bubblewrap sandbox.
The previous container checks fell back to legacy Landlock when the host blocked nested namespaces. Codex 0.156.1 rejects that mode for filesystem-restricted execution, which caused all three container jobs to fail.
Changes
Testing
git diff --check.Risk and rollout
On hosts that restrict nested user namespaces, an administrator must install the existing AppArmor profile and use
compose.apparmor.yamlbefore running scans with this Codex version. The documentation includes those commands. The container's nonroot user, seccomp policy, and dropped capabilities remain in place. The AppArmor profile itself is unchanged.Public disclosure review