Windows Defender flags @openai/codex Windows binary as Trojan:Win32/Wacatac.H!ml

Resolved 💬 4 comments Opened Aug 12, 2025 by wraith4081 Closed Aug 13, 2025
💡 Likely answer: A maintainer (seratch, member) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.21.0

Which model were you using?

N/A

What platform is your computer?

MINGW64_NT-10.0-26100 3.6.3-7674c51e.x86_64 x86_64 unknown

What steps can reproduce the bug?

  1. Install Codex CLI on Windows:
npm i -g @openai/codex

(also occurs if installed as a dependency; binary present under node_modules\@openai\codex\bin\)

  1. Trigger a Defender scan (automatic real-time or manual quick/full scan).
  2. Observe Defender alert quarantining:
Trojan:Win32/Wacatac.H!ml
This program is dangerous and executes commands from an attacker.

What is the expected behavior?

The Codex CLI binary should not be flagged by Windows Defender and should remain usable.

What do you see instead?

Microsoft Defender flags and quarantines the binary, breaking the CLI.

  • CLI unusable on Windows unless the user manually restores/excludes the file (unsafe).
  • May block CI/enterprise environments that rely on Defender defaults.

Additional information

program hash (exe / sha256):
9BF0F15354E6641F75CC83360415873C3678CE441DA3451CA402C22EC1BCABB1

View original on GitHub ↗

4 Comments

Calpimm · 1 year ago

This man is lying

wraith4081 · 1 year ago
This man is lying

: (

<img width="553" height="456" alt="Image" src="https://github.com/user-attachments/assets/8693bbfc-ccbf-4b8f-9250-a7e5b4021064" />

seratch member · 1 year ago

Thanks for reporting this issue. We will track the progress at https://github.com/openai/codex/issues/2236

Mrdavethadawg · 11 months ago

<img width="418" height="646" alt="Image" src="https://github.com/user-attachments/assets/78543e06-6555-4c01-a8cd-da208ba882f3" /> same issue here on a fresh install less than 4 hours ago