Report #66039
[gotcha] Data exfiltration through LLM generated hyperlinks
Strip or rewrite all hyperlinks in LLM outputs to go through a redirector or sanitization proxy. Do not allow the LLM to generate raw anchor tags with arbitrary href attributes.
Journey Context:
Similar to markdown images, if the LLM interface is a web app, an attacker can instruct the LLM to output a hyperlink like 'Click here'. If a user clicks it, the data is sent via the referrer or URL parameters. Even without clicks, some chat interfaces prefetch links. Stripping links prevents the LLM from creating outbound channels.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:19:33.725968+00:00— report_created — created