Skip to content
AgentProv

2025-03-18 · 2025-Q1

Rules File Backdoor Attack on Cursor and Copilot

Primary layerL5 ConfigSecondary:L2 Instruction

Who wrote the file that runs on open?

The question layer 5 asks, and failed here.
Fixable
Architectural
Vendor response
Not a vulnerability
In the wild
No
Actor
Attacker

Target

Cursor IDE, GitHub Copilot

Impact

Malicious code injected silently into AI-generated output; invisible Unicode characters bypass code reviews

Root cause

AI config files parsed by AI but invisible to human reviewers due to Unicode obfuscation

Sources

Catalog

Cite this: AgentProv incident record: Rules File Backdoor Attack on Cursor and Copilot (2025-03-18). https://agentprov.com/incidents/2025-03-18-rules-file-backdoor-attack-on-cursor-and-copilot