Wow I didn’t expect anyone to reply actually, thanks!
Indeed this is a bit complicated. The idea of adding permissions to WebXDC doesn’t go against the “no exfiltration” idea in general, but this particular one would.
Um I’m not getting it. Malicious site? Running where? In a browser (not Delta Chat)? Because us setting the headers in Delta Chat would not affect that whatsoever.
See WebXDC threat model? I guess, but IMO in one sentence: an app might be malicious, and people who you chat with might be malicious. At least that’s what I personally would like to have handled by our WebXDC implementation.