|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005276||Taler||wallet (WebExtensions)||public||2018-02-07 15:05||2018-09-28 11:10|
|Assigned To||Florian Dold|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Product Version||SVN HEAD|
|Target Version||0.6||Fixed in Version|
|Summary||0005276: consider restricting wallet permissions|
|Description||In the light of a recent critical security issue in a popular extension , I've been thinking about wallet security. And not only about the security of the coins you have, but "will all my passwords and private data be compromised if the Wallet has a serious bug".|
Currently Chrome/ displays for the wallet "Permissions: Read and change all your data on websites you visit". This is obviously bad, both technically and for user confidence.
Our goal should be that it displays "Has no special privileges" (which is probably technically impossible) or "Can read and write your data on https://w.taler.net" (bear with me for the reason for this domain).
Then we're completely off the hook in regards to serious exploits, nobody can use the wallet to exploit other websites unless Chrome/FF itself has a serious bug.
Even if somebody hacks our Chrome Web Store account and uploads a rogue extension, after the auto-update users will have to approve the new extended permissions of the rogue extension.
As a preliminary technical measure, we could restrict the extension  to only be able to access URLs of the form "https://*/taler-payment/*". This makes us relatively safe, but because of Chrome's policy it will still show as "Permissions: Read and change all your data on websites you visit". This would require adjusting some URLs though, so not sure if this intermediary solution is worth it right now.
Now there is a better solution though, with only minimal trade-offs (it only affects people who use NoScript):
|Tags||No tags attached.|
Florian Dold (manager)
|Instead of a domain, it might make more sense to use an IP address that can't be routed, such as 240.0.0.1|
|2018-02-07 15:05||Florian Dold||New Issue|
|2018-02-07 15:05||Florian Dold||Status||new => assigned|
|2018-02-07 15:05||Florian Dold||Assigned To||=> Florian Dold|
|2018-09-28 11:10||Florian Dold||Note Added: 0013257|