A browser extension looks harmless: a color picker, a grammar checker. Yet it is software running inside the browser, with reach over the pages your employees open. Extensions are a common way in for malware, and a quiet source of shadow IT. At Ostral, we find active malicious extensions in most of the fleets we audit. This guide explains how extensions work and why their reach makes them worth regulating.
An extension is code that runs inside the browser
An extension is a packaged bundle of HTML, CSS, and JavaScript. The browser installs it and runs it alongside the pages a user visits. Nobody navigates to it the way they visit a website. It is resident software: the browser loads it at every start, and it can observe and act on each page that opens.
A website sees only its own domain. An extension can see and change every site the user opens, from your payroll portal to your webmail. It works inside the user's own session, after the browser has decrypted the page.
The permission model: what an install grants
At install, an extension declares the permissions it wants and the browser shows a short warning. Most people click through it. The warning deserves a read, because its most common line says almost exactly this:
Read and change all your data on the websites you visit.
With that line, the extension can read anything on the page and change how the page behaves. It can capture what a user types, passwords and private messages included. It can rewrite links and move data off the page. A useful tool and a data-theft payload request it in the same words.
Permissions fall into a few broad groups:
- Host permissions decide which sites the extension can touch.
<all_urls>means every site; a narrow declaration means only a named domain. - API permissions unlock browser capabilities such as reading tabs, capturing audio, changing proxy settings, accessing cookies, or rewriting network requests.
- Optional permissions can be requested later, at runtime, long after the user has forgotten the install warning.
The permission dictionary lists every permission an extension can request and what each one grants.
Why extensions change after you approve them
An extension keeps changing after you approve it. It updates itself silently, with no prompt, and a month later it can behave in a completely different way. Most security reviews miss this.
Two mechanisms make this dangerous:
- Silent auto-update. The browser pulls new versions from the store without asking. The user who approved version 1.2 never sees version 1.9 arrive.
- Server-driven behavior. The service worker can fetch configuration or instructions from a remote server. The published code stays the same while someone switches new behavior on from afar. In one real case, an attacker could change a remote proxy configuration file at any time and reroute traffic with no visible update.
A change of owner opens a third path. Extensions get sold, and a trusted tool with a large install base is worth money. The Great Suspender, a tab manager with millions of users, passed to an unknown owner in 2020. It turned malicious without notice, and Google pulled it.
Why this matters for a security team
An extension sits inside the user's session, reaches every site, and can change its behavior at any time. Your firewall sees none of it. Your endpoint agent sees a browser doing ordinary browser work.
Approval at install is only the start. Each extension is resident, privileged code that keeps updating itself, so the one control that lasts is watching what it does over time, long after install.
The next parts of the series put this into practice. Part 2 shows how to list every extension running across your fleet. Part 3 shows how to examine a single extension when something looks off.


