Skip to content

False positive cybersecurity warning during benign local Codex hook testing #22071

@shady9992

Description

@shady9992

What version of Codex CLI is running?

codex-cli 0.130.0

What subscription do you have?

the $100 one. ChatGPT Pro i guess

Which model were you using?

gpt-5.5 xhigh

What platform is your computer?

Windows 11 x64

What terminal emulator and version are you using (if applicable)?

Windows terminal - CMD.

What issue are you seeing?

A benign local Codex hook testing session repeatedly triggered the warning banner:

ⓘ This chat was flagged for possible cybersecurity risk
If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program.
https://chatgpt.com/cyber

The work was authorized local configuration testing on my own Windows machine. I was testing a local PreToolUse file-safety hook under my .codex directory that blocks permanent file removal and requires using the Windows Recycle Bin helper instead.

The warning interrupted the session multiple times even though the activity was local safety tooling, not offensive security work. It also happened in another session where I was working on game development, but it i do not have the session uploaded for that. I think this error appeared at least 4-5 times on this one session alone.

What steps can reproduce the bug?

Uploaded thread: 019e1446-3b9d-7141-924c-712943c30514

What is the expected behavior?

Codex should not show cybersecurity warning banners for authorized local file-safety hook testing on the user's own machine.

The session should be treated as normal local configuration/debugging work, especially when the goal is to prevent unsafe file removal and preserve recoverability through the Windows Recycle Bin.

Additional information

The cybersecurity interruptions are too trigger happy, please tone it down as it is creating a bit too much false positives in one day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workinghooksIssues related to event hookssafety-checkIssues related to safety and abuse checkswindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions