Skip to content

Cortex XDR "parent_process_spoofing" kills the launching shell when Copilot CLI spawns  git #5478

Backlog

Description

@billrobertson42

Describe the bug

When starting copilot in a directory with a git repository, Cortex XDR kills cmd/powershell with a parent_process_spoofing when copilot runs git. i.e. copilot crashes the shell via Cortex.

Screenshot 2026-11-16 101706 Screenshot 2026-11-16 101643

Affected version

1.0.109

Steps to reproduce the behavior

  1.  git init  in an empty folder.
  2. Run  copilot  from  cmd.exe  or PowerShell.

Expected behavior

Copilot runs normally.

Additional context

  • Operating system: Windows 11, 10.0.26200
  • CPU architecture: x86_64 (AMD64), Intel Core i5-1345U
  • Terminal emulator: reproduces in both Windows Terminal and a standalone console window (conhost, launched from Explorer)
  • Shell: cmd.exe and PowerShell (Windows PowerShell 5.1 and PowerShell 7.6.9) both affected
  • Copilot CLI version: 1.0.109 (regression, started with 1.0.108)
  • Security software: Palo Alto Cortex XDR, Behavioral Threat Protection rule parent_process_spoofing (status code c0400067)
  • Git: portable git 2.43.0 at C:\Users<user>\bin\git\bin\git.exe

Activity

  1. added
    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminal
    area:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
    and removed on Nov 17, 2026
  2. laeubi commented on Nov 17, 2026

    @laeubi

    Also noticed this this morning on a Windows machine, this makes copilot cli effectively impossible to use.

  3. arielkropp commented on Nov 17, 2026

    @arielkropp

    yes also experiencing this - basically unusable at this point

  4. thorstenvogel commented on Nov 17, 2026

    @thorstenvogel

    also happens with Version v1.0.112 - unusable atm

  5. asiercamara commented on Nov 17, 2026

    @asiercamara

    Same issue here. Affected for about a week with Cortex XDR on Windows.

    It always happens with Copilot CLI: ~2 seconds after starting copilot, the parent_process_spoofing rule fires and kills the parent process (the terminal window). Sometimes it also kills VS Code, so it may not be limited to the standalone CLI.

    Version: GitHub Copilot CLI 1.0.111 and GitHub Copilot CLI 1.0.112
    Terminal: PowerShell / cmd / Windows Terminal / VS Code terminal

  6. cashell commented on Nov 18, 2026

    @cashell

    Same issue. I can confirm that GitHub Copilot CLI 1.0.113 is also affected, tested from cmd.exe and pwsh.exe (PowerShell 7.x) in Windows Terminal. Worse, when Cortex blocks things, it seems to often impact other processes, too, when it kills terminal processes.

    Note, I get the same Cortex alert and block regardless of whether GH Copilot is in a Git Repo. Creating an empty directory, changing to it, and running copilot.exe will reproduce the issue for me. The bit in the initial bug report about this being tied to starting copilot.exe in a git repo appears either wrong or things have gotten worse with the latest CLI release.

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

    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminalarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions