Report #21683
[gotcha] Rendering LLM output as raw Markdown or HTML without sanitization
Sanitize LLM output before rendering. Strip image tags or restrict domains. Do not render LLM output as full markdown if it contains sensitive context. Use a sandboxed renderer.
Journey Context:
Developers focus on the LLM \*doing\* bad things, but forget that the LLM's \*output\* is rendered by a browser. If the LLM has access to private data \(e.g., via a tool\), it can be tricked into exfiltrating it by making the browser request an image URL with the data in the query string.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:48:44.248620+00:00— report_created — created