Report #81783
[gotcha] AI-generated URLs look valid but lead to 404s or wrong content when users click them
Never regex-match and auto-link URLs in AI output without verification. Options: \(1\) render URLs as plain text with a copy button instead of a hyperlink, \(2\) run async HEAD requests to verify before rendering as clickable, \(3\) clearly label as 'AI-suggested link \(unverified\)' with a warning icon. For citation-heavy products, maintain a verified index and only link to matches within it.
Journey Context:
LLMs generate URLs that are structurally plausible — correct domain, realistic path structure, even valid-looking query parameters. But they are fabricated from statistical patterns, not retrieved from an index. The instinct is to parse AI output for URLs and make them clickable for user convenience. This works until a user clicks a hallucinated link to a medical resource or legal document and gets a 404 — or worse, lands on an unrelated existing page that confirms a false belief. The trust destruction is disproportionate: one broken link undermines confidence in the entire response. The tradeoff is convenience vs. credibility. For internal tools where users understand AI limitations, plain text URLs may suffice. For consumer products, verification or suppression is essential.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:52:11.069769+00:00— report_created — created