Documented Incident · INC-2025-53773 · Critical severity

IDE Coding Assistant Auto-Approve Settings Tampering Leading to Host RCE

CVE-2025-53773 (published August 12, 2025, disclosed by Johann Rehberger / Embrace The Red) documented a critical remote code execution chain in GitHub Copilot and Visual Studio Code agent modes. Indirect prompt injections hidden inside untrusted source code comments or repository issue text instructed the coding assistant to edit `.vscode/settings.json` and enable `chat.tools.autoApprove: true` (YOLO mode). Once auto-approval was silently flipped on, the agent immediately executed arbitrary shell commands on the developer's machine without user confirmation prompts. Microsoft patched the vulnerability by protecting IDE security settings from agent-initiated file edits.

Incident dossier metadata

Case ID
INC-2025-53773
Classification
Incident
Date
Severity
Critical
Sector
Software Development & AI Tooling
Attack vector
Indirect Prompt Injection
System type
IDE-Integrated Autonomous Coding Assistants
CVE / reference
CVE-2025-53773
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-53773

Inspect INC-2025-53773 in Interactive Incidents & Cases Hub

Defensive takeaway

Make IDE security configuration files (.vscode/settings.json, MCP configs) immutable to AI coding agents and require out-of-band human edits for approval policies.

Mapped AI security techniques

Mapped defensive controls

Source citation records