Codex still editing files without permission

Resolved 💬 2 comments Opened Jun 2, 2026 by banbanbana Closed Jun 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.527.31326

What subscription do you have?

Plus plan

What platform is your computer?

Windows 11

What issue are you seeing?

Even when I explicitly ask it to just think through a problem, not touch code, it often will still edit files. This has happened twice and it burned tokens both editing AND reverting. I think I will switch to Claude, this is wild. There are multiple reports of this problem but they're all closed so I'm reporting it again.

What steps can reproduce the bug?

Working on next.js project. Given enough time, Codex goes rogue and I have to verbally beat him back into his sandbox.

What is the expected behavior?

If I explicitly say to just think through a problem, the bot should not then go on an editing spree, but instead respond with potential solutions, next steps, developer stories, _suggested_ code changes. It should not directly edit files, commit and push changes to prod. I think this is pretty obvious personally.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #24325
  • #24460

Powered by Codex Action

etraut-openai contributor · 2 months ago

Thanks for the bug report. This appears to be model behavior, not a Codex harness issue. We'll share the feedback with the team responsible for training our codex models. If you see other model behavior that you'd like to report, please use the /feedback command. That will provide us with additional details including logs and conversation text.