codex - 💡(How to fix) Fix Codex agent accidentally triggered Chrome plugin install prompt while trying to request filesystem permission.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

What happened:

  1. The agent verified both HyperFrames entries existed.
  2. The agent attempted to edit config.toml, but the edit was blocked because C:\Users\<USER>\.codex was outside the normal writable workspace.
  3. Instead of correctly requesting filesystem permission or stopping, the agent accidentally invoked the plugin install flow for chrome@openai-bundled.
  4. This surfaced a user-facing prompt: “Install Chrome? Control Chrome with Codex.”
  5. Chrome/browser control was unrelated to the HyperFrames cleanup task.
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex 26.513.31313

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

While using Codex desktop, the agent accidentally triggered an unrelated Chrome plugin install prompt while trying to continue a local filesystem cleanup task.

Context:

  • Codex App version: Codex 26.513.31313
  • Codex CLI version: codex-cli 0.130.0
  • Subscription: ChatGPT Plus
  • Platform: Microsoft Windows NT 10.0.26200.0 x64
  • Time: 2026-05-17 around 08:48-08:52 Asia/Jakarta (+07:00)

What I asked the agent to do: Clean up duplicate HyperFrames plugin entries by keeping the local rich HyperFrames install and removing/disabling the duplicate hyperframes@openai-curated entry.

The intended local actions were:

  • Edit C:\Users\<USER>\.codex\config.toml
  • Remove C:\Users\<USER>\.codex\plugins\cache\openai-curated\hyperframes

What happened:

  1. The agent verified both HyperFrames entries existed.
  2. The agent attempted to edit config.toml, but the edit was blocked because C:\Users\<USER>\.codex was outside the normal writable workspace.
  3. Instead of correctly requesting filesystem permission or stopping, the agent accidentally invoked the plugin install flow for chrome@openai-bundled.
  4. This surfaced a user-facing prompt: “Install Chrome? Control Chrome with Codex.”
  5. Chrome/browser control was unrelated to the HyperFrames cleanup task.

Expected behavior: When filesystem access is blocked, the agent should either:

  • request the specific filesystem permission needed, or
  • stop and explain that it cannot proceed.

It should not trigger an unrelated plugin install prompt.

Impact: This is confusing and potentially risky because a user could approve an unrelated plugin install while believing it is required for the original task.

<img width="1543" height="248" alt="Image" src="https://github.com/user-attachments/assets/b9b6fc73-00ad-4bb5-9b0b-7d2d5c131ffb" />

What steps can reproduce the bug?

I do not know if this reproduces deterministically, but these were the steps in my session:

  1. Start in Codex Desktop on Windows with a workspace at C:\Users\<USER>\Primary Intel.
  2. Have two HyperFrames plugin entries present:
    • hyperframes@home-local
    • hyperframes@openai-curated
  3. Ask the agent to clean up the duplicate HyperFrames install by:
    • keeping hyperframes@home-local
    • removing/disabling hyperframes@openai-curated
    • deleting C:\Users\<USER>\.codex\plugins\cache\openai-curated\hyperframes
  4. The agent attempted to edit C:\Users\<USER>\.codex\config.toml.
  5. The edit was blocked because .codex was outside the writable workspace.
  6. The agent then attempted to request permission, but instead invoked the plugin-install flow for chrome@openai-bundled.
  7. Codex displayed an unrelated prompt: “Install Chrome? Control Chrome with Codex.”

No browser or Chrome access was needed for the requested HyperFrames cleanup.

What is the expected behavior?

If the agent needs filesystem access to continue a task, it should request the specific filesystem permission needed or stop and explain that it cannot proceed.

It should not invoke an unrelated plugin-install flow.

In this case, the expected behavior was one of:

  1. Request permission to edit/remove files under C:\Users\<USER>\.codex, specifically:

    • C:\Users\<USER>\.codex\config.toml
    • C:\Users\<USER>\.codex\plugins\cache\openai-curated\hyperframes
  2. Or stop and explain that the cleanup could not continue because the required .codex write access was unavailable.

The agent should not show an “Install Chrome?” prompt because Chrome/browser control was unrelated to the task.

Additional information

I interrupted/stopped the agent after the unexpected Chrome plugin prompt appeared.

The agent later stated that the Chrome prompt was caused by an incorrect tool call: it used the plugin-install prompt mechanism for chrome@openai-bundled while trying to recover from a blocked filesystem edit. The agent confirmed Chrome/browser access was unrelated to the task.

Verified state after interruption:

  • The HyperFrames cleanup was not completed.
  • hyperframes@home-local was still present in C:\Users\<USER>\.codex\config.toml.
  • hyperframes@openai-curated was still present in C:\Users\<USER>\.codex\config.toml.
  • The duplicate curated cache folder still existed.
  • The local rich HyperFrames install still existed.

The concerning part is not just that the task failed, but that a user-facing install prompt for an unrelated plugin appeared during a filesystem cleanup flow. A user could reasonably think the Chrome install was required to continue the original task.

<img width="970" height="783" alt="Image" src="https://github.com/user-attachments/assets/d7bec87d-f2e3-4cfc-bba2-236e5b37c641" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex agent accidentally triggered Chrome plugin install prompt while trying to request filesystem permission.