Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex/ChatGPT Desktop 26.818.41509 (build 6962)
- Bundled Browser plugin:
26.818.41509 - Bundled Chrome plugin:
26.818.41509 - Bundled Codex CLI:
0.149.0
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
macOS 26.5.2 (build 25F84), Apple Silicon.
What issue are you seeing?
Chrome control cannot initialize under the managed development permission profile after removing only the explicit Browser cache read rule that was previously required as a workaround.
The active filesystem profile during the test was:
default_permissions = "development"
[permissions.development.filesystem]
":root" = "write"
[permissions.development.filesystem.":workspace_roots"]
".env" = "read"
".env.local" = "read"This was the complete effective filesystem profile, not an excerpt: there was no project-level permission profile, inheritance, home-directory deny, or legacy sandbox selector. The source-managed profile and modifier that removes legacy sandbox selectors are pinned to immutable commit 8d546bd; the reproduction removed only the Browser-cache read entry shown there.
The generated configuration still included the user's Codex home directory in NODE_REPL_TRUSTED_CODE_PATHS, and NODE_REPL_TRUSTED_SERVICES.browser pointed to the installed bundled Browser service. Chrome initialization nevertheless stopped before browser discovery with:
Trusted RPC dependency must resolve within a configured trusted code path: file:///Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.818.41509/scripts/browser-service.mjs
No page was opened, so the requested example.com title was not available.
What steps can reproduce the bug?
-
Start with the managed
developmentpermission profile shown above. -
Remove only this explicit local workaround from the live configuration:
"/Users/<redacted>/.codex/plugins/cache/openai-bundled/browser" = "read"
-
Fully quit and restart Codex/ChatGPT Desktop.
-
Create a new task.
-
Confirm that the live filesystem permission table does not contain an explicit Browser cache read rule.
-
Ask the bundled Chrome plugin to open
https://example.comand return the page title. -
Observe that initialization fails with the trusted RPC path error above before Chrome discovery or navigation.
Fresh reproduction task ID: 01a02f73-b129-7183-b659-f44784b22b6f.
The test made one Chrome initialization attempt. It did not modify configuration, retry, or use another browser.
What is the expected behavior?
The bundled Chrome integration should initialize under the configured managed permission profile and open the requested page without requiring a user-added read rule for the bundled Browser service cache.
Additional information
This is a current macOS follow-up to #39136, whose primary report is Windows-scoped and is now closed. I previously documented the same macOS error and the controlled read-rule workaround in this comment.
Issue #39591 also reports a macOS Browser initialization failure, but its observed error is trusted Node process exited unexpectedly; this reproduction stops on the trusted RPC service-path validation error shown above.
After collecting the fresh-task result, the explicit Browser cache read rule was restored in the live configuration and the configuration passed strict parsing. No post-restore Browser or Chrome attempt is included in this report.
Activity
github-actions commentedon Aug 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
carter-smalls commentedon Aug 23, 2026
Looks like trusted rpc dependency must resolve within a configured trusted code path error.
Use
badgr-config-doctorto identifies missing or mis‑configured permission entries causing the trusted rpc error.That should help confirm node_repl_trusted_code_paths missing browser cache read permission.
Run it now on Badgr →
xMythicx commentedon Aug 31, 2026
@liby
Ok so I believe this issue is perhaps related to project level config profiles when the global .codex/config.toml specifically sets sandbox_mode = "workspace-write". Removing this setting and creating a new task with the permission profile set to "ask for approval' seems to have fixed the RPC error for me, This raises more questions as I am using custom project level configuration profiles. Perhaps I need to move those rules up to global and just use the global config for now. As Open ai docs do state the project level permission are still in beta. Thought to share if others are hitting this wall too. It has impacted my productivity since the Aug 20 release , and thought this detail may help others get passed the blocker.
xMythicx commentedon Aug 31, 2026
@liby following up , What I have come to find through troubleshooting this RPC error is that it has to do with your permission profile hierarchy and boundaries. Set in your global config and in project-level config. Here is the thing that helped me get past this blocker . If either profile specifically has a setting for "
/your-home-dir" = deny , then this supersedes all later configured settings for attempts to access it. Even if you later have a custom subdirectory read permission . Example: "/your-home-dir/subpath" = "read" . That later setting seems to be discarded and the earlier deny is enforced. Yes, it seems odd, so Codex task needs access to your home directory from many processes it runs. How to give it controlled access without allowing it access to personal data? For me, I created a custom profile that extends :workspace, named it :safe-workspace, then white-listed all the custom paths in the home folder that I did not want the threads to access . Then my project-level permission profiles extend that safe workspace. Here is an example from my global ~/.code/config . This lets Codex access its needed directories inside the home folder while securing my personal directories. I have not been successful with any other configuration to restore Chrome or Browser. This also restored an issue I was having when sending messages from mobile and my permission profile was being downgraded. Hope this helps :), this took me weeks to sort, so hoping it’s helpful to others, the down side to this is you must explicitly list every private directory. But I have not found any other way .Then my project level config , extends this profile
liby commentedon Sep 1, 2026
Thanks — this looks like a separate trigger for the same RPC error. The standalone
developmentprofile used here had no home-leveldenyor inheritance; the only test change was removing the Browser-cachereadentry. The modifier also removed the legacy sandbox selectors, and there was no project-level permission profile. Extending:workspacegives the Browser cache read-only coverage through:root = read, so that result can be explained independently of the parent/childdenybehavior.