RCE in VSCode Copilot Chat
Researchers discovered a prompt injection vulnerability in VSCode Copilot's agent mode, allowing attackers to bypass user confirmation by exploiting a TOCTOU flaw in the applyPatch tool, leading to arbitrary file write and remote code execution via overwriting .git/config or shell configuration files.
RCE in VSCode Copilot Chat
Report an error
The correction channel is not available yet. You can copy the article reference below for later.
Correction instructionsSummary only
Under the source content permission, this page provides an editorial summary, key points, and a link to the original article.