browser-extension-reverse
Helps your agent investigate browser extensions for security flaws. It's useful for analyzing how extensions work and if they expose sensitive information.
What it does
This tool helps investigate browser extensions (like those for Chrome or Firefox). It analyzes how they work internally, including their permissions, hidden code, and how they handle sensitive information like passwords.
When to use it
- ✓When you suspect a browser extension might be malicious.
- ✓To understand how a specific extension collects or uses your data.
- ✓When analyzing extensions that seem to have excessive permissions.
Example of what to ask your AI
“Analyze this browser extension and tell me if it seems safe.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool first unpacks the extension and reads its main configuration file (manifest). Then, it examines the code that runs in the background and how the extension interacts with websites and stores information.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add zhaoxuya520/reverse-skill --skill browser-extension-reverseOr download just the file:
curl -L https://raw.githubusercontent.com/zhaoxuya520/reverse-skill/main/skills/browser-extension-reverse/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Browser Extension Reverse Engineering
ACTION REQUIRED(读完后立刻执行)
NOW: 读取../field-journal/precedent-reverse.mdNOW: 确认目标是浏览器扩展(crx/xpi/解压目录),不是普通网页 JS(普通 →js-reverse/)NEXT: 解压扩展;读 manifestACT: 权限面 → 后台脚本 → 网络/存储钩子
适用场景
- Chrome/Edge MV2/MV3 扩展分析
- Firefox 扩展
- 恶意扩展 IOC、供应链扩展投毒调查
- 扩展实现的签名/加密/代理逻辑还原
工作流
1. 包体
□ crx 解压 / 从 profile 取扩展目录
□ manifest.json:permissions、host_permissions、background、content_scripts
□ 评估过度权限(<all_urls>、webRequest、debugger)
2. 逻辑
□ service_worker / background 入口
□ content_script 注入点与世界(isolated)
□ chrome.storage / IndexedDB 密钥
□ 与 `js-reverse` 相同:Observe 网络与消息传递(runtime.sendMessage)
3. 动态
□ 开发者模式加载解压目录
□ chrome://extensions 检查错误
□ DevTools 附加 service worker
□ 必要时 Frida/浏览器 CDP(jshookmcp)
工具链
| 工具 | 用途 |
|---|---|
| 解压/jq | manifest |
| Chrome DevTools | worker 调试 |
| js-reverse 工具链 | 深度 JS |
| YARA | 恶意扩展规则 |
参考
references/extension-analysis.md- field-journal 扩展恢复相关条目
../js-reverse/../malware-analysis/
路由上下文
上游: MASTER R30
下游: 复杂混淆 JS → js-reverse;投毒调查 → supply-chain / malware
任务完成自检
- 是否列出权限面与入口脚本?
- 是否还原关键数据流?
- Checklist?
FAQ
What is a 'manifest'?
It's a configuration file that tells the browser what permissions the extension needs and how it should operate.
What are 'excessive permissions'?
These are permissions an extension requests that go beyond what's necessary for its main function, which can be a security risk.
What are 'background workers' or 'service workers'?
These are parts of the extension's code that run in the background, even when you're not actively using the extension.
Details
Original description by the author
Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.
Popularity
- GitHub stars
- 42k
- Ranking position
- #4753
- License
- MIT
- Updated
- 9/22/2026
Comments
- …
More skills from this repository
competition-ad-certificate-abuse
Helps your agent analyze attacks on digital certificate systems. It investigates how certificates can be misused to gain access.
zhaoxuya520/reverse-skill
competition-agent-cloud
Helps your agent analyze security challenges in AI and cloud systems. It investigates how prompts, tools, and the cloud can be exploited.
zhaoxuya520/reverse-skill
competition-android-hooking
Helps your agent investigate Android applications. It analyzes how apps work internally and how they might be modified or exploited.
zhaoxuya520/reverse-skill
competition-browser-persistence
Helps your agent analyze how websites store information in your browser. It investigates cookies and other data to understand how sessions work.
zhaoxuya520/reverse-skill
Similar skills
django-security
Helps your agent implement security practices in Django applications. It focuses on authentication, authorization, and prevention against common attacks, ensuring more secure code.
affaan-m/ECC
laravel-security
Helps your agent secure Laravel applications against threats. Implements security practices for authentication, authorization, and common attack prevention.
affaan-m/ECC
module-regression
Helps your agent manage changes in large projects. Ensures code changes in one part don't break other parts.
affaan-m/ECC