Skill / SKILL.md

Auditing Browser Extension Trust

UnboundCompute/security-agent-skills

Audit a browser extension (Manifest V3) for a trust boundary another web page or extension can cross to reach a privileged capability, after the permission scope and the message-sender checks are resolved. Covers an externally_connectable or onMessageExternal handler that verifies an origin but not the calling script, a content-script-to-background message handler with no sender validation, host permissions broader than the extension needs, a web_accessible_resources page that acts on URL parameters, an injected content script writing page-controlled data to a DOM sink, and a weak or eval-permitting content-security policy. Use when reviewing the manifest, background and content scripts, and cross-context message passing, not the web-page DOM sink taxonomy the client-side DOM skill owns. An untrusted web origin or another extension is the source, a privileged extension API or DOM sink is the sink, and a message reaching it without a sender-and-origin check is the bug.
2 views 28 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Audit a browser extension (Manifest V3) for a trust boundary another web page or extension can cross to reach a privileged capability, after the permission scope and the message-sender checks are resolved. Covers an externally_connectable or onMessageExternal handler that verifies an origin but not the calling script, a content-script-to-background message handler with no sender validation, host permissions broader than the extension needs, a web_accessible_resources page that acts on URL parameters, an injected content script writing page-controlled data to a DOM sink, and a weak or eval-permitting content-security policy. Use when reviewing the manifest, background and content scripts, and cross-context message passing, not the web-page DOM sink taxonomy the client-side DOM skill owns. An untrusted web origin or another extension is the source, a privileged extension API or DOM sink is the sink, and a message reaching it without a sender-and-origin check is the bug.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/UnboundCompute/security-agent-skills' skill-source

Use the complete skill-source/skills/auditing-browser-extension-trust directory with your client’s skill installer.

  • skills/auditing-browser-extension-trust

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/auditing-browser-extension-trust

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
8e9c1771659003196609913d808fd61334f7a9527fe712cf7a3e7fc89adfb2a9
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills