browser-extension-reverse

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

A workflow for authorized analysis of Chrome, Edge, and Firefox browser extensions, including their manifest, background code, permissions, storage, and network behavior.

In plain words
What is it for?
It helps investigate extension permissions, service workers, content scripts, message passing, stored data, traffic logic, and suspected malicious extensions.
Why use it?
Browser extensions can run in the background and access websites or stored data, so their important behavior may not be visible from the pages they modify.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/asaiuta/reverse-workbench-skill/browser-extension-reverse
Any agent
npx skills add Asaiuta/reverse-workbench-skill --skill browser-extension-reverse
Clone the repo
git clone --depth 1 https://github.com/Asaiuta/reverse-workbench-skill

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/asaiuta/reverse-workbench-skill/browser-extension-reverse.svg)](https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/browser-extension-reverse)
Your own site
<a href="https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/browser-extension-reverse"><img src="https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/browser-extension-reverse.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00034 $0.00571
Opus 5 $0.00017 $0.00285
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 3d ago against content hash 908c0bbcd53c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

skills/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. 3d 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 Asaiuta/reverse-workbench-skill (2 stars, last pushed 20d 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

using-ao

Catalog of the AO (Agent Orchestrator) ao CLI: spawning workers, managing sessions and projects, sending messages, controlling the shared browser, previewing pages, and daemon control. Use when using the ao CLI, spawning workers, or managing AO sessions in an AO workspace.

Untrivial-ai/agent-orchestrator · 62 tokens

ctf-web

CTF Web攻击知识库 — PHP弱比较绕过、命令注入空格绕过、eval回显技巧、SSTI注入链、反序列化利用链、PHP代码审计checklist、常见flag位置.

Netw0rkNoob/VulnClaw · 56 tokens

hackerone

HackerOne 赏金项目 scope-guard 流程 — 读取 program scope,强制 scope 与 program rules,再逐个把 in-scope asset 交给 pentest-flow.

Netw0rkNoob/VulnClaw · 43 tokens

redteam-cve-lookup

CVE lookup and applicability assessment domain card. Use after reconnaissance has identified products, versions, services, or fingerprints and red-team mode needs evidence-based CVE matching before deeper testing.

Netw0rkNoob/VulnClaw · 43 tokens

redteam-cve-validation

CVE validation domain card. Use after CVE lookup has produced applicable or candidate CVEs and red-team mode needs scoped evidence to decide whether to continue, pivot, or report.

Netw0rkNoob/VulnClaw · 42 tokens

secknowledge-skill

Web+AI 安全测试知识库。融合 WooYun 88,636 案例 + 先知 L1-L4 方法论 + GAARM 150 风险 OWASP Top 10 (LLM/ASI/WSTG)。 TRIGGER when 任务是实战安全测试:渗透测试、漏洞挖掘/利用、红队攻防、安全审计 (SAST/DAST)、 CTF、AI/LLM 安全测试 (Prompt 注入/越狱/MCP/Agent/沙箱逃逸)。用户明确给出测试目标 (URL/代码/模型/Agent 架构) 且意图是"测试/审计/挖漏洞/利用"。 DO NOT trigger: 安全概念讨论("什么是 XSS"、"SQL 注入原理是什么")→ 普通问答 非安全性质的 code…

Netw0rkNoob/VulnClaw · 321 tokens