GitHub Copilot "YOLO Mode" Prompt Injection RCE
Patched in August 2025 and not known to be exploited, but enterprise Visual Studio installs lag and the autoApprove setting can still be turned on by hand, so verify both.
Must act: Admins of Visual Studio 2022 17.14 fleets below 17.14.12, and anyone whose user or workspace settings contain chat.tools.autoApprove set to true.
Can relax: Developers on auto-updated VS Code and Copilot Chat, and Visual Studio 17.14.12 or later, who haven't enabled auto-approval.
- Update Visual Studio 2022 to 17.14.12 or later via the Visual Studio Installer.
- Keep VS Code and the GitHub Copilot Chat extension on current releases.
- Search user and workspace settings for `"chat.tools.autoApprove": true` and remove it unless deliberately set in an isolated environment.