Codex CLI

Codex CLI provides OpenAI model access for general security analysis and code-oriented workflows.

Requirements

  • codex CLI installed.

  • OPENAI_API_KEY available in the Burp runtime environment.

Setup

  1. Install CLI:

npm install -g @openai/codex
  1. Export API key:

export OPENAI_API_KEY="sk-..."
  1. Verify locally:

codex "hello"
  1. Configure in AI Backend settings tab.

Configuration

Setting
Value

Preferred Backend

Codex CLI

Codex CLI Command

codex chat (default)

Model example:

Notes

Windows + WSL bridge

If Burp runs on Windows and Codex runs in WSL, set Codex CLI Command to a .cmd wrapper that forwards args into WSL.

Wrapper example:

Troubleshooting

circle-info
  • command not found: use full binary path or npm shim path.

  • Windows npm shim example: C:\\Users\\<you>\\AppData\\Roaming\\npm\\codex.cmd.

  • Auth errors: verify OPENAI_API_KEY in Burp runtime env.

  • Rate limits: check provider quota/tier.

Last updated