Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@agentclientprotocol/codex-acp

Latest version: v2.10.1-preview.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: aguzubiaga, benbrandt
591 Stars
218 Forks
148 Versions
3.8M Downloads
TypeScript Repo language

Scan summary

@agentclientprotocol/codex-acp was last scanned on 23 Nov 2026 at version 2.10.1-preview.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 148 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 2.10.1-preview.3.
  • Downloads: 3,778,513 downloads.

Versions

148 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.10.1-preview.3 LATEST 23 Nov 2026 No rules fired
2.10.1-preview.2 23 Nov 2026 No rules fired
2.10.1-preview.1 23 Nov 2026 No rules fired
2.10.0 23 Nov 2026 Not shown
2.9.1-preview.1 23 Nov 2026 Not shown

No rules fired in 2.10.1-preview.3

Findings

Findings for v2.10.1-preview.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.10.1-preview.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ACP adapter for Codex CLI

npm version

Use OpenAI Codex from Agent Client Protocol clients.

codex-acp is a stdio ACP agent server. It starts the Codex App Server, translates ACP requests into Codex operations, and maps Codex events back into the client.

Features

  • ChatGPT, API key, and client-provided custom gateway authentication.
  • Model, reasoning effort, fast mode, approval, sandbox mode, and configured Codex permission profile selection.
  • Concrete recommended model and reasoning-effort values through the opt-in AIR recommended config values capability.
  • Text prompts, embedded context, images, resource links, and additional workspace directories.
  • Shell command, file change, permission request, MCP tool call, terminal output, reasoning, plan, web search, image generation, image view, token usage, and review events.
  • Compact file changes through the negotiated AIR diff patch extension.
  • For AIR, one tool call shape with each fact in one field, as the tool call contract defines. Other clients keep the earlier fields.
  • Native ACP subagent sessions (after capability negotiation) with separate child histories and root-routed permissions; a legacy tool-call fallback otherwise.
  • Mid-turn input through the _session/steering extension, with an opt-in host-owned fallback when no turn can accept it.
  • Async Codex questions as non-blocking form elicitations, with answers steered into the turn that asked them.
  • Background terminal tasks in AIR, with task status and targeted stop support after capability negotiation.
  • Session-scoped long-running goals in AIR through the goal extension.
  • Typed warnings and errors through the opt-in AIR session failure extension.
  • All AIR extensions, capabilities, and _meta keys: AIR extensions.
  • A per-turn agent file-change report after capability negotiation.
  • Client-provided MCP servers over stdio, HTTP, or the existing ACP connection (MCP-over-ACP).
  • Slash commands: /status, /mcp (with /mcp reconnect), /skills, /goal, /review, /review-branch, /review-commit, /compact, and /logout, as well as configured skills.

Installation

Run the published package directly:

npx -y @agentclientprotocol/codex-acp

Or install it globally:

npm install -g @agentclientprotocol/codex-acp
codex-acp --version

The npm package includes a compatible @openai/codex dependency. Set CODEX_PATH only when you want the adapter to run a different Codex binary:

CODEX_PATH=/path/to/codex npx -y @agentclientprotocol/codex-acp

To try changes that have landed on main but are not released yet, install from the preview channel. Pushes to main trigger preview publishing without waiting for CI or release-please; release commits are excluded, and newer pushes can replace queued previews. See docs/RELEASES.md.

npx -y @agentclientprotocol/codex-acp@preview

Authentication

The adapter advertises ACP auth methods during initialization. Clients can authenticate with:

  • ChatGPT login. Set NO_BROWSER=1 to hide this method in remote or browserless environments.
  • API key via CODEX_API_KEY or OPENAI_API_KEY.
  • A custom OpenAI-compatible gateway, when the client opts in to the gateway auth capability.

Clients can query authentication status before starting a session.

Runtime options

  • CODEX_API_KEY - API key used when the API-key auth method is selected. Takes precedence over OPENAI_API_KEY.
  • OPENAI_API_KEY - fallback API key used when the API-key auth method is selected.
  • CODEX_PATH - run a specific Codex executable instead of the bundled package dependency.
  • CODEX_CONFIG - JSON object merged into the Codex session config.
  • MODEL_PROVIDER - model provider to pass to Codex for new sessions.
  • DEFAULT_AUTH_REQUEST - ACP auth request JSON used when Codex requires authentication.
  • INITIAL_AGENT_MODE - initial mode id: read-only, workspace-write, agent, agent-full-access, or permission-profile:<profile-id>.
  • NO_BROWSER - hide browser-based ChatGPT auth when set.
  • APP_SERVER_LOGS - directory for adapter logs.

Development

npm install
npm run start
npm run typecheck
npm test

Build standalone binaries in dist/bin with:

npm run bundle:all

See readme-dev.md for local client configuration, binary packaging, and Codex type regeneration.

Subagent sessions

Codex subagents are reported as ACP child sessions. A v1 client opts in with clientCapabilities.subagents: {} during initialize. A v2 client gets them without negotiation. The adapter announces each child with subagent_update, reports delegated tasks as session_message, and references children from collaboration tool calls with session content. A client can cancel a child's current work with session/cancel.

JetBrains AIR clients keep an older private contract instead. Without either contract, the subagent lifecycle stays an ordinary ACP tool call.

See docs/subagent-sessions.md for both contracts, session/load replay, and the fallback.

Background work

ACP v2 shows detached children and background terminals in the session's background list. Clients can stop a listed terminal without cancelling the foreground turn.

See Background work for the v2 lifecycle and cancel methods, or AIR async tasks for the existing AIR extension.

License

By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @agentclientprotocol/codex-acp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229