browser-extension-reverse

Analyzes Chrome and Firefox extension packages to recover manifest permissions, background logic, and credential or traffic flows.

21|8|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill browser-extension-reverse-chengzongcai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: browser-extension-reverse
Source: https://github.com/chengzongcai/reverse-skill-backup/tree/main/skills/browser-extension-reverse
Command: npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill browser-extension-reverse-chengzongcai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Security analysts and reverse engineers often receive a browser extension (crx, xpi, or an unpacked directory) and need a repeatable way to audit its permissions, background workers, and hidden credential or traffic logic instead of guessing where to start. ## Core Features & Use Cases - Manifest and Permission Audit: Unpacks crx/xpi packages and evaluates manifest.json permissions, host_permissions, and content_scripts for over-privileged access such as <all_urls> or webRequest. - Background Logic Recovery: Traces MV2/MV3 service workers, content script injection points, chrome.storage/IndexedDB secrets, and runtime.sendMessage data flows. - Dynamic Debugging Workflow: Guides loading unpacked extensions in developer mode and attaching DevTools or CDP/Frida hooks to service workers. - Use Case: During a supply-chain investigation of a suspicious Chrome extension, use this Skill to enumerate its permission surface, locate the keylogging logic in the background worker, and extract IOCs for a YARA rule. ## Quick Start Analyze this unpacked Chrome extension directory and list its permission risks, background entry points, and any credential or network exfiltration logic.

Frequently Asked Questions about browser-extension-reverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reverse engineer a Chrome extension?▼

Unpack the crx file or copy the extension directory from the browser profile, then read manifest.json to map permissions, background scripts, and content_scripts. Load it unpacked in developer mode and attach DevTools to the service worker for dynamic analysis.

How to analyze a suspicious browser extension for malware?▼

Start with the manifest to flag over-privileged entries like <all_urls>, webRequestBlocking, or nativeMessaging. Then trace the background worker and message passing for exfiltration logic, and write YARA rules from extracted IOCs.

What manifest permissions indicate a malicious extension?▼

High-risk signals include host_permissions with <all_urls>, webRequestBlocking for traffic rewriting, nativeMessaging for reaching the local machine, and externally_connectable allowing web pages to drive the extension.

Does this approach work for MV3 service workers?▼

Yes. For MV3, focus on the service_worker lifecycle and declarativeNetRequest rules instead of persistent background pages. Attach Chrome DevTools directly to the service worker to observe its behavior.

When should extension analysis hand off to general JavaScript reversing?▼

Hand off when the extension's scripts are heavily obfuscated or the target is plain web page JavaScript rather than an extension package. The workflow routes complex obfuscated JS to a dedicated js-reverse process.