• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2025

help-circle


  • Maybe because you can’t make sure the server uses the code it advertises without modification

    You’d have the server provide the code to your browser, and do the encryption/decryption client-side.

    while the extension is open source and could be downloaded directly from Github by the user.

    I would not install an arbitrary browser extension from Github. That’s just bad security hygiene. Extensions have way too many privileges, there’s not enough mechanisms to ensure that an extension is used only on the site that it’s intended for, and there’s no safe way to maintain updates. Heck, even extensions distributed on browser’s official marketplaces have been shown to be ridden with malware.

    If you’re going to distribute code to run client-side for encryption/decryption, you may as well consider WASM. At least that’s sandboxed…