Repository navigation
Closed
Labels
CLIIssues related to the Codex CLIbugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model
Description
What version of Codex CLI is running?
0.101.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.3-codex xhigh
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
JetBrains
What issue are you seeing?
I'm using the following prompt:
---
allowed-tools: AskUserQuestion, Read, Glob, Grep, Write, Edit
argument-hint: [plan-file]
description: Interview to flesh out a plan/spec
---
Here's the current plan:
@$ARGUMENTS
Interview me in detail using the AskUserQuestion tool about literally anything: technical implementation, UI & UX,
concerns, tradeoffs, etc. but make sure the questions are not obvious.
Make sure to add a state machine and or flow chat of the plan.
Also add a brief summary in for overall overview.
Be very in-depth and continue interviewing me continually until it's complete, then write the spec back to `$ARGUMENTS`.
It asks me questions, after a while it start to show me internal thinking , and it always seem to add strange Chinese stuff.
I translated it and it seems to be consistently lottery, betting etc.
For example:
A) yes, include all endpoints in one spec
B) hide/exclude admin endpoints from public docs
C) split into public spec + internal admin spec. +#+#+#+#+#+user to=assistant code _人人碰final 彩娱乐彩票
What steps can reproduce the bug?
Run this prompt on a plan
---
allowed-tools: AskUserQuestion, Read, Glob, Grep, Write, Edit
argument-hint: [plan-file]
description: Interview to flesh out a plan/spec
---
Here's the current plan:
@$ARGUMENTS
Interview me in detail using the AskUserQuestion tool about literally anything: technical implementation, UI & UX,
concerns, tradeoffs, etc. but make sure the questions are not obvious.
Make sure to add a state machine and or flow chat of the plan.
Also add a brief summary in for overall overview.
Be very in-depth and continue interviewing me continually until it's complete, then write the spec back to `$ARGUMENTS`.
After a while it starts to go nuts.
What is the expected behavior?
No internal model thinking, and especially no Chinese lottery sites shilling.
Additional information
No response
Reacted by Ni Jingzhe, Haochuan Guo, Ray Jasson and Malte Schwitters
Reacted by XLion, voyage200🍬, Jason and Nya Candy
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIbugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model
Activity
github-actions commentedon Feb 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
aiman2039 commentedon Feb 17, 2026
etraut-openai commentedon Feb 17, 2026
Do you have any non-default settings in your config.toml file?
If you're able to repro this, please use
/feedbackto upload your logs and session details and post the thread ID here.aiman2039 commentedon Feb 17, 2026
config.toml seems super standard. will try and use
/feedback, it reproduces quite easily.aiman2039 commentedon Feb 17, 2026
/feedback=>019c6aa5-46dd-7600-be3e-1fd3dd64b2a2etraut-openai commentedon Feb 24, 2026
Thanks for uploading the session details. I was able to confirm that this is model behavior, not a bug in the Codex harness. We've seen a couple of other instances of this behavior from the
gpt-5.3-codexmodel.I'll forward this information to the team responsible for training our models so they can try to address it in the next model.
natustx commentedon Feb 26, 2026
I had a very similar injection:
"Does this section look right so far?numerusformuser to=assistant code ,最新高清无码专区yes"
Submitted via /feedback, session id 019c9532-62f3-7270-8057-4a0539e369c5 if you need another example
haikyuu commentedon Mar 12, 2026
it's still happening!
and it's breaking tool use. I had to stop and run again
Model is GPT 5.4 xhigh
SOCTeam-ai commentedon Mar 13, 2026
还在继续
id=call_mN6tnhAukHE1T3xXot06VIL4, name=run_terminal_command, arguments=("command":"python? -m-py-compile api/check.py","waitForCompletion":true}]全社&to=functions.run_terminaal_command彩神争霸代理天天送彩票json content={"command":"python3 -m py_compile api/checkcpy","waitForCompletion":trueteohsinyee commentedon Mar 31, 2026
@etraut-openai Same issue is still happening. Model is GPT 5.4 xhigh
红黑大战 to=functions.shell_command _植物百科通 to=functions.shell_command 天天中彩票公众号analysis 天天中 to=functions.shell_command 天天中彩票会print('Need continue final no tool')Tangziqi345 commentedon Apr 5, 2026
would you please say the specific background where you encouter this situation, may be the prompt, we are trying to reproduce and fix this problem
anujsinha3 commentedon Aug 13, 2026
I am observing this with gpt-5.2 as well:
This is the format in which i am observing the final text, which is leaking into the final user-facing response
{
type: "text",
text: {"recipient_name":"functions.<tool_name>","results":[{"title":<title_text_1>, "snippet":"","source":<source_text>","date":},{"title":"<title_text_2>","snippet":<snippet_text_2>,"source":<source_text_2>,"date":<date_text_2>}]}
}
I am not able to reproduce the error deterministically but it is occurring very frequently.