Framework Security
Securing Chrome Manifest V3 extensions and cross-origin messaging
Audit content scripts, externally_connectable rules, sender.url checks, and DOM XSS sinks inside MV3 extensions.
Prerequisites
- manifest.json and extension scripts
STEP 01
Narrow host_permissions and externally_connectable
Never grant broad wildcards or expose privileged background actions to arbitrary origins.
STEP 02
Avoid innerHTML and dynamic code sinks
Render untrusted page metadata safely using textContent and strict schema parsing.
Related AegisSec skills