codex - 💡(How to fix) Fix Codex Extension running Powershell behind every command [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17208Fetched 2026-04-10 03:43:56
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
1
Timeline (top)
labeled ×4commented ×1unlabeled ×1
RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

v26.406.31014

What subscription do you have?

Plus

Which IDE are you using?

Antigravity/VS Code

What platform is your computer?

Windows 11 64-bit

What issue are you seeing?

From today, 9th Apri, 10AM BST Time, I'm having an issue in which the Codex IDE Extension runs a Powershell behind every normal command, making my Antivirus app flag it. It used to only be flagged for encoding UTF 8 but now its doing on pretty much every command.

Its doing the following:

The app C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe was passed a malicious command line and has been blocked. Your device is now safe.

Command line: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -EncodedCommand (then a bunch of gibberish)

What steps can reproduce the bug?

Just use Codex normally, every command ran gets this

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

  • The issue may be resolved by updating the Codex IDE Extension to a version that does not trigger the antivirus app, or by configuring the antivirus to exclude the Powershell executable from scanning.

Guidance

  • Verify that the issue is specific to the Codex IDE Extension by testing other extensions or commands in Antigravity/VS Code.
  • Check the antivirus app settings to see if there is an option to exclude the Powershell executable or the Codex IDE Extension from scanning.
  • Consider reaching out to the Codex IDE Extension support team to report the issue and ask for guidance on a potential fix.
  • Review the Windows 11 64-bit and Antigravity/VS Code settings to ensure that there are no conflicting configurations that may be contributing to the issue.

Example

  • No code snippet is provided as the issue is related to the interaction between the Codex IDE Extension, Powershell, and the antivirus app.

Notes

  • The issue may be specific to the version of the Codex IDE Extension (v26.406.31014) or the antivirus app being used.
  • The fact that the issue started on a specific date (9th April, 10AM BST Time) may indicate a recent update or change that triggered the problem.

Recommendation

  • Apply workaround: The best course of action would be to configure the antivirus app to exclude the Powershell executable from scanning, as this may provide a temporary solution until the Codex IDE Extension is updated to resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING