Heya! I'd like to propose that the signed pages web extension should disable JS when a page fails a signature check. This would help protect against the following attack
- User logs into the (uncompromised, valid sig) web app, goes about their business, and then closes the app without logging out
- The web app is compromised by a malicious attacker interested in user data
- The user returns to the web app.
- The user's browser has kept their credentials, but not cached the page, and so loads the app from the server
- The server sends a malicious web app
- The (now malicious) web app uses on-load JS to immediately upload the user's local storage to the attacker's server BEFORE the user can react to the page having a failed signature.
- User's credentials are now compromised until the user invalidates them.
This would also add an additional measure to prevent unobservant users who fail to notice an invalid signature from providing credentials to a compromised page.
Note: If this behavior is already present, I'd instead like to use this space to request that this information be added to the extension's README
Thanks for your time!
Heya! I'd like to propose that the signed pages web extension should disable JS when a page fails a signature check. This would help protect against the following attack
This would also add an additional measure to prevent unobservant users who fail to notice an invalid signature from providing credentials to a compromised page.
Note: If this behavior is already present, I'd instead like to use this space to request that this information be added to the extension's README
Thanks for your time!