The GeoLeaf.Security façade — sanitisation and URL vetting.
⚠️ Every DOM write that carries data from a profile or a server must pass through here.
The helpers exist precisely so innerHTML is never reached for directly. This directory is
the XSS surface of the kernel: bypassing them, or reaching for innerHTML without
going through them, is the one thing that is never acceptable here.
The
GeoLeaf.Securityfaçade — sanitisation and URL vetting.⚠️ Every DOM write that carries data from a profile or a server must pass through here. The helpers exist precisely so
innerHTMLis never reached for directly. This directory is the XSS surface of the kernel: bypassing them, or reaching forinnerHTMLwithout going through them, is the one thing that is never acceptable here.