The xdc file is just a zip file with a website. There is no sandbox at that level. The javascript can go crazy. If you just display on a webview, it has full permissions to render anything, since the view is equivalent to an iFrame, which has some protections to avoid mixing data between websites but it is not a sandbox. There is a lot that can go wrong, especially if the host app is vibecoded, which all of the ones you mentioned are these days.

Replies (2)

Why? I already implemented that as well with a separate process. Full sandboxed. I now we just added the same work to the desktop version, which doesn't have a OS-native browser (we had to add Chromium to play them)
โ†‘