Skip to content

fix(container): support Codex 0.156.1 with Bubblewrap - #997

Merged
mldangelo-oai merged 3 commits into
mainfrom
dependabot/npm_and_yarn/plugins/codex-security/mcp-app/codex-2b6b0fd388
Sep 23, 2026
Merged

mldangelo-oai merged 3 commits into
mainfrom
dependabot/npm_and_yarn/plugins/codex-security/mcp-app/codex-2b6b0fd388

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Update the CLI, MCP app, and eval dependency pins and lockfiles together.
  • Remove automatic Landlock selection from the container entrypoint and preserve explicit Codex settings.
  • Have container CI load the existing AppArmor profile and verify Bubblewrap with the existing seccomp policy, dropped capabilities, and no-new-privileges setting.
  • Update entrypoint regression coverage and document the required Compose override on hosts that restrict nested user namespaces.
  • Retain the dependency upgrades already merged into main.

Testing

  • Passed shell syntax checks and ShellCheck for the entrypoint and shared container verification script.
  • Passed Prettier checks for changed workflows, TypeScript, and Markdown.
  • Parsed both workflow files and all three lockfiles; dependency specifiers match their manifests.
  • Passed git diff --check.
  • No tests were run locally. CI will run the entrypoint suite, full package checks, and native amd64/arm64 container validation on the updated head.

Risk and rollout

On hosts that restrict nested user namespaces, an administrator must install the existing AppArmor profile and use compose.apparmor.yaml before 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

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 23, 2026
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]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/plugins/codex-security/mcp-app/codex-2b6b0fd388 branch from 566a14a to 9187264 Compare September 23, 2026 09:10

@mldangelo-oai mldangelo-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

CI evidence: https://github.com/openai/codex-security/actions/runs/35841397956/job/107118862345

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.

@mldangelo-oai mldangelo-oai changed the title chore(deps): bump the codex group across 3 directories with 2 updates fix(container): support Codex 0.156.1 with Bubblewrap Sep 23, 2026
@github-actions github-actions Bot added the bug Something isn't working label Sep 23, 2026
@mldangelo-oai

Copy link
Copy Markdown
Collaborator

@codex review

Please review head 20ea90c5ed009bd04bbfba506316762c1b85a6a2, including the container sandbox compatibility and security implications. It removes the unsupported automatic Landlock fallback, uses the existing AppArmor profile for Bubblewrap in CI, and preserves explicit Codex settings. Main was merged additively to retain the other dependency upgrades. Tests are delegated to CI.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-23T18:18:17.962480Z 20ea90c Manual request
🔒 Security Review ✅ Completed 2026-09-23T18:19:45.498481Z 20ea90c New commits
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 20ea90c5ed

ℹ️ 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".

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 mldangelo-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mldangelo-oai
mldangelo-oai merged commit ccf5a3f into main Sep 23, 2026
72 of 86 checks passed
@mldangelo-oai
mldangelo-oai deleted the dependabot/npm_and_yarn/plugins/codex-security/mcp-app/codex-2b6b0fd388 branch September 23, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant