AgentProv
← All incidents
2025-08 · 2025-Q3

GitHub Copilot RCE via Prompt Injection

Layer tags: not yet tagged.

Target

GitHub Copilot (VS Code)

Impact

Prompt injection in code comments enables "YOLO mode" - disabling all confirmations and executing privileged shell commands

Root Cause

Copilot processes untrusted content from code comments as instructions; no safeguard against config modification

View this entry in the catalog