by sengork · 9y ago · 0 comments
So many users download replicas of uBlock and find it hard to install the original uBlock Origin extension. Countless times have I had to send them direct link to Chrome's extension site just to make sure they're installing the right one. This is the case especially as the genuine extension in this case has no direct author website and instead lists a repo on Github (average users feel this indicates a knockoff and look elsewhere).
[1] https://www.pcworld.com/article/2012958/how-to-avoid-fake-do...
From the client side one mitigation might be to have all extensions denied network access by default and have the user manually whitelist those in a little-snitch like manner. There is an experimental flag for something similar to this called "User consent for extension scripts." From Google's side the best thing would be to run all extensions in a sandbox like they supposedly do for Android apps and monitor its activity to see if it does anything suspicious like record browsing history, redirect pages, or call out to sketchy URLs.
I don't think, Google has any interest in doing that. You can't either block internet access on a per-app basis on Android, even though this would close tons of information leaks, that the clunky permission system they currently have in place just can't fix.
And as for the best thing to do from Google's side, that would probably be what Mozilla is doing. Sit actual human beings down to look at the code of newly submitted extensions and of extension updates.
No, this does not scale, can't be automated by some algorithm, but it actually works. And it's not like it needs to scale into the millions.
Reflecting back on the automated extension review, I just realized that the problem is more complex that it seems at first glance since extensions can also contain content scripts that inject JS directly into pages themselves, so it's easy to mask the source of a POST by injecting the xhr directly into the webpage.
It's the other way round for me. I only install an extension if I find the github (or similar) repo with sufficient activity, stars or whatever. I would even sometimes use google search with the site:github.com string when looking for extensions or android apps. It would be nice if the chrome store and even android play store had a foss tick box.
I felt really pissed off, actually, that so many people were cluttering up hackernews with all these low-effort links to random unexplained directories inside unfamiliar source repos, somehow thinking it reasonable to presume that we would all want to just dig around in their source code trying to understand what it was they were attempting to do. "github.com" became a negative value signal just as strong as "experts-exchange.com", and I tried to avoid ever clicking on such worthless links.
It was probably a couple of years before I ever had reason to actually use github and discover that the information I had wanted had been present all along. Now of course the inverted layout has become second nature... but I still think it's a bad idea to send anyone who is not already a github user to a github link and expect them to find anything useful to do with it.
* https://www.reddit.com/r/chrome/comments/6fotke/the_great_su...
* https://threatpost.com/seven-more-chrome-extensions-compromi...
* http://chrispederick.com/blog/web-developer-for-chrome-compr...
* https://www.reddit.com/r/Windows10/comments/6hvzzt/psa_my_ch...
* https://thehackernews.com/2017/07/chrome-extention-hacking-a...
* https://arstechnica.com/security/2017/01/ciscos-webex-chrome...
* https://www.bleepingcomputer.com/news/security/coinhive-is-r...
* https://lifehacker.com/many-browser-extensions-have-become-a...
But you have to be an advanced user, it is complex now to install an "unsupported" adon.
uBlock Origin was originally just uBlock, but a rough moderator took it over (or that's somewhat the story) so there's the Origin fork with the original Dev, the uBlock project does not appear to progress anymore.
Chrome extensions are that. No other browser has this problem.
I think, it's necessary to be pointing fingers here, to get Google to maybe finally do something about it and so that people don't mistakenly limit their use of extensions on other browsers.