Skip to main content

Verify Google Chrome extensions before you install them

Google Chrome extensions can extend the functionality of the web browser or make life easier while browsing the Web. While that is the case, they may also be abused by companies to track users across the Internet, display advertisement or download malicious code to the user system.

This article provides you with the means to verify Chrome extensions before you install them. It is important to do so before the extension gets installed in the browser as it may already be too late after installation.

While you can set up a test environment for browser extensions, for instance in a Sandbox and with a network traffic monitor like Wireshark, it may not really be something that most users feel comfortable with.

Part 0: What you should not trust

The Chrome Web Store may appear like a secure location for all your extension needs, but it is not.  Trend Micro discovered for instance malicious browser extensions in the official Web Store in 2014, and it is not the only company that did so.

The description is created by the developer of the extension and is therefore not to be trusted without verification.

User comments may highlight problematic extensions, but that is not always the case. Therefore, they are not to be trusted either in this regard without verification.

Part 1: The description

chrome description extensions

Many extensions that use analytics, click-tracking, tracking of your browsing history and other tracking forms highlight the fact in the description of the extension.

You may not see this one first glance as Google favors style over substance in the store. The description field is tiny and you often need to scroll to read it all.

Check out the popular Awesome Screenshot extension for instance. Looks legitimate right? Lots of positive reviews, more than 580,000 users.

If you take the time and scroll through the description, you will eventually stumble upon the following passage:

Usage of the Awesome Screenshot browser extension requires granting it permission to capture anonymized click stream data.

Want another example? How about Hover Zoom, an extension with more than 1.2 million users that has been criticized in the past for tracking integration? Scroll down and you find..

Hover Zoom requires that extension users grant Hover Zoom permission to collect browsing activity to be used internally and shared with third parties all for use on an anonymous and aggregated basis for research purposes

Flash Player+ is another extension that highlights in its description that it records data and shares that data with third-parties.

In order to continuously support and improve this software, users who install it permit Fairshare to collect and share information about them and their web usage activity with third parties for business and research purposes

A quick way to find these extensions is to search for phrases used in those descriptions. A search for opt-out for instance reveals many of them in the search results (next to legitimate extensions). Many use the same description which means that a search for "to collect and share information about them" will reveal extensions that use this kind of tracking for instance.

Step 2: Permissions

facebook permissions

It is usually not possible to determine if an extension is legitimate, tracking you or outright malicious based on the permissions that it requests alone.

There are indicators however of that. For instance, if an extension that improves Facebook requests to "read and change all your data on the websites you visit", you may come to the conclusion that you better not install the extension based on that. Since it should only work on Facebook, there is no need to give it far-reaching permissions to see and manipulate data on all sites.

This is just an indicator however but if you use common-sense, you may be able to avoid installing problematic extensions. Usually, there is an alternative available that offers similar functionality but without the wide-reaching permission requests.

You may want to check these permissions for all installed extensions as well. Load chrome://extensions/ and click on the details link underneath each extension. This display all permission requests of that extension again as a popup in the browser.

Step 3: The Privacy Policy

Provided that the extension links to a Privacy Policy page, you may find information in it that reveal whether users are tracked by it or not. This won't work obliviously for outright malicious extensions.

For example, if you check out the Fairshare Privacy Policy linked from extensions such as Hover Zoom, you find the following passage in it:

The Company may use browser cookies, web and DOM storage data, Adobe Flash cookies, pixels, beacons, and other tracking and data collection technologies, which may include an anonymous unique identifier.

These technologies may be used to collect and store information about your use of the Services, including without limitation, web pages, features and content you have accessed, search queries you have run, referral URL information, links you have clicked on, and advertisements you have seen.

This data is used for business purposes such as providing more relevant ads and content, and market research

Step 4: The source code

fairshare

Going through the source code may be the best option that you have to find out if an extension is tracking you or malicious.

This may not be as technical as it sounds and it is often possible to determine that with rudimentary HTML and JavaScript skills.

First thing you need is an extension that enables you to grab the source code of an extension without installing it. Chrome extension source viewer is an open source extension for Chrome that helps you with that.

An alternative to that is to run Chrome in a sandboxed environment, install extensions in it to gain access to their files.

If you use the extension source viewer, you may click on the crx icon in the address bar on Chrome's Web Store to download the extension as a zip file or view its source right away in the browser.

You may ignore all .css and image files right away. Files that you should take a closer look at have the .js or .json extension usually.

You may check the manifest.json file first and check the content_security_policy value to see a list of domains there but that is usually not enough.

Some extensions use obvious names for tracking files, ads for instance so that you may want to start there.

You may not be able to tell if you don't know JavaScript however if that is not the case.

Now You: Do you run Chrome extensions? Have you verified them before installation?

This article was first seen on ComTek's "TekBits" Technology News

HOME