Codex CLI does not expose actionable diagnostics for suspected cyber-safety
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
0.147.0
What subscription do you have?
pro
Which model were you using?
5.6-sol-max
What platform is your computer?
Linux 6.8.0-52-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
WARNING: failed to clean up stale arg0 temp dirs: Permission denied (os error 13)
{
"schemaVersion": 1,
"generatedAt": "1786408792s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.147.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is running",
"details": {
"app-server version": "0.147.0",
"control socket": "/home/xinhuishao/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/home/xinhuishao/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "/home/xinhuishao/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/home/xinhuishao/.codex/app-server-daemon/settings.json (missing)",
"status": "running",
"update-loop pid file": "/home/xinhuishao/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 43
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "/home/xinhuishao/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "/home/xinhuishao/.codex",
"config.toml": "/home/xinhuishao/.codex/config.toml",
"config.toml parse": "ok",
"cwd": "/home/xinhuishao/my-works/llm-rtos-analysis",
"enabled feature flags": "shell_tool, view_image, unified_exec, shell_snapshot, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, workspace_dependencies",
"feature flag overrides": "none",
"feature flags enabled": "39",
"log dir": "/home/xinhuishao/.codex/log",
"mcp servers": "1",
"model": "gpt-5.6-sol",
"model provider": "openai",
"sqlite home": "/home/xinhuishao/.codex"
},
"remediation": null,
"durationMs": 1
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.43.0",
"details": {
".git entry": "directory",
"PATH git #1": "/usr/bin/git",
"PATH git #2": "/bin/git",
"PATH git entries": "2",
"git branch": "agent/freeze-execution-feedback-klee-loop-bound",
"git build options": "git version 2.43.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh",
"git exec path": "/usr/lib/git-core",
"git version": "git version 2.43.0",
"repo detected": "true",
"repo root": "/home/xinhuishao/my-works/llm-rtos-analysis",
"selected git": "/usr/bin/git"
},
"remediation": null,
"durationMs": 31
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/home/xinhuishao/.local/bin/codex",
"PATH codex #2": "/snap/bin/codex",
"PATH codex entries": "2",
"current executable": "/home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin/codex",
"install context": "standalone (unix, package /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl, bin /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin, resources /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-resources, path /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-path)",
"managed by bun": "false",
"managed by npm": "false",
"managed by pnpm": "false",
"managed package root": "not set"
},
"remediation": null,
"durationMs": 0
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "1",
"disabled servers": "0",
"streamable_http servers": "1"
},
"remediation": null,
"durationMs": 814
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 765
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 2 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 1350
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running standalone on linux-x86_64",
"details": {
"commit": "unknown",
"current executable": "/home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin/codex",
"install method": "standalone (unix, package /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl, bin /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin, resources /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-resources, path /home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-path)",
"platform": "linux-x86_64",
"version": "0.147.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "/home/xinhuishao/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "Never",
"codex-linux-sandbox helper": "/home/xinhuishao/.codex/tmp/arg0/codex-arg0ekWza7/codex-linux-sandbox",
"execve wrapper helper": "/home/xinhuishao/.codex/tmp/arg0/codex-arg0ekWza7/codex-execve-wrapper",
"filesystem sandbox": "unrestricted",
"network sandbox": "enabled"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/home/xinhuishao/.codex (dir)",
"active rollout files": "68 files, 2274909434 total bytes, 33454550 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "/home/xinhuishao/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/home/xinhuishao/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/home/xinhuishao/.codex/log (missing)",
"memories DB": "/home/xinhuishao/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"queue DB": "/home/xinhuishao/.codex/queue_1.sqlite (file)",
"queue DB integrity": "ok",
"sqlite home": "/home/xinhuishao/.codex (dir)",
"standalone release cache": "10 entries in /home/xinhuishao/.codex/packages/standalone/releases",
"state DB": "/home/xinhuishao/.codex/state_5.sqlite (file)",
"state DB integrity": "ok",
"thread history DB": "/home/xinhuishao/.codex/thread_history_1.sqlite (missing)",
"thread history DB integrity": "skipped (missing)"
},
"remediation": null,
"durationMs": 188
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "ok",
"summary": "rollout files and state DB thread inventory agree",
"details": {
"default model provider": "openai",
"rollout DB active files": "68",
"rollout DB active rows": "68",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "0",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=68",
"rollout DB rows": "68",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "vscode=36, subagent:thread_spawn=26, exec=5, cli=1",
"rollout DB stale rows": "0"
},
"remediation": null,
"durationMs": 54
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language en-US",
"details": {
"EDITOR": "not set",
"LANG": "en_US.UTF-8",
"LC_ALL": "en_US.UTF-8",
"VISUAL": "not set",
"os": "Ubuntu 24.4.0 (noble) [64-bit]",
"os language": "en-US",
"os type": "Ubuntu",
"os version": "24.4.0"
},
"remediation": null,
"durationMs": 6
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "warning",
"summary": "height 23 rows - content may scroll off (recommended >=24)",
"details": {
"SSH_CLIENT": "present",
"SSH_CONNECTION": "present",
"SSH_TTY": "present",
"TERM": "xterm-256color",
"color output": "enabled",
"effective locale": "en_US.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "unknown",
"terminal size": "92x23"
},
"issues": [
{
"severity": "warning",
"cause": "height 23 rows - content may scroll off (recommended >=24)",
"measured": "92 x 23",
"expected": ">= 24 rows",
"remedy": "resize the window to at least 24 rows",
"fields": [
"terminal size"
]
}
],
"remediation": null,
"durationMs": 0
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "git repo root",
"terminal title project value": "llm-rtos-analysis",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.147.0",
"check for update on startup": "true",
"last checked at": "2026-08-10T14:50:28.433384272Z",
"latest version": "0.147.0",
"latest version status": "current version is not older",
"update action": "standalone installer",
"version cache": "/home/xinhuishao/.codex/version.json"
},
"remediation": null,
"durationMs": 1716
}
}
}
What issue are you seeing?
ⓘ This content can't be shown
We take extra caution with cybersecurity requests. If you’re a security professional,
you may be able to apply for Trusted Access.
Trusted Access: https://openai.com/form/enterprise-trusted-access-for-cyber/
Learn more: https://help.openai.com/en/articles/20001326
What steps can reproduce the bug?
Uploaded thread: 019fd9b2-6cff-7430-aa28-d255b7283410
What is the expected behavior?
If a cybersecurity safeguard blocks a request, Codex CLI should expose a
machine-readable error containing at least:
- whether the failure is policy-related;
- the relevant policy/error category, such as cyber_policy;
- whether retrying the same request is meaningful;
- a request or trace ID suitable for support;
- a short user-facing appeal/reporting instruction.
If the failure is not policy-related, the CLI should distinguish timeout,
transport/backend failure, sandbox initialization failure, and local
post-execution validation failure.
Additional information
I can provide the sanitized session transcript and stderr privately. No API
keys, authentication files, source credentials, or raw vulnerability payloads
will be included.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported behavior with Codex CLI 0.147.0 on Linux using the supplied configuration and model details. The issue names no source file, test, or entry point, so first locate the cyber-safety handling and its existing diagnostics path. Done should mean that suspected cyber-safety cases expose clear, actionable diagnostics, with regression coverage for the reported scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100