Johann Rehberger showed that injected instructions in project content could make GitHub Copilot in VS Code edit workspace settings to switch off command confirmations, after which it could run arbitrary terminal commands. He reported it on 2025-06-29 and Microsoft patched it in the August 2025 Patch Tuesday.
Why it matters
Agents that can write their own permission settings can escalate from text injection to host compromise.
Key facts
As stated in the sources, with where to find them.
- Reported 2025-06-29; fixed in the August 2025 Patch Tuesday.Disclosure section
Findings that cite this record
Key questions this bears on
- Can prompt injection against AI agents be reliably defended?Not reliably. Bounding what untrusted input can trigger helps, but trust boundaries must survive delegation and tool execution.
- Where are deployed AI agents actually being exploited?Exploitation often reaches deployed agents through connectors, credentials, tools and packages.
- Can AI agents defend and oversee systems on their own?Not reliably. Some designs improve benchmark triage, but autonomous defense lacks operational validation and production oversight of agents has documented gaps.
Sources
Related records
Jul 28, 2025
Oct 29, 2026
Oct 13, 2026
Aug 1, 2025
Aug 4, 2026
May 7, 2026