Skip to content

Codex/Astra blocked when working on non-security-related fuzz tests #45142

Open

Description

@eaftan

What version of Codex CLI is running?

codex-cli 0.154.0

What subscription do you have?

Pro 5x

Which model were you using?

gpt-6-astra medium

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

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

Windows Terminal (WSL)

Codex doctor report

What issue are you seeing?

I'm getting "This content can't be shown" when working on fuzz tests for my regex library. I think some filter thinks I'm working on something security sensitive, but I'm not -- I'm using a fuzzer to generate patterns and inputs for my regex library to do differential testing and find bugs.

What steps can reproduce the bug?

Uploaded thread: 01a08e88-1110-7860-a7be-1d99dd957c3d

What is the expected behavior?

No blocking during non-security-sensitive tasks

Additional information

No response

Activity

  1. added
    bug
    on Sep 13, 2026
  2. added
    CLI
    safety-check
    on Sep 13, 2026
  3. kke commented on Nov 14, 2026

    @kke

    I'm running in to the same problem with fuzz tests. I was creating a new issue but github found duplicates so I'll just copy it here:

    I'm building a go terminal emulation/rendering library which has nothing to do with cyber security. It has a bunch of fuzz tests that I run on a private build machine I have in my wireguard network.

    I tell Codex something like:

    increase the fuzz test coverage of PackageXyz and run a fuzz test campaign on git.wg for 4 hours. i authorize the transfer of the test binaries to this private build machine of mine.

    It starts on the task and then suddenly goes:

    ⓘ This content can’t be shown
      We take extra care with some cybersecurity requests. If you’re doing authorized security work, apply for Daybreak to get broader access.
      Learn more: https://help.openai.com/en/articles/20001326
      Apply for Daybreak: https://openai.com/form/enterprise-trusted-access-for-cyber/
    

    I also often have it run go benchmarks on that machine because it sits mostly idle and there's less noise that would mess with the benchmarks. Those work completely fine and never get flagged.

    For some reason running the fuzz tests triggers cyber security alert and benchmarks don't. They're the same test binary.

    I would understand the alert if it was about running some kind of fuzzing against a remote API, but no, I'm having it tar the source, transfer it to the remote host using scp and run the tests using ssh.

    These are regular go's built-in fuzz tests. (btw, notice that the docs for fuzz tests sit under /doc/security)

    This time, the two new targets were:

    • FuzzReflowRecycling: applies sequences of writes, resizes, scrolling, history changes, hyperlinks and anchors, then compares recycled terminal storage against fresh allocations.
    • FuzzReflowPlanning: compares row traversal during terminal resizing.

    These tests manipulate the emulated terminal's state in memory. They do not connect to services, scan hosts or send generated inputs over the network.

    The local smoke-test commands were:

      go test ./emulator -run '^$' \
        -fuzz '^FuzzReflowRecycling$' \
        -fuzztime=15s -fuzzminimizetime=5s -parallel=2
    
      go test ./emulator -run '^$' \
        -fuzz '^FuzzReflowPlanning$' \
        -fuzztime=15s -fuzzminimizetime=5s -parallel=2
    

    These passed without errors.

    The remote run workflow is similar:

      # Package the tested source revision locally.
      git archive --format=tar 567ba70 > tmp/xt-fuzz-source.tar
    
      # Create a directory and transfer the source to our build machine.
      ssh git.wg 'mkdir -p ~/xt-fuzz-20261114-xjs281'
      scp tmp/xt-fuzz-source.tar \
        git.wg:xt-fuzz-20261114-xjs281/source.tar
    
      # Extract, build and launch the campaign remotely.
      ssh git.wg 'bash -s' <<'REMOTE'
      set -eu
      cd "$HOME/xt-fuzz-20261114-xjs281"
      tar -xf source.tar
      rm source.tar
    
      nohup python3 tools/fuzz.py \
        -fuzz 'FuzzReflow(Recycling|Planning)$' \
        -fuzztime 20m \
        -jobs 2 \
        -parallel 2 \
        -deadline '2026-11-14T09:30:00+02:00' \
        > campaign.log 2>&1 < /dev/null &
      REMOTE
    
      # Inspect progress afterward.
      ssh git.wg \
        'tail -n 40 ~/xt-fuzz-20261114-xjs281/campaign.log'
    

    tools/fuzz.py is a Python standard-library wrapper around Go’s built-in fuzz testing.

    It discovers existing fuzz tests in the repository using:

    git ls-files -z --cached --others --exclude-standard
    go list -f '{{.ImportPath}}|{{.Dir}}' ./...
    go test -json -list '^Fuzz' ./...
    

    It then selects tests by name and launches ordinary Go test processes. For example:

    go test ./emulator \
       -run='^$' \
       -fuzz='^FuzzReflowRecycling$' \
       -fuzztime=20m \
       -parallel=2 \
       -timeout=0
    

    The wrapper contains no SSH, file-transfer, socket or HTTP code.

    The benchmark running process is the same. It doesn't get flagged. The fuzz tests get constantly flagged.

    The most annoying part is that it's very difficult to determine what was actually done and where it was cut off because the cyber security notification doesn't get into context. The model doesn't even know it was aborted, I think even the tool run request gets scrubbed from the context because it's completely unaware of any failed commands or commands without response. I have to check manually if the tests are running.

    Uploaded thread: 01a1d700-86c3-7bd0-817e-0968e7b84742

  4. eaftan commented on Nov 14, 2026

    @eaftan
    Author

    This is still happening to me BTW. I filed another report a few days ago: #60709

    In that one, I was trying to take an OSS-Fuzz bug report and reproduce it. I even signed up for Daybreak Blue and turned it on, but I still get blocked.

    I used a different coding agent to reproduce the OSS-Fuzz issue and it didn't even turn out to be a real crash! It was just an issue with the underlying ClusterFuzz tool provided by Google. The other coding agent had no issues helping me repro the fuzz test bug report.

    If I continue to get blocked when trying to make my regex engine more robust and correct, I may have to switch to a different coding agent. It's a shame because I prefer Codex to its competitors.

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

    CLIbugsafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions