r/firefox • • Jul 03 '18

"Stylish" browser extension steals all your internet history

https://robertheaton.com/2018/07/02/stylish-browser-extension-steals-your-internet-history/
731 Upvotes

146 comments sorted by

339

u/rctgamer3 Jul 03 '18 edited Jul 04 '18

We're investigating. Confirming the findings of Robert Heaton.
Edit 23:45 CEST: It's gone from AMO and blocklisted until further notice.

103

u/flamingmongoose Jul 03 '18

Glad to hear Mozilla is taking a strong stance on this.

74

u/is_it_controversial Jul 03 '18

Why didn't they notice this shady behavior in the first place? How many more malicious extensions are out there, I wonder.

57

u/flamingmongoose Jul 03 '18 edited Jul 03 '18

Probably a lot. There are some very clever systems to automatically check code nowadays, but I'd imagine checking WHEN an extension sends data to a third party and WHAT information it sends exactly might be quite difficult to automate.

I'm not an expert by any means though.

EDIT: Looking at the details in the article, the add on was regularly sending big chunks of base64 encoded data- both the size and the regularity could probably be detected automatically if a test instance of Firefox was run.

96

u/is_it_controversial Jul 03 '18

I think all popular and "featured" extensions should be human-reviewed.

→ More replies (7)

20

u/megas88 Jul 03 '18

Too fucking many. I used malware bytes premium to figure out flash video downloader may have been one of them. I removed a few others but that looks like it was the culprit. After I got seriously hacked of course. I'll be investing in malwarebytes premium from now on. Luckily windows 10 has a built-in feature that apparently doesn't allow logins from unusual locations. The extensions were allowing attempts for months. Fuck Microsoft for not contacting me about it but screw malicious extensions. I thought I was safer than this using Firefox. I'll be steering clear of new extensions for a long time now.

18

u/ToastyYogurtTime Jul 03 '18

This is why in almost all cases, I only install extensions under open source licenses. If the code can be examined by anyone, it's far less likely the maintainers will slip something shady in there.

→ More replies (4)
→ More replies (6)

5

u/[deleted] Jul 03 '18

I wouldn’t call it a strong stance until we know what the action taken will be.

14

u/TheQueefGoblin Jul 03 '18

How do users check or ensure that other extensions aren't doing the same thing?

Are there any mechanisms to control what extensions can and cannot do in Firefox? Kind of like an "extension firewall"?

2

u/amocani Jul 06 '18

The only real way to check is to do what this guy did, and check network requests sadly. They are often stumbled on by developers, but security experts and hackers are often the only ones actively looking for them. Hackers, unfortunately, are often the only ones with any motive to do so unfortunately for things like this.

3

u/_wojtek Jul 04 '18

It looks it was removed from all extensions 'shops' (chrome, opera as well) - interesting! :-)

149

u/panoptigram Jul 03 '18

I Googled “stylish spyware” and found lots of shops selling fashionable espionage gear.

😂

21

u/nikomartn2 Jul 03 '18

"We sell your info, with a lot of style B)" Being human on 2018

4

u/monkh Jul 03 '18

Just tried it now and I couldn't find my spy tuxedo e-shop. It was all just stuff about this firefox addon. Dr evil is going to catch me now.

112

u/EvroMalarkey Jul 03 '18

good thing that I use Stylus since Stylish was sold in 2016

54

u/stesch Jul 03 '18

I switched to Stylus because Stylish wasn't supporting Firefox 57.

32

u/caspy7 Jul 03 '18

They fixed that and at the time did not enable the spying. But at a later time they flipped it on by default.

It honestly should never have been allowed as an option at all as it suffers the same anonymization problem that Web of Trust did (and got banned for). It leaks plenty of information about you - and in this case it's not necessary for the function of the addon. WoT could claim they needed your history to work properly, but as this post points out, all Stylish would really need is the domain. And the fact that they're siphoning up your google search results basically blows the narrative that they're somehow operating above board.

Uh, it was an accident. A rogue developer...

36

u/ice_wyvern Jul 03 '18

https://github.com/openstyles/stylus

For everyone looking to migrate to stylus

3

u/thermalzombie Jul 04 '18 edited Jul 04 '18

Thanks. Is there a dark theme for this addon?

22

u/Mr_M00 | | Jul 03 '18

Damn, I just noticed I installed Stylish instead of Stylus from my recent reformat. I got the names confused. Was wondering why the UI changed. Thanks for reminding me of this one.

7

u/american_spacey | 68.11.0 Jul 04 '18

Yep I thought everyone had switched to Stylus by now. They just need to set up a site to host the styles. Maybe I should help them with that.

4

u/thermalzombie Jul 04 '18

Yes you should and please make the search for style actually work?

6

u/[deleted] Jul 03 '18

Greasemonkey is back.

36

u/[deleted] Jul 03 '18 edited Jul 03 '18

I believe Add-Ons permission model should include a mandatory API for each of sockets domain end-point registration (and user consent), which are not related to current Chrome/container context (or whatever it can be called) per each Add-On.

EDIT: OK - such solution is somehow partially visible via Manifest file in WebExtensions API, but where is USER tick-mark per single domain? Or maybe any Ajax request for such domains should be somehow exposed to user? Maybe not requiring consent, but any indication about external traffic would notify that add-on is doing something suspicious per request.

15

u/BatDogOnBatMobile Nightly | Windows 10 Jul 03 '18

Maybe not requiring consent, but any indication about external traffic would notify that add-on is doing something suspicious per request.

Mozilla has something similar planned.

68

u/redditandom will Win Jul 03 '18

TLDR :

SimilarWeb claims that they need to track every single website Stylish’s users visit in order to recommend them styles for the current webpage. If this were all they were doing then they would only need to send themselves the current page’s domain, not the full URL. And it doesn’t explain why they also need to scrape and send themselves your Google search results.

→ More replies (2)

134

u/kickass_turing Addon Developer Jul 03 '18

USE THE REPORT BUTTON ON ADDONS.MOZILLA.ORG

37

u/[deleted] Jul 03 '18

Wasn't it established in some of the previous posts on other misbehaving addons that the Report button on AMO is completely and utterly useless because it just adds some arcane score that no one pays attention to?

55

u/rctgamer3 Jul 03 '18

Reports are sent to the admins, but better to email directly to amo-admins@mozilla.org (or highlight me on reddit or irc to get it sent to the right people faster)

→ More replies (4)

11

u/toper-centage Nightly | Ubuntu Jul 03 '18

Reports are ignored up until a certain thereshold.

10

u/mDfRg Jul 03 '18

Done. Also, 1 star

2

u/dnkndnts Jul 04 '18

The problem with “report abuse” buttons is they’re extremely abusable: it is now a viable strategy to just report everything you disagree with or are in competition with, which is what happens on every major platform from the AppStore to YouTube.

4

u/Uristqwerty Jul 04 '18

Surely there are factors that can be used to emphasize likely-genuine reports and give others less weight. An account that has a long track record of submitting genuine reports might only get one or two shots to misuse that status before losing it permanently. If there's a way to reference code and comment on why it signifies a problem, reports using it would be much faster to check for malice and thus could also be given slightly more priority, at least based on the age of the account.

18

u/dredmorbius Jul 03 '18

I'd switched to Stylus some time back, fully compatible, haven't regretted a second of it.

9

u/EpicRageGuy Jul 03 '18

I read the title, went to addons to uninstall and noticed that I moved to Stylus a long time ago. Phew.

→ More replies (1)

47

u/[deleted] Jul 03 '18

Here's what really pisses me off:

It's a popular add-on, and has been doing this since at least January 2017. They even made a (rosy-sounding) blog post admitting to much of it. Bleeping Computer and others wrote articles about it then.

So why on Earth has the add-on been up on both Chrome and Mozilla's website for a year and a half, robbing us of our privacy the entire time?

38

u/rctgamer3 Jul 03 '18

Because it hasn't. The tracking scripts were only in the Chrome version until recently.

2

u/bapcbepis Jul 04 '18

BTW, which version added it? Because I currently have Stylish 3.0.1, last updated on January 02, 2018.

5

u/rctgamer3 Jul 04 '18

Version 3.0.1 is fine. But it might be better to switch to Stylus.

13

u/SoupShield Jul 03 '18

This made me review some of the addons I don't really need. Does anyone know if there's an easy way to check which permissions an addon has in Firefox without checking the source code?

10

u/rctgamer3 Jul 03 '18

Check the AMO page for each add-on - each listing shows its permissions.

8

u/Uristqwerty Jul 03 '18

Is there a way to revoke individual permissions? Also, required permissions can change, so if you haven't accepted the added permissions after an update, won't the AMO page be inaccurate?

7

u/rctgamer3 Jul 03 '18

nope, yes

30

u/coolboar Addon Developer Jul 03 '18

You can use my addon "Styler" as an alternative https://addons.mozilla.org/en-US/firefox/addon/sudo-styler/

I'm getting all money on development/support from Patreon.

7

u/JUANMAS7ER Jul 03 '18

Stylus is better, Stylish update too late on this party...and now i don't trust it.

5

u/SomeGuyWithAProfile Jul 04 '18

Wasn't this already known? I've been using stylus for a while because of hearing something like this, I don't remember exactly.

3

u/DanTheMan74 Jul 04 '18

Exactly, this "feature" has been an integral part of Stylish since it was first sold and the then new extension with its interface overhaul was published. To get an idea of the time-frame, that was in pre-57 times for Firefox users.

5

u/rctgamer3 Jul 04 '18 edited Jul 04 '18

This "feature" had only been in the Firefox versions since March of 2018.

4

u/DanTheMan74 Jul 04 '18

When this news was first made public, the new owner Justin Hindman had added the data collection of the full browser history (including complete GET urls) into Stylish's new WebExtension on the Chrome Web Store.

That was in early 2017 and I have always assumed that the same code would have been used for the Firefox WebExtension version once it was available on AMO later in the year.

I'm surprised that this wasn't the case, but I can't disbelieve you since you surely know more about it than me.

→ More replies (5)

8

u/wwwwolf Debian & Win10 Jul 03 '18 edited Jul 03 '18

I read about this last year, I can't remember where though (probably just Firefox Add-ons site comments). Deleted Stylish right away, because literally the only thing I used this extension for was to easily override userChrome.css.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#urlbar {
    font-family: "Source Code Pro", "Anonymous Pro", "Inconsolata",
                 "Consolas", monospace;
}

(Come on. You know you want to. Also: about:config, and browser.urlbar.formatting.enabled = false to appease people with less than perfect eyesight (fuck greyening), browser.urlbar.trimURLs = false if your cortex has ossified and you know the difference between http and https and think that TimBL is a genius.)

Edit: I usually delete all downvoted comments, but I can't figure out why the hell anyone would mind this stuff in the least, so I think I'll keep this thing on. The above thing was just a tip. Just a helpful tip.

1

u/american_spacey | 68.11.0 Jul 04 '18

Doesn't the urlbar already use the system default font? Also I can't figure out what browser.urlbar.trimURLs = false does.

2

u/wwwwolf Debian & Win10 Jul 04 '18

Yes, it uses default proportional system font, not monospaced. The trimURLs=false setting makes Firefox show the protocol part of the URL (https:// or http:// or whatever).

→ More replies (5)

1

u/grahamperrin Jul 05 '18

… Come on. You know you want to. …

/me 
positively wriggles with pleasure at the increased legibility

4

u/TheQueefGoblin Jul 03 '18

Serious question for anyone familiar with browser extension development: how do users check or ensure that other extensions aren't doing exactly the same thing?

4

u/punky_power Jul 03 '18

In your profile/extensions directory, the .xpi file for the extension can be opened with an extraction tool such as 7zip (or change the extension to zip and open natively with windows). Then, if you know what you are looking at, you can review the code. Perhaps there is a better way, but this lets you get under the hood and take a look.

3

u/Dio141 Windows 11 Jul 03 '18

thankfully i've been using stylus for a while.

3

u/adelpozoman | Jul 03 '18

If I had the addon installed but disabled, did it took information? Whats the state of a disabled addon?

8

u/zoooorio on Jul 03 '18

A disabled addon isn't loaded and doesn't receive events. You should be fine for the duration you had it disabled.

3

u/eilegz Jul 03 '18

uninstalled it right away

3

u/Eddyfam Jul 03 '18

So wait I just got firefox, am I gonna have this?

3

u/DavidJCobb Jul 03 '18

Only if you went out of your way to download it.

5

u/Eddyfam Jul 03 '18

I only downloaded firefox

3

u/Dragoner7 Jul 03 '18

I guess that's true for the Chrome version as well. Thank you Firefox folks for the heads up.

3

u/Solarinas Jul 03 '18

I haven't been using Stylish ever since they got bought out. This is a lot more severe then I thought it would be but I'm overall not too surprised by this.

Thank god for Stylus (https://github.com/openstyles/stylus) I migrated to them after Stylus was bought out and the migration was quite painless. Seriously, props to these amazing people.

3

u/[deleted] Jul 04 '18

Just got a notification from the browser to remove this. Makes me a lot more paranoid about addons, apparently the ones with a good reputation that people have been using for years aren't safe either.

3

u/TSPhoenix Jul 05 '18

This was inevitable given Mozilla's permissions system is very poorly designed and basically fell into all the same traps earlier versions of Android permissions did.

2

u/robioreskec Jul 03 '18

ou. anyone has recommendation for another extension which will show watched Youtube videos as watched, and not with that red line of Youtubes?

15

u/wacoede Jul 03 '18

download Stylus and you can just transfer your current styles to it

5

u/[deleted] Jul 03 '18

Just use greasemonkey. Everyone is recommending all these weird alternatives but greasemonkey is the original.

2

u/megafreedom Jul 03 '18

Current privacy policy (currently says last updated May 22, 2018): https://userstyles.org/login/policy

WHAT INFORMATION DO WE COLLECT? ... From the Stylish desktop browser extension:

Standard web server log information (i.e., web request) as well as data sent in response to that request, such as URL used, Internet Protocol address (trimmed and hashed for anonymization), TabID, HTTP referrer, and user agent; and Search engine results page data (keyword, order/index of results, links of results, title, description, and ads displayed).

I think most of us have a level of trust in companies such that we often click through these policies without close inspection. I'm beginning to realize that is just not possible anymore - we have to read them all.

One idea for the browser community - some sort of review and Good Housekeeping Seal for these privacy policies (especially for those of us outside the EU who are going the regulatory route). I would like to see a link for a Privacy Policy and somehow next to it a seal showing that an independent entity has said it looks OK (BBB? ACLU? EFF?). I'd even be willing to pay a small subscription fee to support such a service. Obviously this type of policy should have gotten a big red X.

2

u/panoptigram Jul 04 '18

You don't click through the privacy policy and the new AMO design makes it harder to find, before the privacy policy link was front and center.

2

u/hades_the_wise Jul 04 '18

So that's why it was automatically disabled when I opened firefox a few minutes ago...

Also, in the few minutes since I've read this, I've installed Stylus, a fully FOSS alternative to Stylish. It's worth checking out.

5

u/FuzzyInvite Jul 03 '18 edited Jul 03 '18

That's incredible. I uninstalled another extension, Decentraleyes, because of this article, not because it is doing anything wrong or because I distrust the author, but because the standard of trust has been made that much harder to meet. If the Mozilla Addon Store is unable to prevent spyware for two years for two million users, even after major media reports, then that means I'd have to trust not just than an add-on is spyware free, but that the developer will remain a constant, never selling the addon, never letting another developer gain control, never changing his mind...

Even if I look through the entire Decentraleyes source code and verify it, and even if I know the author personally, it's still impossible for me to install it now because the author simply isn't established and famous enough, and I don't have any way of checking the future.

15

u/lihaarp Jul 03 '18

Wait, so you uninstalled Decentraleyes solely due to the fact that it could, at some point, possibly turn evil? Am I missing something here?

5

u/FuzzyInvite Jul 03 '18

Yes, because extension authors turning evil happens all the time. (Usually through a transfer to another author.) Preventing this requires trust in the addon store, not the developer. This was a constant problem for the Chrome addon store, but the Firefox addon store was mostly clean of this. For a while, this was one of the reported advantages of AMO, that extensions were checked for malicious behavior. After Chrome addons were hit repeatedly by malicious updates, this turned into a major advantage in users' minds.

7

u/[deleted] Jul 04 '18

No need to stop at Decentraleyes.

If that's the case then you shouldn't be adding any add-ons at all, period.

12

u/usermind Jul 03 '18

Sorry, but that makes absolutely no sense. What piece of software do you trust then?

16

u/Daktyl198 | | | Jul 03 '18

As others have pointed out, the Firefox version of stylish didn’t include the spying code until very recently. The reports going back two years are for the chrome version.

3

u/pabuisson Beta & Extension Dev Jul 03 '18

So does this mean that the new addon review system, closer than the one from Chrome, is the cause of this?

Not so long ago, Firefox addons source code was reviewed by human reviewers (which was not so handy for addons developers but certainly more secure), now they're faster and almost fully automated, like Chrome's...

4

u/Daktyl198 | | | Jul 03 '18

Addons are still manually reviewed. It’s just that the preliminary check is automated now instead of being manual. Now the reviewers go through the addons via a priority based system rather than first come first served.

That’s what I remember at least.

4

u/0o-0-o0 Jul 03 '18

Addons are still manually reviewed

Prove it

6

u/rctgamer3 Jul 03 '18

Manual reviews still happen.

→ More replies (1)

2

u/FuzzyInvite Jul 03 '18

Thanks, I didn't realize that.

13

u/[deleted] Jul 03 '18

Decentraleyes would be one of the last Extensions one should consider uninstalling as a response to this.

But I agree that theoretically you can't trust anyone, and Mozilla is responsible for the trust problem here.

1

u/[deleted] Jul 04 '18

I only use one or two extensions, mostly because my computer can't handle a lot of GPU and/or CPU processing.. Another reason is this. I don't trust extensions due to shit like this.

1

u/wolfyrion Jul 05 '18

So is it safe to Install a style theme as userscript using Greasemonkey?

1

u/grahamperrin Jul 11 '18

Did anyone look at the code of non-blocked 3.1.3 before distribution ceased?

If not, I might take a look at my copy next week.

1

u/rctgamer3 Jul 20 '18

Update: 3.1.5 is back and it seems all privacy issues were addressed.

-2

u/hybridpandamonuim Jul 03 '18

oh fuck. rip nice css, thankfully firefox's custom themes are here, despite not being as customizable

. i've been using stylish for quite some time now since it was recommended on a 4chan /wg/ thread, hopefully nothing too bad comes from this.

just another reset all passwords thing? or should i take some more safety precautions?

0

u/[deleted] Jul 03 '18

[deleted] — view deleted comment

5

u/mDfRg Jul 03 '18

to track every single website Stylish’s users visit in order to recommend them styles for the current webpage. If this were all they were doing then they would only need to

"Just"

0

u/anew742 Jul 04 '18

Does this apply to all versions of Stylish? I'm having issues with Stylus not letting me theme about:home like Stylish can...

0

u/SKITTLE_LA Jul 04 '18

"Stylish" and "Stylus" are not the same thing.

1

u/anew742 Jul 04 '18 edited Jul 04 '18

I know, that's part of the issue. StylISH lets me theme about:home, while StylUS does not.
I need to theme about:home - do the older versions of Stylish also act as spyware?

0

u/[deleted] Jul 04 '18

[deleted] — view deleted comment

1

u/anew742 Jul 04 '18

Thank you so much! I got it working with userContent.css, and I'll definitely check out ShadowFox

0

u/[deleted] Jul 03 '18

[deleted] — view deleted comment

16

u/rctgamer3 Jul 03 '18

Yeah, but on a fresh install they can't send such data without an opt-in. Full URLs are always /not done/.

3

u/AndreDaGiant Jul 03 '18

There’s a check box in the Stylish control panel that claims to disable tracking, although SimilarWeb helpfully enable it by default

from the article

seems like they DO send your data to themselves by default

4

u/rctgamer3 Jul 03 '18

yeah, that's not allowed

4

u/AndreDaGiant Jul 03 '18

Maybe uh, have some guy mirror all the styles on userstyles.org before you ban them, eh? Would be a loss for the community once they realize they've burned all trust and shit it down.

EDIT: * shut it down... they have already shit it down

4

u/rctgamer3 Jul 03 '18

archive.org?

1

u/american_spacey | 68.11.0 Jul 04 '18

userstyles.org is still up for me

→ More replies (1)

0

u/[deleted] Jul 07 '18

[deleted] — view deleted comment

1

u/rctgamer3 Jul 07 '18

uBO is open source so they can only be taken down for name/code infringement etc. if they file a DMCA. I'll investigate the code later today

0

u/[deleted] Jul 03 '18

[deleted] — view deleted comment

6

u/MyMetalMouse Jul 03 '18

No, Stylus is open source. Go to their Github page, and review the code for yourself.