Skip to content

macOS/Helium: side panel rejects current native host when trust field is missing #40823

Open

Description

@sahir2k

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

26.820.60940 (build 7119)

What subscription do you have?

ChatGPT 20x Pro plan

What platform is your computer?

Darwin 27.0.0 arm64 arm

What issue are you seeing?

On macOS in Helium, ChatGPT extension 1.2.27268.51612 connects to Native Messaging, but full browser control fails with “native host is outdated”; basic current-tab reads may still work.

codexRuntime/ensure selects native host 26.820.60940 and returns a valid browserClientPath, but omits trustedBrowserClientSha256s. The side-panel schema requires that field, rejects the entire runtimeConfig, then emits the misleading outdated-host error.

The bundled and cached browser clients are byte-identical. Initializing the untouched official cached client directly makes setupBrowserRuntime() / openTabs() work.

What steps can reproduce the bug?

  1. Use macOS 27.0 arm64 with ChatGPT 26.820.60940 (build 7119).
  2. Install ChatGPT extension 1.2.27268.51612 in Helium 0.15.7.1.
  3. Open the side panel and ask it to navigate or click.
  4. It reports an outdated native host despite selecting 26.820.60940 and returning a valid browser-client path.

What is the expected behavior?

The released extension and host should negotiate compatible runtime configuration, or report the exact missing field. A current connected host should not be mislabeled as outdated.

Additional information

Helium is Chromium-based and is not on the documented supported-browser list; this report is for the concrete runtimeConfig schema mismatch. Related: #39466 (the same missing field on Windows, resolved there by a later desktop build). Reinstalling and syncing the version-aligned cache did not help.

Activity

  1. added
    app
    on Aug 26, 2026
  2. added
    bug
    app-server
    on Aug 26, 2026
  3. pych-ky commented on Aug 28, 2026

    @pych-ky

    I reproduced this same schema mismatch with the official Google Chrome, so it does not appear to be Helium-specific. This provides concrete causal evidence for this runtime-config failure path and a local recovery that may explain the broader supported-Chrome symptoms in #39972.

    Environment:

    • macOS 26.6.2 (25G83), arm64
    • ChatGPT/Codex desktop + bundled Chrome plugin/native host: 26.825.31414
    • Chrome 151.0.7922.174
    • ChatGPT Chrome extension 1.2.27268.51612_0
    • extension ID hehggadaopoacecdllhhajmbjkdcmajg

    The symptom was identical: current-tab reads worked, but click/type/navigation were unavailable and the side panel reported a missing browser-client path / outdated native host.

    Root-cause evidence

    The captured native-host runtime config contained a valid browserClientPath, but did not have its own trustedBrowserClientSha256s property. I imported the unmodified extension build's actual runtime-config parser (bb, exported as rr) and passed that captured config to it. The original parser returned null, so the valid browserClientPath was discarded and the side panel later produced the generic outdated-host message.

    In this exact extension build, the relevant schema entry in codex-sidepanel/assets/index.browser-IPlrPleG.js was:

    - trustedBrowserClientSha256s:mb});
    + trustedBrowserClientSha256s:mb.prefault([])});

    That was the only bundle change (a 13-byte insertion). With it, a missing trust property is normalized to [], the parser returns an object, and the original browserClientPath is retained. This does not fabricate or inject a browser-client hash.

    Unsupported local workaround that worked here

    1. Copy the Web Store extension into a separate unpacked directory; do not edit Chrome's managed Web Store directory.
    2. Preserve manifest.json's key unchanged, so the ID remains hehggadaopoacecdllhhajmbjkdcmajg.
    3. Remove update_url from the unpacked copy and apply the one schema change above.
    4. Load that copy as unpacked (the official and modified same-ID builds cannot both be active in one profile), restart Chrome and ChatGPT/Codex, and start a new side-panel conversation.

    After the change, I verified the real exported parser with missing/undefined/empty/mixed trust-list inputs, confirmed that unrelated missing required fields still return null, and then successfully enumerated live Chrome tabs and read Example Domain from the page's DOM <title>. The Native Messaging manifest and the runtime host registry were not modified.

    This is version-specific and unsupported. It disables Web Store auto-update for that unpacked copy, and a modified same-ID extension has the official extension origin's privileges. Back up first, use only your own trusted copy, and do not apply a blind string replacement if the exact occurrence count is not one or a newer build already accepts the missing field.

    The Windows resolution in #39466 also notes that a later app build worked even though the direct host response still omitted this field, so a final product fix may establish trust through another generated-runtime path. The local change above should therefore be treated as diagnostic evidence and a compatibility workaround, not as the only possible upstream design. A release fix should make the released host/extension pair negotiate this schema safely and add an integration test covering tab read plus click/type/navigation.

    Parser coverage should also include a missing property, undefined, [], populated/mixed values, and confirmation that an unrelated required-field absence still rejects the config. The current contribution policy says external code contributions and PRs are not accepted, so I am not opening one. I can provide additional sanitized parser test vectors or diagnostics in this issue if useful.

    Separately, I also reproduced the origin-deny persistence bug in #22019. That is an independent Browser Service fallback issue, not part of this runtime-config parser fix, so I kept the two workarounds separate.

  4. exsesx commented on Sep 18, 2026

    @exsesx

    I'd love to see official Helium support. It's my main browser, and being able to use it with the ChatGPT desktop app would be really useful.

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

    appapp-serverbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions