You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fetch link favicons from the site's main domain only #690
An AI agent can be tricked into writing a link such as https://<data>.attacker.example into a pad. Every reader's pad then asked our icon route for that origin, and the server resolved and fetched the full host. The data reached the attacker with no click. The icon route now fetches only the site's registrable domain.
Source: hyperlink UX research, 2026-11-04 (the "Silent Egress" pattern, Feb 2026)
Details
The route reduces the origin to its registrable domain with tldts, by the ICANN suffix list only, before any DNS lookup. An IP passes as is.
Cost: a subdomain site shows its parent site's icon. For example, docs.google.com shows Google's.
Hosts on link cards stay in their ASCII (xn--) form, so a look-alike such as раураl.com never reads as the real site. Tests pin this (b36d1043d).
Known open path, left open by maintainer choice (2026-11-04): an agent can still write an outside picture, video or audio into a pad. Each reader's browser then loads it, with the full URL and the reader's IP.
Also open: a hover still sends a link's full URL through /api/metadata. That needs a user action.
Closed, 2026-11-04.3cd82dc2a and b36d1043d are on main, and deploy run 41854096960 shipped them. The production check on 2026-11-04 confirmed that the icon route fetches only the registrable domain. Outside media written by agents stays open by choice in #695.
Activity
HMarzban commentedon Nov 4, 2026
Closed, 2026-11-04.
3cd82dc2aandb36d1043dare onmain, and deploy run41854096960shipped them. The production check on 2026-11-04 confirmed that the icon route fetches only the registrable domain. Outside media written by agents stays open by choice in #695.