openai / openai/codex

Android Sandbox Backend

Open
#44,840 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CLI enhancement sandbox
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

CLI

What feature would you like to see?

I’ve implemented a working Android sandbox backend for Codex using seccomp + ptrace.

It enforces the existing "FileSystemSandboxPolicy" per syscall, works without Landlock or root, fails closed if the sandbox cannot be established, and supports both Termux and embedded Android app-server builds.

Before I prepare an upstream PR: would there be interest in adding an Android sandbox backend to Codex?

Implementation and technical details:
https://github.com/Mcpasi/codex-termux/blob/main/docs/android_sandbox.md

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked docs/android_sandbox.md implementation and compare its stated seccomp, ptrace, and FileSystemSandboxPolicy behavior with Codex's existing sandbox backends. Before coding, establish the upstream scope and integration points; done would require an agreed design and implementation plan for Android support.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
cli, mobile-dev, operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.