What an XPI contains

An XPI is a ZIP archive with a manifest.json for WebExtensions, or a legacy install.rdf for older add-ons. The manifest lists permissions, content scripts, background scripts and browser-specific settings.

Modern Firefox add-ons use the same WebExtensions model as Chrome and Edge, with differences in API names, optional permissions and host-access prompts. Read the manifest before relying on the store summary.

Related pages:Firefox XPI analyzerFirefox XPI file analyzer

Permissions and website access

Separate API permissions from host permissions. A permission such as cookies or history is different from access to all sites, and optional permissions are requested at runtime rather than granted at install.

Check content_scripts.matches and host_permissions together. A narrow add-on should not need every site unless its feature genuinely works across the web.

  • Required and optional API permissions
  • Host permissions and match patterns
  • Content scripts and run_at timing
  • Background scripts or event pages
  • External domains referenced in code

Related pages:what does all_urls meanChrome host permissions checker

Firefox-specific review notes

Firefox shows some permissions in the add-on manager and may ask for host access separately. The package is still the most precise source because it shows the declared capabilities and the code that uses them.

Check the add-on's update URL, signature status and publisher. A signed XPI from addons.mozilla.org is not automatically private, but it gives you a review and distribution trail.

Related pages:how to audit an extension before installextension permission analyzer