codex-multi-auth
Multi-account OAuth manager for the OpenAI Codex CLI with account pooling, switching and loopback proxy rotation.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 5 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
npm:undici 8.11.2undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent (GHSA-2m5v-pch6-74hx, high, fixed in 8.12.2)npm:zod 4.6.5Zod can exhaust memory while validating oversized constrained collections (GHSA-mrhx-c7xc-m3w5, high, fixed in 4.6.6)
See 3 more
npm:undici 8.11.2— GHSA-4w7w-5xrc-9h26 (high), fixed in 8.12.2npm:undici 8.11.2— GHSA-qrxm-fqhp-jwvm (high), fixed in 8.12.2npm:undici 8.11.2— GHSA-xjj6-f33q-929c (high), fixed in 8.12.2
Linux x86_64
You need first
- Runtimes:
Node.js >= 22.19
npm i -g codex-multi-auth
npm i -g codex-multi-auth
Check that it works
which codex-multi-auth && which codex-ma && which codex-multi-auth-codex && which mcodex && codex-multi-auth --versionThe output should contain “2.25.0”.
First thing to try
codex-multi-auth statusWhat it does
- Diagnostics, health checks, quota forecasts and repair toolsTested
- Maintain named pool of ChatGPT OAuth accounts with per-project poolsNot shown working
- Switch, pin and quota-aware selection of active accountNot shown working
- Runtime rotation via loopback-only proxy forwarding Responses API trafficNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 1 of 4 features work
- Works offline
Windows and macOS: the project says it runs there; pickfit hasn’t tried it.
Good for
- Manage multiple ChatGPT OAuth accounts for Codex CLI
- Switch active Codex account and preview best account for next request
- Rotate accounts across live Codex requests via loopback proxy
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 2 Nov 2026
- Version 2.25.0