Skip to content

Cannot disable Codex Security Review while keeping Code Review enabled #38110

Open

Description

@samuelzamvil

What issue are you seeing?

The docs describe Code Review and Security Review as independently
configurable per repository. In practice there is no configuration that
produces "Code Review on, Security Review off" — neither the repository-level
nor the personal-level setting offers a disabled state for Security Review.

At https://chatgpt.com/codex/settings/code-review, under Repository
preferences, "Auto security review" ("Choose which pull requests Codex
should automatically review for security in this repository") offers three
options:

  • Review all PRs
  • Review team PRs
  • Follow personal preferences

None of them means "never".

Selecting "Follow personal preferences" defers to the panel titled "Personal
code review preferences" ("Control how Codex reviews your pull requests by
default"). The controls in that panel are:

  • Auto review (toggle) — "All your pull requests in a Codex enabled
    repository will be automatically reviewed."
  • Review trigger (dropdown) — On PR open / On every push / Smart Trigger
    (Experimental)
  • Exhaustive code review
  • Enable credits use

None of these is labeled for security review, so it is unclear what
"Follow personal preferences" resolves to for Security Review, and there is
no personal-level control that disables it.

Severity thresholds reduce what gets posted but do not stop reviews from
running, so they are a noise control rather than an opt-out.

The repository-level help text reads "When security review is turned on,
Codex automatically checks the pull request for security issues," which
describes a turned-off state the UI does not appear to expose.

What steps can reproduce the bug?

  1. Connect a repository to Codex cloud with Code review enabled.
  2. Go to https://chatgpt.com/codex/settings/code-review.
  3. Attempt to disable Security Review for that repository at either the
    repository or personal level.
  4. Observe that no option disables it.

What is the expected behavior?

A way to disable Security Review for a repository while leaving Code Review
enabled — either an "Off" / "Never" option in the repo-level Auto security
review dropdown, or a personal-level security review control for "Follow
personal preferences" to resolve to.

Additional information

Current workaround and why it is insufficient

The only reliable way to stop automatic Security Reviews is to remove the
repository from the Codex GitHub App installation (GitHub > Settings >
Applications > Installed GitHub Apps > Codex > Configure > repository
access). That also disables Code Review and Codex cloud tasks for the
repository, so there is no way to keep Code Review while dropping Security
Review.

Screenshots

  1. Personal code review preferences, with the Review trigger dropdown open.
  2. Repository-level Auto security review, with its dropdown open.

Related

References

Activity

  1. added
    enhancement
    codex-web
    code-review
    safety-check
    on Aug 12, 2026
  2. samuelzamvil commented on Aug 12, 2026

    @samuelzamvil
    Author
    Image Image
  3. bingbingma commented on Aug 23, 2026

    @bingbingma

    The fact that you can't just turn off a feature once you've opted-in is absolutely criminal.

    I innocuously see the prompt to turn on additional security review, "Codex: would you like to try it?"... sure... YES

    Then "you've reached your security review limit" 50x a week, and i just want to turn it off but i can't because it can only "follow personal preferences" what absolute horse shit UX is this?

  4. Ghostbird commented on Aug 27, 2026

    @Ghostbird

    Yes, this is extremely annoying! I didn't want automatic security reviews on every branch, so in a way I get what I wanted, because I'm not getting security reviews. I'm only getting "you've reached your security review limit" for every PR. It's obnoxious. Note that I DO NOT have automatic PR reviews enabled AT ALL!

    Also, where is this UI posted by @samuelzamvil?

    Image

    I don't have that at all. But it might be that it's just unfindable, the UX of OpenAI is slightly above Microsoft Azure Portal – and I'm pretty sure that is the actual lowest possible UX in the universe.

  5. pedropaulovc commented on Sep 10, 2026

    @pedropaulovc

    I reproduced this on pedropaulovc/agent-sessions-backup on September 10, 2026. The repository was set to Follow personal preferences, and personal Auto review was off. The settings response resolved both the repository and Security Review preferences to never, but Codex launched a Security Review on every probe.

    Settings and controlled PR probes

    The saved settings reported:

    repo.review_preference: never
    security_review.review_preference: never
    security_review.trigger_policy: code_review
    personal.code_review_preference: repo_default
    

    I tested ready-on-open and draft-to-ready events, before and after explicitly saving the repository setting and toggling personal Auto review on and back off:

    • #151: draft to ready
    • #152: ready on open
    • #153: ready on open after saving the repository setting
    • #154: draft to ready after saving the repository setting
    • #155: ready on open after saving the personal setting

    All five received an automatic Security Review. I closed the disposable PRs afterward.

    The stored state already resolves to never, so adding an Off option to the UI may not be sufficient by itself. This result suggests the PR event handler is ignoring the effective Security Review preference.

  6. philpem commented on Sep 29, 2026

    @philpem

    I'm having this issue too - logged into Codex on the web and it offered the code review and security review services. I figured I'd give them a go but found the Github comments really annoying and didn't want the token usage (it was checking personal repos which didn't need the review).

    I managed to find the setting for code reviews and disabled it, but there was no similar setting for security reviews.

    The only way I've found to stop this is to remove the Codex Github Connector from my Github account - which is annoying, because this completely stops me from using Codex Web and having it create a Github repository. (the workaround is to use Codex CLI + git init, and push manually)

  7. Ghostbird commented on Oct 1, 2026

    @Ghostbird

    I found a changed UI yesterday, and it seems that it's now possible to control this in the code review settings page, I think that fixes this issue.

    Note

    Clicking that link may not work, you may have to copy-paste it. When I click a link to ChatGPT, I'm never logged in on arrival, and after login the original target link is lost in the login, but that's a different issue.

  8. samuelzamvil commented on Oct 1, 2026

    @samuelzamvil
    Author

    I found a changed UI yesterday, and it seems that it's now possible to control this in the code review settings page, I think that fixes this issue.

    Note

    Clicking that link may not work, you may have to copy-paste it. When I click a link to ChatGPT, I'm never logged in on arrival, and after arrival the original target link is lost in the login, but that's a different issue.

    @Ghostbird thank you for the update.
    I was able to get the link to work but only on desktop.

    One thing worth mentioning, the security review options were hidden until I enabled auto review. Weird that is was off in the ChatGPT settings but on in the Codex cloud UI. I've now disabled automatic security reviews so fingers crossed my next PR doesn't include one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-reviewcodex-webenhancementsafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions