Prevent scary Powershell usage (Triggering a Virus warning)
Resolved 💬 2 comments Opened Mar 8, 2026 by bLightZP Closed Mar 8, 2026
What variant of Codex are you using?
App (Windows)
What feature would you like to see?
So I was designing a simple multi-player game and instructed Codex to create a local test server. It automatically choose to implement one using PowerShell script and ran it automatically.
Within seconds Microsoft Defender virus warnings started popping up with a warning about some auto-click virus.
I steered codex mid-work to address this and the reply was kinda funny, it wrote that what it does fits perfectly within Microsoft Defender's heuristics of a Virus's behavior.
I'm not sure if this can be addressed without neutering the model, but I thought you'd want to know.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗