browser-extension-reverse

browser-extension-reverse is a skill for Claude Code, Codex from SeaOf0/dsh-redteam-model. It costs 34 tokens per session (571 once invoked), scanned A, a copy of browser-extension-reverse, MIT.

A workflow for examining authorized Chrome, Edge, and Firefox browser extensions, including their package files, permissions, scripts, and data flows.

In plain words
What is it for?
Use it to inspect permissions, trace background and content scripts, investigate traffic or credential handling, and analyze suspicious extensions.
Why use it?
Extension behavior can be spread across a manifest, background worker, injected script, storage, and network messages, so the important logic is easy to miss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect permissions, trace background and content scripts, investigate traffic or credential handling, and analyze suspicious extensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaof0/dsh-redteam-model/browser-extension-reverse
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SeaOf0/dsh-redteam-model --skill browser-extension-reverse
Clone the repo
git clone --depth 1 https://github.com/SeaOf0/dsh-redteam-model

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for browser-extension-reverse

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/browser-extension-reverse/github.svg)](https://agentmods.dev/skills/seaof0/dsh-redteam-model/browser-extension-reverse)
Your own site
<a href="https://agentmods.dev/skills/seaof0/dsh-redteam-model/browser-extension-reverse"><img src="https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/browser-extension-reverse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for browser-extension-reverse

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaof0/dsh-redteam-model/browser-extension-reverse"><img src="https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/browser-extension-reverse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 571 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00571
Opus 5 $0.00017 $0.00285
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 9d ago against content hash 908c0bbcd53c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

browser-extension-reverse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to browser-extension-reverse — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

modes/binary-analysis/refs/platform/browser-extension-reverse/SKILL.md · 74 lines

What it actually says

Browser Extension Reverse Engineering

ACTION REQUIRED(读完后立刻执行)

  1. NOW: 读取 ../field-journal/precedent-reverse.md
  2. NOW: 确认目标是浏览器扩展(crx/xpi/解压目录),不是普通网页 JS(普通 → js-reverse/
  3. NEXT: 解压扩展;读 manifest
  4. ACT: 权限面 → 后台脚本 → 网络/存储钩子

适用场景

  • 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?
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 74 lines · 34 tokens per session scan A 908c0bbcd53c

Subscribe to this mod's changes

browser-extension-reverse is a skill published in the GitHub repository SeaOf0/dsh-redteam-model (325 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 571 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to browser-extension-reverse, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

ego-search

A search component for finding information through websites where you are already signed in, using either an agent browser or a bridge to your Chrome or Edge browser. It keeps signed-in results separate from public search results.

taxueseek/argo · 234 tokens

browser-skill

Use when the user asks to automate their logged-in Chromium browser: visit and read pages, fill forms, scrape data, click through flows, regression-test a PR's UI, validate a deployed page, or operate a tab they identify. Requires the bsk CLI and browser extension.

Tencent/BrowserSkill · 63 tokens

agent-first-screenshots

Agent-first screenshots — an agent drives the real app via CDP and produces clean, defect-free product screenshots (newsletters, landing pages, social, decks, PR). Dual-channel verification (DOM + pixels + vision) in a capture loop. Use for any "take/redo screenshots of the app" task.

Devin-AXIS/iPolloWork · 69 tokens

daytona-chrome-cdp

Launch and control standalone Chrome in a Daytona sandbox via CDP. Use for web sign-in, OAuth, Den Web setup, browser-only flows, or when the app should not be driven through Electron CDP.

Devin-AXIS/iPolloWork · 49 tokens

bilibili-keywords-search

A search tool for finding newly published videos on Bilibili, a Chinese video-sharing platform, by keyword. It can sort results, limit them by publication date, and show additional result pages.

redfox-data/redfox-community-dsh · 95 tokens

wechat-video-downloader

A video-link parser for WeChat Channels, WeChat's short-video platform. Give it a shared video link to receive the title, cover image, and a temporary direct link to the original video without a watermark.

redfox-data/redfox-community-dsh · 77 tokens