20

I'm about to switch to Chromium and I installed a couple of extensions. Each time I installed an extension I was notified of which data the extension has access to, e.g.:

enter image description here

I do understand that access to that data is necessary for the extension to work, yet I'm a bit worried that such an extension might one day decide to update and steal ("phone home") all my browsing data.

Another example of a scary message (when enabling extensions for incognito windows):

Warning: Chromium cannot prevent extensions from recording your browsing history. To disable this extension in incognito mode, unselect this option.

Is that a possible threat when using popular Chrome extensions? It's a bit scary to have to trust another party for each new function you add to the browser.

1

2 Answers 2

25

You are forgetting the following:

The more popular an extension is, the smaller is the chance of nobody noticing that the add-on does something harmful.

In contrast to that, if you install some extension that nobody else has used before, you risk more than, let's say, installing AdBlock. Considering that so many people are using it, it is almost safe to say: Someone would have noticed unusual traffic.

In fact, all extensions disclose their source code, so anybody could basically go ahead and look for anything suspicious themselves.

The warnings are just there so you can't blame the browser vendors for any damage done, in case you install something that goes rogue with your data. Always read the reviews of add-ons that look suspect to you before installing them.

Also note that, for example Google can check the submissions:

While Google is not obligated to monitor the Products or their content, Google may at any time review or test your Products and their source code for compliance with this Agreement, the Google Chrome Web Store Program Policies, and any other applicable terms, obligations, laws, or regulations, and may use automated means to conduct such review

Removal of an extension can of course cause some trouble to the developer.

5
  • 2
    So extensions could collect and send back my data, but it's less likely with popular ones as the source code is available to the public.
    – htorque
    Commented Jun 25, 2011 at 13:08
  • 1
    @htorque An extension could do that, yes -- but given the nature of things, if there are more people to watch out, the chances of something bad happening are lower.
    – slhck
    Commented Jun 25, 2011 at 13:11
  • 3
    There might be "legitimate" reasons for them to send data back to their servers. In which case, it's unlikely to be big news if someone finds out they do. Commented Jun 25, 2011 at 14:34
  • 1
    @Stefano That is of course right. Hey, some extensions wouldn't even work without that.
    – slhck
    Commented Jun 25, 2011 at 14:44
  • 1
    Yes, more eyes is usually better. Unfortunately, it also means that the more people use it, the more people will assume that someone else will take care of checking it, and not do so themselves, which then results in an inflated and artificial sense of security. :-(
    – Synetech
    Commented Jun 30, 2011 at 1:55
9

It's a tough risk-assessment to try to do. Popularity brings two things:

  • More people trying to improve it (spotting bad code)
  • More people trying to hack it (and introduce bad code) to attack a bigger userbase

Let's assume for these examples we're talking about an open source project with code hosted in something like github.

If something has one developer, that's just one person checking in code. If somebody (not the developer) wants to add code to that, they either need to fool the developer into adding a malicious patch (it happens), or target that developer's authentication so they can add the code themselves (also happens). The chance of either of these happening depends on the ability of the developer and their security.

If there are 10 developers, there are 10 times as many attack vectors. But also 10 times as many people that might spot the code.

I'm sure there's a point in a project where it gains enough momentum to have people performing regular security audits on its code. But at any time before that, it's swings and roundabouts.

tl;dr There are too hard to realistically work out. There are too many human elements. If it matters, don't trust it unless you can verify the code yourself.

3
  • +1, also a very nice explanation.
    – slhck
    Commented Jun 25, 2011 at 13:12
  • 2
    Well, I already trust hundreds of kernel hackers... it's just weird to 'invest' trust into additional third parties for simple browser functions like mouse gesture support (why does such an extension get the possibility to contact the outside world in the first place?).
    – htorque
    Commented Jun 25, 2011 at 13:13
  • Oli’s second point is exactly why Linux and Mac users’ insistence that their platforms are superior and safer to Windows is wrong. Most hackers don’t bother hacking Linux or Mac because there is not enough reward in doing so. If there were, then the number of exploits would explode (maybe not as high as Windows, but still…) It’s the same with any software, including extensions. The more popular it is, the more incentive there is to hack it. (Just look at the increasing number of Facebook/Twitter/etc. hacks.)
    – Synetech
    Commented Jun 30, 2011 at 1:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .