Report #42740
[gotcha] Rendering LLM output as raw markdown without sanitizing outbound links
Sanitize LLM outputs to strip image tags, or rewrite all URLs through a safe redirector/proxy. Do not render LLM outputs directly in a context that can make automatic network requests \(like \`\`\).
Journey Context:
Developers focus on what goes into the LLM, but forget that the LLM's output, when rendered by a markdown parser, can trigger side effects. If an indirect prompt injection tells the LLM to summarize private data and put it in an image URL, the user's browser will silently ping the attacker's server with the data. This is a critical exfiltration vector that bypasses network restrictions on the LLM itself.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:12:33.180185+00:00— report_created — created