Repository navigation
Description
Summary
Reporting on behalf of the affected user, with their explicit request to file a report. On Windows, separate terminal/console windows repeatedly appear immediately after submitting prompts during local coding work. The user says this did not happen previously and now happens after essentially every prompt. They have also reported McAfee blocking scripts during this workflow; the detection name, blocked executable/script and antivirus logs are not yet available, so the relationship between the antivirus alerts and the console popups is unconfirmed.
Environment
- Native Windows, PowerShell command runner, local Git/Unity development workspace.
- Codex client and bundled backend versions have not yet been collected.
- Reported on 2026-09-26 (Europe/Dublin).
Reproduction and observations
- Submit a prompt in the ongoing local coding conversation.
- Observe a separate console/terminal window appear. The user specifically reports that it appears just after pressing Enter.
- This happened again during this report investigation. The only shell tool action before that confirmation was an ordinary
Get-Contentread of a local Markdown instruction file, executed withlogin: false; no screenshot helper ran in that interval. - Earlier harmless
Get-Location, normal file searches and normal development commands were also used. Exact prompt-to-process timing and the responsible process tree have not been captured, so prompt submission itself versus the first tool call remains an open distinction.
Ruled out as a complete explanation
The workspace has a screenshot helper which launches PowerShell with Add-Type to call Windows PrintWindow. That helper previously used ExecutionPolicy Bypass and did not specify windowsHide. Its local launch was changed to remove the bypass flag, add -NonInteractive, and set windowsHide: true; screenshot capture continued to work. The user subsequently confirmed that the prompt-associated popups persisted, including the normal file-read interval described above. The screenshot helper therefore does not explain the whole problem.
Expected behavior
Submitting prompts and executing non-interactive background tool commands should not open additional visible console windows. Routine coding should not require antivirus exclusions or changes to security settings.
Related reports
Potentially related: #48440, #48498 and #44768. This report adds the user's repeated prompt-submission observation and separately records the unconfirmed McAfee script alerts. Please investigate Windows process creation/console flags in the client, shared server, hooks and ordinary command runner. No claim is made here that a specific daemon, hook or antivirus detection has been proven to be the cause.
Private project paths, credentials, source code, screenshots and raw conversation/log files have deliberately not been attached.
Activity
github-actions commentedon Sep 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
CMadden8 commentedon Sep 26, 2026
Follow-up with confirmed local evidence (no raw logs or private project data attached):
McAfee LiveSafe's detection log records the same detection,
Real Protect-PSFL!A9CD92EAEB70, three times on 2026-09-26:All three identify an 88,250-byte in-memory script in Windows PowerShell (
powershell.exe), with no backing script filename, sensorIAntiMalware. The last entry matches the user's screenshot showing a block at 21:08 local time (Europe/Dublin).Windows PowerShell Operational event 4100 at 20:08:15.049 UTC, process ID 50064, independently records
ScriptContainedMaliciousContent,Microsoft.PowerShell.Commands.InvokeExpressionCommand. Its Host Application is:The blocked content begins with
[CmdletBinding()], but the full blocked script was not recovered. This launcher differs from the workspace screenshot helper discussed in the original report.Important qualification: the antivirus detections are approximately hourly, whereas the user reports console popups after prompts. These may be separate problems. The parent application has NOT been identified, so this is not proof that Codex launched the blocked script. Access to the Windows Security process-creation log was denied; the TaskScheduler Operational channel yielded no matching events in the selected minute. No antivirus settings or exclusions were changed, and the unidentified script has not been rerun or unblocked.