Start with the access model
Extensions are small programs with browser privileges. Permissions grant API access, host permissions grant website access, and content scripts inject code into matching pages. Background workers coordinate behavior and may make network requests.
The browser shows permission warnings, but the wording can be vague. Reading the manifest and the source gives a more precise picture of what is possible.
Related pages:what does all_urls meanhow to audit an extension before installcontent script matches explained
Manifest V2 versus V3
Manifest V3 moves background execution to service workers, separates host permissions and restricts remote executable code. It also changes network interception from blocking webRequest to declarative rules in many cases.
Security depends on implementation. A V3 extension can still request broad host access or use powerful APIs. A V2 extension may be well maintained, but its platform support is shrinking.
| Topic | V2 | V3 |
|---|---|---|
| Background | Persistent page possible | Service worker, event-driven |
| Host permissions | Often combined with permissions | Dedicated field |
| Remote code | Looser historical rules | Executable code must be packaged |
| Request blocking | webRequestBlocking | declarativeNetRequest |
Related pages:Manifest V2 vs V3 security differencesservice worker vs background pageextension CSP in Manifest V3
Inspect, then decide
Download or open the package, inspect the manifest, and review permissions and host access. Look at content scripts, external domains and dynamic code indicators. Compare what you find with the feature you actually need.
No static analysis is complete. Use it to ask better questions, not to replace judgment. Remove extensions you do not use and re-check permissions after major updates.
Related pages:are Chrome extensions safehow to see permissionsweb-accessible resources security
Glossary
Permission: a declared API capability. Host permission: access to URLs. Content script: code injected into matching pages. Service worker: an event-driven background script. CRX/XPI: packaged extension formats. CSP: rules limiting script sources and execution.
These definitions are intentionally concise so they can be quoted and reused.