Windows: enabled=false still scans plugin cache; extension-host locks chrome; trusted cwd + catalog ingest (GPT Pro + Copilot Pro)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
codex-cli 0.149.0-alpha.4 ChatGPT Desktop / About Codex not opened: opening Desktop rehydrates plugins\cache and can rewrite node_repl. Also: access denied while cleaning stale temp dir and creating PATH aliases under %USERPROFILE%.codex\tmp\arg0 (version command still succeeded).
What subscription do you have?
ChatGPT GPT Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Move-Item : file in use
...\openai-bundled\chrome\26.818.21641\extension-host\windows\x64
extension-host.exe
%USERPROFILE%.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe
parent: C:\WINDOWS\system32\cmd.exe
codex --version also: access denied on %USERPROFILE%.codex\tmp\arg0
Environment
- Windows Codex CLI + ChatGPT Desktop
- ChatGPT GPT Pro + GitHub Copilot Pro
- Official Sign in with ChatGPT only. Not sub2api. Not a wrapper reseller.
- New user (~1 month). First AI coding month. I was learning from zero, at the keyboard, trying to ship a framework.
- I only learned yesterday that I could attach my own API key. From day one the official path pushed me into Codex/ChatGPT plugins/skills, not a quiet API session.
- Intended setup: empty workspace, no skills, no MCP, no plugins.
- Actual flags: every plugin switch
enabled=false,skills.config enabled=false,[mcp_servers.node_repl] enabled=false,approval_policy=on-request.
Impact
This was not a beginner month. It was a cleanup month.
- ~3 weeks disabling, deleting, and watching official files come back. GPT Pro time went to residue, not learning.
- Copilot Pro quota on the same PC was also burned chasing a quiet session. The inventory lives under
%USERPROFILE%\.codex, so every client pays for it. - Longest task 26h 15m was me at the keyboard, not an unattended loop.
- ChatGPT Pro
/usage(heatmap empty until Jul–Aug, ~100 chats):- Lifetime 4.49B tokens
- Peak 528M
- Streak 11d (best 17d)
- Recap: 96 skills used / 81 explored. Top plugins included product-design (9) and skill-creator (17). I never opted into product-design. It is
openai-curated-remoteand was still on disk afterenabled=false. - Official support: I went to the website to talk to a person. The AI reply vanished halfway. No human.
A beginner sitting at the keyboard for 26 hours, with ~100 chats, does not explain 4.49B lifetime tokens, 96 skills, or product-design uses I never chose.
What happens
enabled=false does not mean gone.
-
Cache still scanned
~\.codex\plugins\cacheis still treated as installed inventory. While “clean”: 19 packs / 2818 files / ~87MB / 120 SKILL.md. Officialremote_installed_plugin_syncrefreshed 8 curated packs in the same second (2026-08-22 06:51:36). Config only denylistedsuperpowers@openai-curated-remote. The other 8 (including product-design) had no matchingenabled=false.
Empty workspace still loadedsuperpowers:receiving-code-reviewand showed ~13.3K tokens used on a one-sentence turn. -
Native host locks the cache (same family as #22114, #24296, #32706)
extension-host.exekept running from the cache after every disable flag, so WindowsMove-Itemfailed (file in use). 2026-08-22:- child:
extension-host.exe - path:
%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe - parent:
C:\WINDOWS\system32\cmd.exe
AfterStop-Processon that PID, movingplugins\cachesucceeded. I expect the next Desktop/CLI start to recreate it.
- child:
-
Launch cwd written as trusted
Opening fromC:\WINDOWS\system32thencdto a workspace appended both%USERPROFILE%andC:\Windows\system32under[projects]. Deleting the list does not stick. Backups: 8 entries → 9 (user profile) → 10 (system32). -
Remote catalog still fed to the model
~\.codex\cache\remote_plugin_catalog~12.7MB / ~2735 plugin names, with skills off. -
Desktop can rewrite
node_repl
[mcp_servers.node_repl] enabled=falsebut the env block remains. I have not re-opened Desktop to re-test; prior evidence showed the official UI writes this section.
Also still on disk after “clean” (all enabled=false, files not removed): ~\.codex\skills\.system (skill-creator, …), .sandbox-bin ~299MB, plugins\.plugin-appserver. I am not asking to delete the sandbox. I am asking disable flags to actually disable scan/sync/launch/inject.
Expected
enabled=false=> do not scan, sync, launch, or inject that plugin/catalog/skill- native host must not run from a mutable cache path
- do not silently trust
cwd/system32 - Desktop must not resurrect
node_replwhen disabled - a GPT Pro beginner should get an empty session, not 120 skills, a locked chrome host, and 4.49B tokens in the first weeks
- support chat should not disappear mid-reply when someone asks for a human
Not asking in this issue
Not sub2api. Not a public billing-dispute dump. Official Windows clients + this account’s /usage numbers only.
Related
- #22114 Windows Codex Desktop corrupts chrome@openai-bundled cache when extension-host.exe locks the tree
- #24296 Chrome native host locks plugin cache
- #32706 update leaves locked host
What steps can reproduce the bug?
- Windows 11 x64, ChatGPT GPT Pro, official
codex-cli 0.149.0-alpha.4(Sign in with ChatGPT, not sub2api). - Set every plugin switch
enabled=false,skills.config enabled=false,[mcp_servers.node_repl] enabled=false. - Do not install third-party plugins. Empty workspace.
- Open PowerShell from
C:\WINDOWS\system32,cdto an empty project, start Codex CLI. - Observe:
- one user sentence still uses ~13.3K tokens on a 258K window
- cache skill still listed (e.g.
superpowers:receiving-code-review) despite disable flags config.toml[projects]gains trusted entries for%USERPROFILE%andC:\Windows\system32
~\.codex\plugins\cachestill has official packs. Curated remotes (includingproduct-design) were timestamp-touched together (2026-08-22 06:51:36) byremote_installed_plugin_sync. Config only denylistedsuperpowers@openai-curated-remote.Move-Itemonplugins\cachefails:extension-host.exeis running from
~\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe
parent:C:\WINDOWS\system32\cmd.exe.Stop-Processon that PID, then the cache move succeeds.codex --versionalso reports access denied on~\.codex\tmp\arg0.- I am not reopening ChatGPT Desktop: it rehydrates this cache and can rewrite
node_repl.
What is the expected behavior?
enabled=falsemeans do not scan, sync, launch, or inject that plugin/skill/catalog.extension-host.exemust not run from a mutableplugins\cachepath, and must not hold the tree open so Windows cannot delete it (#22114 / #24296 / #32706).- Launch cwd /
system32must not be silently written as trusted[projects]. remote_plugin_catalogmust not feed thousands of plugin names when plugins are disabled.- Desktop must not resurrect
node_replwhenenabled=false. codex --versionmust not need write access to staletmp\arg0aliases.- A GPT Pro beginner in an empty folder should get an empty session.
Additional information
Paid tools on this same Windows profile that were burned diagnosing Codex residue (not a refund ask): Super Grok, Gemini Pro, GitHub Pro, GitHub Copilot Pro+, OpenCode GO, DeepSeek, Hermes original API, DSH, Google Antigravity (org), and Google Cloud (org — the messiest to unwind). I only learned yesterday I could attach my own API; the official path pushed plugins/skills from day one.
~3 weeks as a new user deleting official files that come back. Longest task 26h 15m was me at the keyboard learning from zero, not an unattended loop.
/usage (heatmap empty until Jul–Aug, ~100 chats): lifetime 4.49B, peak 528M, streak 11d (best 17d). Recap: 96 skills used / 81 explored. Top plugins included product-design (9) and skill-creator (17). I never opted into product-design.
Official support chat on the website: AI reply vanished halfway; no human.
Related: #22114 #24296 #32706
I will not open Desktop to re-test until this is addressed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows CLI behavior with the listed disabled plugin, skill, and MCP settings, then inspect the config.toml entries, plugins\cache, remote_plugin_catalog, and the remote_installed_plugin_sync activity described in the report. The issue is done only when each reported disabled component is shown not to scan, sync, launch, inject, or rewrite state, without the cache lock or tmp\arg0 access error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100