codex - 💡(How to fix) Fix GitHub plugin connector shows unrelated installed accounts and a private repo after reinstall

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

Because the connector returned an unrelated private repository with write permissions, please advise whether this should be handled as a private security report and what diagnostic bundle is safe to provide.

RAW_BUFFERClick to expand / collapse

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

Version 26.519.41501 (3044)

What subscription do you have?

chatgpt plus

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

The official OpenAI GitHub plugin shows GitHub App installations for unrelated accounts after I removed my old manually configured GitHub MCP server and reinstalled the official GitHub plugin in Codex.

The connector reports two GitHub accounts that are not mine. It also returns repositories from those accounts, including a private repository with push=true.

This looks like a possible cross-account authorization or data isolation issue.

Environment:

  • Product: Codex Desktop / Codex app
  • Platform: macOS
  • Codex runtime: 0.133.0-alpha.1
  • Auth mode: ChatGPT auth
  • Plugin: github@openai-curated
  • GitHub plugin version: 0.1.0
  • Plugin repository from manifest: https://github.com/openai/plugins

What steps can reproduce the bug?

  1. Remove the old manually configured GitHub MCP servers from config.toml.
  2. Reinstall or enable the official OpenAI GitHub plugin, github@openai-curated.
  3. Restart Codex.
  4. Run codex doctor --json.
  5. Confirm that the old GitHub MCP server is gone. In my case, codex doctor shows one configured MCP server and mcp.config = ok.
  6. Call the official GitHub connector tool _list_installed_accounts.
  7. Actual result: it returns unrelated GitHub accounts.
  8. Call _list_installations.
  9. Actual result: it returns GitHub App installations for those unrelated accounts.
  10. Call _search_installed_repositories_v2("my-github-username").
  11. Actual result: it returns an empty list.
  12. Call _search_installed_repositories_v2("a").
  13. Actual result: it returns repositories from an unrelated account, including a private repository with push=true.

Additional observation:

Direct lookup for my public repositories can return metadata and permissions, but installed-account search still shows unrelated accounts. This suggests that different connector methods may be using inconsistent auth or installation state.

What is the expected behavior?

The GitHub connector should only show GitHub App installations and repositories for the GitHub account connected to my Codex account.

It should not show unrelated user accounts, unrelated GitHub App installations, or private repositories belonging to other users.

If the connector is not connected to my intended GitHub account, it should show a clear disconnected or re-authentication-required state, not another user's installations.

Because the connector returned an unrelated private repository with write permissions, please advise whether this should be handled as a private security report and what diagnostic bundle is safe to provide.

Additional information

No response

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 GitHub plugin connector shows unrelated installed accounts and a private repo after reinstall