Skip to content

Blocked of some tasks in Codex CLI (Cybersecurity reason) #42171

Open

Description

@lexkocreative

What version of Codex CLI is running?

0.151.0

What subscription do you have?

Pro

Which model were you using?

gpt 5.6 Sol Ultra

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

Ghostty

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1788313223s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.151.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/Users/lexkozynko/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/Users/lexkozynko/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/Users/lexkozynko/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/Users/lexkozynko/.codex/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/Users/lexkozynko/.codex/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "/Users/lexkozynko/.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": "/Users/lexkozynko/.codex",
        "config.toml": "/Users/lexkozynko/.codex/config.toml",
        "config.toml parse": "ok",
        "cwd": "/Users/lexkozynko/Documents/AI_Factory/Obsidian_AI_Factory/factory-engine",
        "enabled feature flags": "shell_tool, view_image, unified_exec, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, unbounded_connection_retries, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, 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, compaction_image_budget, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "46",
        "log dir": "/Users/lexkozynko/.codex/log",
        "mcp servers": "6",
        "model": "gpt-5.6-sol",
        "model provider": "openai",
        "sqlite home": "/Users/lexkozynko/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app.version": {
      "id": "desktop.app.version",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application is installed",
      "details": {
        "log directory": "$HOME/Library/Logs/com.openai.codex",
        "running": "true",
        "version": "26.825.51511"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app_server.handshake": {
      "id": "desktop.app_server.handshake",
      "category": "desktop",
      "status": "ok",
      "summary": "no desktop app-server handshake was recorded",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "desktop.security.enforcement": {
      "id": "desktop.security.enforcement",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application passed available macos security assessments",
      "details": {
        "gatekeeper": "accepted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.42.0",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/opt/homebrew/bin/git",
        "PATH git #2": "/usr/bin/git",
        "PATH git entries": "2",
        "git branch": "auto/agent-work",
        "git build options": "git version 2.42.0; cpu: arm64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; feature: fsmonitor--daemon",
        "git exec path": "/opt/homebrew/opt/git/libexec/git-core",
        "git version": "git version 2.42.0",
        "repo detected": "true",
        "repo root": "/Users/lexkozynko/Documents/AI_Factory/Obsidian_AI_Factory/factory-engine",
        "selected git": "/opt/homebrew/bin/git"
      },
      "remediation": null,
      "durationMs": 143
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/Users/lexkozynko/.local/bin/codex",
        "PATH codex #2": "/Users/lexkozynko/.local/bin/codex",
        "PATH codex entries": "2",
        "current executable": "/Users/lexkozynko/.local/bin/codex",
        "install context": "standalone (unix, package /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin, bin /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/bin, resources /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-resources, path /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-path)",
        "managed by bun": "false",
        "managed by npm": "false",
        "managed by pnpm": "false",
        "managed package root": "not set"
      },
      "remediation": null,
      "durationMs": 3
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "warning",
      "summary": "MCP configuration has optional issues",
      "details": {
        "configured servers": "6",
        "disabled servers": "2",
        "pencil": "stdio command \"/Applications/Pencil.app/Contents/Resources/app.asar.unpacked/out/mcp-server-darwin-arm64\" is not resolvable (No such file or directory (os error 2))",
        "stdio servers": "5",
        "streamable_http servers": "1"
      },
      "remediation": "Set the missing MCP env vars or disable the affected server.",
      "durationMs": 1208
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "managed proxy": "not configured",
        "proxy env vars": "none",
        "respect system proxy": "disabled",
        "system proxy": "direct"
      },
      "remediation": null,
      "durationMs": 1
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
        "desktop assets CDN": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 200)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 541
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 2 IPv6, first IPv6",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 2041
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running standalone on macos-aarch64",
      "details": {
        "commit": "unknown",
        "current executable": "/Users/lexkozynko/.local/bin/codex",
        "install method": "standalone (unix, package /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin, bin /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/bin, resources /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-resources, path /Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-path)",
        "platform": "macos-aarch64",
        "version": "0.151.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "/Users/lexkozynko/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/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": "OnRequest",
        "codex-linux-sandbox helper": "none",
        "execve wrapper helper": "/Users/lexkozynko/.codex/tmp/arg0/codex-arg0I49hem/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "no supported endpoint protection detected",
      "details": {
        "endpoint products": "none detected"
      },
      "remediation": null,
      "durationMs": 10
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/Users/lexkozynko/.codex (dir)",
        "active rollout files": "81956 files, 7729793441 total bytes, 94316 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/Users/lexkozynko/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/Users/lexkozynko/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/Users/lexkozynko/.codex/log (missing)",
        "memories DB": "/Users/lexkozynko/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "/Users/lexkozynko/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/Users/lexkozynko/.codex (dir)",
        "standalone release cache": "5 entries in /Users/lexkozynko/.codex/packages/standalone/releases",
        "state DB": "/Users/lexkozynko/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/Users/lexkozynko/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 12962
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "warning",
      "summary": "rollout files and state DB thread inventory differ",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "10000",
        "rollout DB active rows": "81955",
        "rollout DB archive mismatches": "skipped (scan cap reached)",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread id sample": "01a05af6-ddb0-7641-8cc5-c787f2ccbe70",
        "rollout DB duplicate rollout thread ids": "1",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "1",
        "rollout DB missing active sample": "/Users/lexkozynko/.codex/sessions/2026/09/01/rollout-2026-09-01T11-15-23-01a05af6-ddb0-7641-8cc5-c787f2ccbe70.jsonl",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=81955",
        "rollout DB rows": "81955",
        "rollout DB scan cap reached": "true",
        "rollout DB scan errors": "0",
        "rollout DB sources": "exec=80811, subagent:thread_spawn=620, vscode=388, subagent:other=122, cli=14",
        "rollout DB stale rows": "skipped (scan cap reached)"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "rollout files are missing from the state DB",
          "measured": "1 active, 0 archived",
          "expected": "every rollout file has a matching threads row",
          "remedy": null,
          "fields": []
        },
        {
          "severity": "warning",
          "cause": "duplicate thread inventory entries found",
          "measured": "1 duplicate rollout thread ids, 0 duplicate DB paths",
          "expected": "one rollout path and thread id per thread",
          "remedy": "Attach the doctor report to a bug report so support can inspect samples.",
          "fields": []
        },
        {
          "severity": "warning",
          "cause": "rollout scan was incomplete or found bad files",
          "measured": "0 scan errors, 0 malformed names, scan cap reached: true",
          "expected": "rollout directories are fully scannable",
          "remedy": "Check file permissions and unexpected files under CODEX_HOME sessions.",
          "fields": []
        }
      ],
      "remediation": null,
      "durationMs": 4894
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (48.9 GiB)",
      "details": {
        "CODEX_HOME available": "48.9 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "48.9 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-PL",
      "details": {
        "EDITOR": "not set",
        "LANG": "en_US.UTF-8",
        "VISUAL": "not set",
        "os": "Mac OS 15.7.7 [64-bit]",
        "os language": "en-PL",
        "os type": "Mac OS",
        "os version": "15.7.7"
      },
      "remediation": null,
      "durationMs": 7
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "COLORTERM": "truecolor",
        "TERMINFO": "/Volumes/Ghostty/Ghostty.app/Contents/Resources/terminfo (dir)",
        "TERM_PROGRAM": "ghostty",
        "color output": "enabled",
        "effective locale": "en_US.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "Ghostty",
        "terminal size": "90x57",
        "terminal version": "1.3.1"
      },
      "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": "factory-engine",
        "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.151.0",
        "check for update on startup": "true",
        "last checked at": "2026-08-29T23:54:17.694709Z",
        "latest version": "0.152.1",
        "latest version status": "newer version is available",
        "update action": "standalone installer",
        "version cache": "/Users/lexkozynko/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 438
    }
  }
}

What issue are you seeing?

Or mention your thread ID 01a00e44-5142-7e52-9d5e-023a9ec78177 in an existing issue.

What steps can reproduce the bug?

Uploaded thread: 01a00e44-5142-7e52-9d5e-023a9ec78177

What is the expected behavior?

No response

Additional information

Or mention your thread ID 01a00e44-5142-7e52-9d5e-023a9ec78177 in an existing issue.

Activity

  1. added
    bug
    on Sep 2, 2026
  2. added
    CLI
    safety-check
    on Sep 2, 2026
  3. github-actions commented on Sep 2, 2026

    @github-actions
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugsafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions