You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Oh I should clarify: I don't think JS should be disabled on all unsigned pages, since that would make using the web really obnoxious. This would only be necessary for pages that have a signature expected (that is, have a signature listed in the extension preferences), but not received.
The only time a user would be affected by this is if they list a site in their extension settings, but when they go to visit that site, the signature is missing, which would indicate one of three things:
The user misconfigured the extension to expect a signature for a page that never provided one
The site owner misconfigured their site so that the signature isn't recognized
The site is genuinely compromised
If everything is going well, most users would never see a page with JS disabled
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!
The text was updated successfully, but these errors were encountered: