Skip to content

Prevent scary Powershell usage (Triggering a Virus warning) #13994

Closed

Description

@bLightZP

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

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    model-behaviorIssues related to behaviors exhibited by the model
    on Mar 8, 2026
  2. github-actions commented on Mar 8, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. etraut-openai commented on Mar 8, 2026

    @etraut-openai
    Contributor

    Thanks for the bug report. We'll share the feedback with the team responsible for training our codex models. If you see other model behavior that you'd like to report, please use the /feedback command. That will provide us with additional details including logs and conversation text.

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

    appIssues related to the Codex desktop appbugSomething isn't workingenhancementNew feature or requestmodel-behaviorIssues related to behaviors exhibited by the modelwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions