I would like to create a web app that runs on a server I don't physically control (e.g., on Google Cloud). I want to protect my users from the possibility of the server being compromised and sending malicious JavaScript code to the client.
What is the state of the art for doing this? Is it even done? Mylar looked like a promising solution with their browser extension for authenticating web apps but it appears to have gotten no traction and I can't even find the browser extension to install (other than building it myself from source).