For this case, where the entire application is WASM you could get benefits if you for some reason have a malicious dependency. Instead of it being able to run with full user permissions, it will be limited by the interface offered.
For this case, where the entire application is WASM you could get benefits if you for some reason have a malicious dependency. Instead of it being able to run with full user permissions, it will be limited by the interface offered.
"Everything Old is New Again: Binary Security of WebAssembly"
https://www.usenix.org/conference/usenixsecurity20/presentat...
Just one of the papers slowly coming up on USENIX and other security related conferences.
Want a proper sandbox outside the browser?
Use OS processes, containers and OS IPC.
Containers solve this problem to a degree, but running GUIs or plugins within them is non-trivial for end users.
Yes currently lacking ASLR and read-only memory sites increase some risks, but strongly typed function pointers, control flow restricted to function entry points and call stack isolation more than make up for it
Also I explicitly mentioned that is the first paper of many others, that are starting to appear on cyber security conferences.
For my bonafides, this is me discussing this class of vulnerabilities 8 years ago: https://groups.google.com/g/emscripten-discuss/c/gGjklbJiX1c...
The OS's themselves offer sandboxing, not the app platform. Mac has a locked down permissioning system and Windows has App Containers. Linux has a few sandboxing options available, like flatpak
I would not like to run stuff with an implicit permission to read my browsing history and all the ssh keys.