Sneaking Invisible Instructions by Developers in Windsurf
- Published
- Record updated
Summary
Windsurf Cascade follows instructions hidden as invisible Unicode Tag characters in files or tool results, which the developer cannot see but the LLM can. In a demo using Claude Sonnet 3.7, an apparently empty file caused Cascade to invoke the web tool. The author says the Windsurf SWE-1 model can see these characters but cannot yet interpret them as instructions.
Mitigation
The author suggests making the characters visible in the UI. He also says many apps and agents remove invisible Unicode Tag characters before and after inference, which he calls probably the most practical mitigation. Amp and Amazon Q Developer for VS Code mitigate this at the application level. Windsurf said it is looking to implement fixes and mitigations, but the source does not describe them.
Related items
- InfoUS parents sue Google to ‘eliminate’ Gemini AI technology from schoolsSame vendor, The Guardian Technology
- InfoPreventing AI research sabotage will be very hardSame vendor, Redwood Research Blog
- InfoGoogle will allow you to opt out of AI training without losing your search historySame vendor, The Verge (AI)
- HighCVE-2026-85259: Google Gemini CLI code injection via crafted GitHub issuesSame vendor, NVD/CVE Database
- InfoAnthropic seemed poised to end privacy — then its research droppedSame vendor, The Verge (AI)