Desktop & extensions · Audit

Browser Extension Audit

Audit one browser extension boundary such as permissions, content scripts, background/service worker, messaging, storage, native messaging, page injection, update behavior, or external API access.

MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions

← Back to search

Use this workflow

Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.

Goal and scope

Audit one browser extension boundary such as permissions, content scripts, background/service worker, messaging, storage, native messaging, page injection, update behavior, or external API access.

Domain invariants

  • Manifest permissions, host permissions, content script injection, background worker, and messaging are least-privilege and match the feature.
  • Page context, extension context, backend API, and native host boundaries are explicit and validated.
  • Tokens, user data, local storage, clipboard, downloads, tabs, and cross-origin requests are protected.
  • Failure, reload, update, browser restart, and permission revocation behavior is safe.
  • Tests/manual checks cover the selected extension behavior in supported browsers where relevant.

Audit method

Trace the selected extension flow through manifest, content/background scripts, message handlers, storage, API clients, injected code, native messaging, UI/popup/options page, tests, and release packaging.

Compare a permitted sender/origin and operation with the selected untrusted or permission-denied case. Identify where the browser's verified sender/permission state is replaced by an untrusted payload claim, or where restart/update loses required state. Pass manifest/runtime settings, message identity and observed local effect to Improve Browser Extension; a popup message alone does not establish that protected work was denied.

Workflow ID: browser-extension-audit · View the versioned source · Shared workflow and authority rules