SaferComputing.com

Reference · AI tool configuration

AI browser extensions: audit permissions and site access in Chrome, Edge and Firefox

Find the browser extensions that can read and change every site you open: Site access in chrome://extensions, Permissions and data in Firefox, <all_urls> in manifest.json on disk, and ExtensionSettings policies that block extensions or keep them off chosen sites.

Published
Updated
Last checked
Applies to
Chrome and Edge on Windows, macOS and Linux; Firefox 127 and later
Technical specification
Target artifactThe extensions in each browser profile, their manifest.json permissions and the site access each holds. A host permission such as <all_urls> lets an extension read and change every page you open, AI chats and webmail included.
Default behaviourChrome warns "Read and change all your data on all websites" at install, and in a test of Chrome 153 an extension with <all_urls> started on On all sites. Firefox 127 and later list a Manifest V3 extension's host permissions in the install prompt, but not new ones an update asks for.
Safe stateOnly extensions you use and recognize; none on On all sites unless its job needs every site; on managed computers, an ExtensionSettings policy that blocks unlisted extensions and keeps all of them off sensitive sites.
Check in Chromechrome://extensions, then Details on each extension and its Site access section
Check in Firefoxmenu, Extensions and themes, Extensions, the extension, Permissions and data
Check on WindowsGet-ChildItem "$env:LOCALAPPDATA\Google\Chrome\User Data\*\Extensions\*\*\manifest.json" | Select-String -Pattern '<all_urls>|\*://\*/\*|https?://\*/\*' -List | Select-Object Path
Check on Linuxgrep -l -E '"(<all_urls>|\*://\*/\*|https?://\*/\*)"' ~/.config/google-chrome/*/Extensions/*/*/manifest.json
Check on macOSgrep -l -E '"(<all_urls>|\*://\*/\*|https?://\*/\*)"' ~/Library/Application\ Support/Google/Chrome/*/Extensions/*/*/manifest.json
Fix in ChromeRemove what you do not use; set the rest to On click or On specific sites
Fix on managed computersExtensionSettings with "*" set to "installation_mode": "blocked" plus a runtime_blocked_hosts list, and each approved ID set to "allowed"

Read the result

Each path the disk check prints is an extension whose manifest names every site somewhere; the folder after Extensions is its ID. With Developer mode on, chrome://extensions shows each ID on its card.

Install warnings that Chrome for Testing 153 on Linux gave for test manifests on 9 November 2026, through chrome.management.getPermissionWarningsByManifest:

Warning at installManifest entry
Read and change all your data on all websitesHost permission <all_urls>, *://*/* or https://*/*; a content script on <all_urls>; debugger; proxy
Read and change your data on all example.org sitesOne domain, such as https://*.example.org/*
Read your browsing historytabs
Communicate with cooperating native applicationsnativeMessaging: a program on the computer
Nonecookies, scripting, activeTab, webRequest or storage alone; optional_host_permissions, asked for later

Site access in Chrome

For an extension that asks for every site, the details page in Chrome 153 offers On click, On specific sites and On all sites under Allow this extension to read and change all your data on websites you visit. Google's help describes the first as access to the current site after you select the extension, until you close the tab. An extension that names its sites shows Automatically allow access on the following sites instead. These choices only affect sites that match the extension's host permissions, Google notes.

Firefox

  • Under Extensions and themes, select the extension, then Permissions and data. Switches turn its optional permissions on and off.
  • Access your data for all websites means the extension could read any page you visit, and what you type there, such as login details, Mozilla says.
  • Firefox treats Manifest V3 host permissions as optional: you grant or revoke them, per site or per visit, from the toolbar's extensions button. From Firefox 127 the install prompt also lists them; MDN notes that new host permissions an update requests are not shown.
  • about:support lists every extension's ID under Add-ons; its Profile Folder opens the profile, whose extensions folder holds the files.

Where Chrome and Edge keep extensions

BrowserFolder holding the profiles
Chrome on Windows%LOCALAPPDATA%\Google\Chrome\User Data
Chrome on macOS~/Library/Application Support/Google/Chrome
Chrome on Linux~/.config/google-chrome
Edge on Windows%LOCALAPPDATA%\Microsoft\Edge\User Data
Any otherProfile Path at chrome://version, or edge://version in Edge

In each profile, often Default, Chromium installs an extension in Extensions\ID\VERSION_0 with its manifest.json. An unpacked extension runs from the folder shown under Source on its details page. For Edge, change the start of the path in the Windows check.

Restrict extensions by policy

Chrome and Edge read the same ExtensionSettings policy, which overrides ExtensionInstallBlocklist, ExtensionInstallAllowlist and the other older extension policies. With this value, users can install only the approved extension, and no extension can touch three sites:

ExtensionSettings policy value (JSON), Chrome or Edge
{
  "*": {
    "installation_mode": "blocked",
    "runtime_blocked_hosts": ["*://mail.google.com", "*://outlook.office.com", "*://*.YOUR_BANK_DOMAIN"]
  },
  "APPROVED_EXTENSION_ID": { "installation_mode": "allowed" }
}
  • runtime_blocked_hosts stops extensions injecting scripts and reading or changing web requests and cookies on those hosts: up to 100 entries, no paths. runtime_allowed_hosts overrides it.
  • Chromium's source says an extension's own entry takes every setting it leaves out from "*", so the approved extension is kept off those hosts too. A password manager needs runtime_allowed_hosts in its own entry for the sites it must fill.
  • Microsoft says ExtensionInstallBlocklist set to * disables installed extensions that are not on the allowlist, with no way for the user to turn them back on, and blocks every unpacked extension.
Where to set it in Chrome and Edge
  • Chrome on Windows: Group Policy, Administrative Templates, Google, Google Chrome, Extensions, Extension management settings, with the JSON on one line. On computers not joined to a domain, such as a family computer, Google documents the registry instead, under HKLM\SOFTWARE\Policies\Google\Chrome, with a sample chrome.reg in its browser bundle.
  • Chrome on Linux: a .json file holding {"ExtensionSettings": { ... }} in /etc/opt/chrome/policies/managed/.
  • Check Chrome: chrome://policy, Reload policies, then OK under Status.
  • Edge on Windows: the list policies are numbered string values. This creates only missing keys; if a list already has entries, use the next free number:
Windows PowerShell, as Administrator
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
foreach ($p in $k, "$k\ExtensionInstallBlocklist", "$k\ExtensionInstallAllowlist") { if (-not (Test-Path $p)) { New-Item -Path $p -Force | Out-Null } }
Set-ItemProperty -Path "$k\ExtensionInstallBlocklist" -Name '1' -Type String -Value '*'
Set-ItemProperty -Path "$k\ExtensionInstallAllowlist" -Name '1' -Type String -Value 'APPROVED_EXTENSION_ID'
Firefox: policies.json

Firefox reads it from a distribution folder next to firefox.exe on Windows, Firefox.app/Contents/Resources/distribution on a Mac, or /etc/firefox/policies on Linux, unless Group Policy already manages Firefox.

Contents of policies.json
{"policies": {"ExtensionSettings": {"*": {"installation_mode": "blocked"}, "APPROVED_ADD_ON_ID": {"installation_mode": "allowed"}}}}

Mozilla says blocked also removes an extension that is already installed, so with this file Firefox removes installed extensions that have no entry of their own. Firefox's ExtensionSettings has runtime_blocked_hosts and runtime_allowed_hosts only from Firefox 153, with host patterns that carry no path. Its restricted_domains, valid only in the "*" entry, lists domains where extensions' content scripts cannot run. Unlike Chrome, an extension with its own entry ignores most other "*" settings, Mozilla says; restricted_domains and the two host lists in "*" still apply to it, the host lists unless its own entry sets one.

Extensions that stole sessions or data

  • 25 December 2024, Cyberhaven: Expel reported, citing Cyberhaven, that an attacker phished an employee and published a malicious version, 24.10.4, of Cyberhaven's Chrome extension, which could send sessions and cookies to the attacker. Cyberhaven told customers to update to 24.10.5 or later, rotate passwords that were not FIDO2 and all API tokens, and review logs.
  • 12 February 2026, Akamai: 30 fake AI assistant extensions with more than 260,000 users, several featured in the Chrome Web Store, ran a content script on <all_urls> and could send page content, signed-in pages included, to a remote page their operator could change without a store update.
  • 5 March 2026, Microsoft: malicious AI assistant extensions with about 900,000 installs, seen in more than 20,000 business tenants, copied ChatGPT and DeepSeek conversations and page addresses, and turned collection back on after updates for users who had declined it.

A store listing, a featured badge and a clean first version do not protect against a later update. If you used an affected extension, remove it and follow infostealer session triage.

Sources