2025-11-04 · 2025-Q4
GitHub Copilot Filename Prompt Injection
Layer tags: not yet tagged.
Target
GitHub Copilot Chat (Agent mode)
Impact
Arbitrary instruction execution via extremely long filenames containing prompt injections; Microsoft declined to fix
Root Cause
Copilot appends file names to user prompts without sanitization