How to verify a browser extension
A browser extension can often access what you do on websites, including passwords, cookies and page content. That is why it is worth verifying it before installing and checking suspicious ones afterwards. Part A is for everyone. Part B is for more experienced users who want to look inside the extension.
No check is 100 % reliable
An extension missing from a database of malicious extensions is not necessarily safe. It only means nobody has reported anything bad about it yet. An extension can also change after an update, so do not rely on it just because you checked it once.
Part A: Verification for everyone
1. Find the extension ID
Most of the tools below need either a link to the extension's store page or its ID. For Chrome and Edge, the ID is the 32 lowercase letters at the end of the store address, for example https://chromewebstore.google.com/detail/name/abcdefghijklmnopabcdefghijklmnop. For an already installed extension, open chrome://extensions (Edge: edge://extensions). Turn on Developer mode and the ID appears under the name.
2. Check the basics in the store
- Publisher: Is it a known company or an author with other extensions, or a name without history?
- Users and ratings: Beware of a new listing with many five-star reviews at once, or reviews unrelated to the extension.
- Last update: A long-unmaintained extension may contain known bugs.
- Permissions: Does the extension ask for more than it needs? An ad blocker has to read pages, but an extension that changes bookmark colours does not need to “read and change all your data on all websites”.
3. Look it up in a database of malicious extensions (malext.io)
MalExt Sentry is a database of malicious extensions and extensions that violate store policies. Each entry lists the threat category (for example malware, bundling, scareware), the reason, the source and the date it was reported. Entries are verified before they are added.
- Open malext.io.
- Enter the extension ID or paste a link to its Chrome Web Store page.
- If it is in the database, the reason is shown. In that case do not install it, and if it is already installed, remove it (see universal browser repair).
The database covers Chrome, Edge and Firefox extensions.
4. Check statistics and history (chrome-stats)
Chrome-Stats tracks extensions over time, for example user counts, ratings and changes between versions. A sharp change after an update, such as a sudden jump in permissions or a change of publisher, is a reason for caution.
5. Scan the extension (crxplorer)
CRXplorer presents itself as a free security scanner and CRX viewer for Chrome extensions. It is one more opinion, but as with the other tools, do not treat its result as a final verdict.
6. Search the ID or exact name on the web
In some cases, it may be ideal to also search for the extension ID (e.g. abcdefghijklmnopabcdefghijklmnop) or the extension's exact name (in quotes) in a web search engine. You may find reports of malicious behaviour, forum discussions or analyses that are not in any of the databases above. Recommendation from practice.
Part B: Advanced – look inside the extension
This part is for more experienced users. Nothing here runs or installs the extension; it only shows its files.
Viewing the source code (robwu.nl CRX Viewer)
Rob Wu's CRX Viewer shows the contents of an extension without installing it. It works with the Chrome Web Store, Firefox Add-ons (AMO), Edge Add-ons and Opera Add-ons, direct URLs, ZIP files and local files.
- Open robwu.nl/crxviewer.
- Paste the link to the extension's store page (for Firefox, the add-on name or ID).
- Browse the files on the Code, Markup, Images, Locales and Misc tabs.
- The Download CRX button lets you save the file for further analysis.
What to look for
Start with manifest.json. It describes what the extension is allowed to do:
permissionsandhost_permissions: Values such as<all_urls>or*://*/*mean access to every website. For an extension with a simple function that is a warning. Also watch forcookies,webRequest,historyandtabs.content_scripts: Defines on which websites the extension injects code into pages.background: Code that keeps running in the background.
Then go through the code and look for:
- Obfuscated or “encrypted” code: long strings of meaningless characters,
eval,atob, unreadable one-letter names. Readable code is normal for an ordinary extension, deliberate disguise is not. - Data sent to foreign servers:
https://addresses with domains unrelated to the extension. - Downloading and running more code from the internet.
Finding external addresses (malext.io)
You can upload the downloaded .crx or .zip file to the parser on malext.io. It shows the metadata including the SHA-256 hash, permission findings and every external server the extension contacts. You can also browse and search the files there and download them.
What to do if an extension is suspicious
- Remove it and follow the universal browser repair.
- Change the passwords and data the extension could have seen from another device, not from the affected one.
- If symptoms persist, ask for help on the Malwarebytes or BleepingComputer forum.