Home

How to audit a Chrome extension before you install it

You don't need to install an extension to read it. Chrome Web Store packages are ordinary zip files with a signature header in front, and a few commands tell you most of what you need to know.

By RJ Macarthy · 25 November 2026

1. Download the package

Copy the extension's ID from its store URL, the 32-letter string after /detail/. Then download the exact package Google serves and unzip it:

ID=paste-the-id-here
curl -L -o ext.crx "https://clients2.google.com/service/update2/crx?response=redirect&prodversion=140&acceptformat=crx3&x=id%3D$ID%26uc"
unzip ext.crx -d ext

unzip will warn about extra bytes at the start. That's the store's signature header and is safe to ignore.

2. Read manifest.json

This file declares everything Chrome will let the extension do. Look at:

3. Search for network calls

grep -rnE "fetch\(|XMLHttpRequest|WebSocket|sendBeacon|navigator\.sendBeacon|new Image\(" --include=*.js ext

Every match is a place data could leave your browser. Read each one and ask where it sends what. Analytics libraries, error reporters and "config" endpoints are the usual suspects.

4. Look for code that can change after review

grep -rnE "eval\(|new Function\(|importScripts\(|chrome\.scripting\.executeScript" --include=*.js ext

Manifest V3 forbids running code downloaded from a server, but an extension can still fetch a "config" that switches on behaviour already hidden in the package. The ModHeader finding was this shape: dormant collection code that a remote setting could enable. Remote config is worth reading closely.

5. Judge how readable it is

If every file is one minified line, a real audit is slow work. That doesn't prove anything bad, but an extension that sees all your traffic and can't be read deserves extra caution. Run a large file through a formatter like Prettier to make it skimmable.

6. Watch it run

After installing, open chrome://extensions, turn on Developer mode, and click the extension's service worker link to open DevTools for its background code. The Network tab there shows every request it makes. Use it normally for a while and see what appears.

Updates change things

An audit covers one version. Extensions update silently, so re-check anything sensitive now and then, especially after an ownership change or a sudden new permission prompt.

Questions

Can I read an extension's code without installing it?

Yes. Download the .crx from Google's update URL with the extension's ID and unzip it. It's a zip file with a signature header in front.

Is a minified extension malicious?

Not necessarily. Many build tools minify by default. It just makes the code much harder for you to check.

How can I see what network requests an extension makes?

In chrome://extensions with Developer mode on, open the extension's service worker link. Its DevTools Network tab shows requests from the background code.