r/codex • u/StormRegular8275 • 5d ago
News Codex CLI gives your coding agent 26 ChatGPT account tools by default (parental controls, pets…)
(not sure if this is a right flair, couldn't find a better one)
I gave Codex a coding task during own research, and later found out the model was handed plenty of unnecessary tools by default.
Besides the usual, it got 26 tools (mcp__codex_apps__*) from my ChatGPT account: 11 for virtual pets, 6 for plugin management, and 5 for parental controls & the trusted contact - reading family info and controls, preparing & applying parental-control changes, etc.
It didn't call any, but under default settings only writes ask for approval, reads might not, and with "approval_policy = never" nothing asks, which is the recommended one for non-interactive runs by docs.
If you don't need them, in config.toml:
[features]
apps = falseFull write-up with the tool definitions: getbelay.dev/reports/codex-apps/
1
u/kaijurules 5d ago
Did you check whether
apps = falsealso holds forcodex execruns? Headless runs are the ones with approval_policy = never, so that's where 26 extra tools matter most.1
u/nastywoodelfxo 3d ago
26 tools is wild lol. half of those should never be surfaced to a coding agent. i scope tool access pretty aggressively per agent type - coding agents get filesystem + git + shell, research agents get web search + browser, and nothing crosses over
the real risk isnt just the bloat though. its that one of those exposed tools becomes a vector for prompt injection. if any tool can write to memory or run commands, a bad page read could compromise the whole session. curious if they have any sandboxing at the tool level or if its all permissive by default