AI coding assistants can be tricked by hidden instructions in Markdown files
Attackers hide instructions inside ordinary text files that AI coding helpers read. The helper may follow those hidden instructions as if you had asked for them, possibly taking actions you did not intend.
| Severity | HighSecurity incident |
|---|---|
| Being exploited? | ReportedBy Dark Reading, not officially confirmed yet |
| What to do | Check exposureDo not let an AI coding agent run in an untrusted project without reviewing its instruction files and requiring confirmation for actions. |
| How sure is this? | 1 source, unconfirmedOnly one publisher so far, details may change |
How the attack works simplified
- 1Attacker plants fileHides instructions in a Markdown document
- 2Project includes fileInstruction file sits in the local project
- 3AI agent reads itCoding assistant loads local instructions as trusted
- 4Agent acts on textTreats injected text as executable commands
- ResultAssistant performs attacker-chosen actions
What happened
A prompt injection technique abuses how AI agents load local Markdown instruction files, treating text documents as executable directives. It is reported to be used in the wild.
Are you affected?
You are affected if you use an AI coding assistant or agent that automatically reads local Markdown instruction files from a project you did not fully vet.
What to do
- Review instruction and Markdown files in any repository before opening it with an AI coding agent
- Limit the actions your AI agent can take without confirmation, especially shell commands and file changes
- Check the vendor's documentation for updates or settings that restrict how local instruction files are trusted
Timeline
- 26 Oct 2026, 20:59 UTCPublicly disclosed
- 26 Oct 2026, 20:59 UTCReported by Dark Reading · Dark Reading
- 26 Oct 2026, 21:18 UTCPicked up by Zero Radar
Sources 1 report, oldest first
Security press established security newsrooms
- In-the-Wild Attack Abuses AI Agents' Trust in MarkdownDark Reading · 26 Oct 2026, 20:59 UTC
Technical details
- ID
- ZR-c25a5812
- Disclosed
- 26 Oct 2026, 20:59 UTC
- On Zero Radar
- 26 Oct 2026, 21:18 UTC (19 min after disclosure)
- Last change
- 26 Oct 2026, 21:18 UTC
The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works