一键导入
js-reverse
在使用 js-reverse-mcp 做前端 JavaScript 逆向时使用,适用于签名链路定位、页面观察取证、运行时采样、本地补环境复现与证据化输出。优先适配当前环境里的 js-reverse_* 工具,需要更强的浏览器/CDP/Hook 面时联动 jshookmcp。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
在使用 js-reverse-mcp 做前端 JavaScript 逆向时使用,适用于签名链路定位、页面观察取证、运行时采样、本地补环境复现与证据化输出。优先适配当前环境里的 js-reverse_* 工具,需要更强的浏览器/CDP/Hook 面时联动 jshookmcp。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | js-reverse |
| description | 在使用 js-reverse-mcp 做前端 JavaScript 逆向时使用,适用于签名链路定位、页面观察取证、运行时采样、本地补环境复现与证据化输出。优先适配当前环境里的 js-reverse_* 工具,需要更强的浏览器/CDP/Hook 面时联动 jshookmcp。 |
当任务属于以下场景时优先使用本 skill:
如果目标是二进制、APK、PE、ELF、DLL、SO,请改用 ida-reverse、radare2 或 reverse-engineering。
本 skill 不假设存在裸工具名,而是默认绑定当前客户端环境里可用的 js-reverse_* 工具。
如果当前任务明确提到 jshookmcp、JS hook、CDP、浏览器断点、网络拦截、SourceMap 或 AST 去混淆,也仍然走本 skill;只是把底层 MCP 面切到 jshookmcp,而不是把它当成一个新的总入口。
前提条件:jshookmcp 不是本地裸命令工具,而是一个要先下载/注册/启用的 MCP server。只有在 Claude MCP 配置里接入并启用后,相关工具面才真的可调用。
常用映射:
list_scripts -> js-reverse_list_scriptsget_script_source -> js-reverse_get_script_sourcesearch_in_sources -> js-reverse_search_in_sourcesbreak_on_xhr -> js-reverse_break_on_xhrevaluate_script -> js-reverse_evaluate_scriptget_paused_info -> js-reverse_get_paused_infoset_breakpoint_on_text -> js-reverse_set_breakpoint_on_textlist_network_requests -> js-reverse_list_network_requestsget_request_initiator -> js-reverse_get_request_initiatorget_websocket_messages -> js-reverse_get_websocket_messagestake_screenshot -> js-reverse_take_screenshotnew_page -> js-reverse_new_pagenavigate_page -> js-reverse_navigate_pageselect_page -> js-reverse_select_pageselect_frame -> js-reverse_select_framepause/resume -> js-reverse_pause_or_resume如果未来工具名前缀变化,先更新本节,不要在执行时临时猜测。
js-reverse 的增强执行面,不是独立总控@jshookmcp/jshook 下载并注册到 MCP 客户端配置里,然后确保该 server 已启用Observe → Capture → Rebuild 执行,只是在 Observe/Capture 阶段优先调用 jshookmcp 的浏览器与 Hook 能力mcp__plugin_ecc_chrome-devtools__*)—— 另一套 CDP 工具面当前环境里还注册了一套独立的 CDP 工具面,来自 Chrome DevTools MCP 插件(ecc 插件命名空间),
和 js-reverse_*/jshookmcp 是平行关系,不是替代关系,也不改变上面两节已有的映射。
常用工具:evaluate_script、list_network_requests、get_network_request、
list_console_messages、get_console_message、navigate_page、new_page、select_page、
list_pages、close_page、click、hover、drag、fill、fill_form、press_key、
upload_file、handle_dialog、take_screenshot、take_snapshot、take_heapsnapshot、
resize_page、emulate、wait_for、performance_start_trace、performance_stop_trace、
performance_analyze_insight、lighthouse_audit。全部带 mcp__plugin_ecc_chrome-devtools__ 前缀。
何时优先用它:
js-reverse_*/jshookmcp 未注册或不可用,但 Chrome DevTools MCP 插件已启用时实测记录:这套工具面是 2026-07-11 一次真实私有 API 逆向会话(CDP 抓包 + 前端源码交叉验证 + 实测
校准方法论)里实际使用并跑通的工具面。方法论细节和踩坑记录见
../field-journal/candidate/2026-07-11_private-api-cdp-source-cross-reference.md。
同一条目提炼出两条通用原则,补充记录在此(来自单次会话,candidate 层级,仅供参考,不覆盖上面 已有的工具映射和五阶段工作流):
Observe-firstHook-preferredBreakpoint-lastRebuild-orientedEvidence-first先页面观察,再最小化采样,再做本地补环境,不要跳过取证直接猜环境。
目标:先确认目标请求、相关脚本、候选函数,不猜环境。
默认动作:
js-reverse_new_page 或 js-reverse_navigate_page 打开目标页面js-reverse_list_network_requests 找目标请求js-reverse_get_request_initiator 回溯调用来源js-reverse_list_scripts、js-reverse_search_in_sources 缩小脚本范围必须产出:
目标:对目标请求做最小侵入采样,拿到参数样例、调用顺序、运行时证据。
规则:
js-reverse_break_on_xhrjs-reverse_evaluate_script 做轻量运行时观察js-reverse_get_paused_infojs-reverse_set_breakpoint_on_text目标:把页面证据整理成本地可迭代的 Node 复现材料。
规则:
window/document/navigator/crypto/storage目标:按报错和 first divergence 驱动补环境,直到本地脚本稳定跑出目标参数。
规则:
目标:本地跑通后,再做去混淆、控制流还原、业务逻辑提纯。
规则:
js-reverse_* 或 jshookmcp 的现成 MCP 能力直接取证,不要先写脚本重造能力references/fallbacks.md 回退references/output-contract.mdreferences/automation-entry.mdreferences/tool-defaults.mdreferences/task-input-template.mdreferences/mcp-task-template.mdreferences/task-artifacts.mdreferences/local-rebuild.mdreferences/env-patching.mdreferences/node-env-rebuild.mdreferences/instrumentation.mdreferences/ast-deobfuscation.mdreferences/fallbacks.mdreferences/output-contract.md上游入口: skills/SKILL.md(总控)、routing.md
上游备选:
reverse-engineering/SKILL.md(如果目标不是前端 JS)下游出口:
references/env-patching.mdreferences/local-rebuild.md / references/node-env-rebuild.mdreferences/ast-deobfuscation.mdreferences/fallbacks.md同级关联模块: anything-analyzer MCP(浏览器自动化和 HTTP 捕获能力可以互补)
本 skill 依赖的 MCP 能力可通过统一自举系统自动注册。
| 能力 | 可自动注册 | 方式 | 说明 |
|---|---|---|---|
| jshookmcp | ✓ | npm-mcp(npx 启动) | 自动写入 Claude MCP 配置 |
| anything-analyzer | ✓ | local-http-mcp | 自动注册 + 可自动启动服务 |
| Node.js | ✓ | winget 安装 | 运行时依赖 |
# 注册 jshookmcp 到 MCP 配置
powershell -File "<skill-root>\scripts\bootstrap-reverse.ps1" -Capability @('jshookmcp')
# 注册并启动 anything-analyzer
powershell -File "<skill-root>\scripts\bootstrap-reverse.ps1" -Capability @('anything-analyzer') -StartServices
jshookmcp 注册后仍需在 AI 客户端中启用该 MCP server 才能调用anything-analyzer 需要 pnpm 和项目源码,bootstrap 会自动 clone 并安装依赖Goal-contract, capability graph, TraceCard, and promotion-gate control plane for self-evolving reverse/security skill routing. Use before macro-routing when the task needs end-to-end completion, route repair, or reusable learning.
Ghidra 逆向分析辅助技能(GhydraMCP)。用户提到用 Ghidra 逆向、反编译、分析二进制/PE/ELF/APK/DLL/SO, 或明确不想用/没有 IDA License 想用免费方案时使用此技能。 Use when the user wants to reverse engineer, decompile, or analyze a binary with Ghidra specifically, or as a free alternative when IDA Pro is unavailable. ⚠️ 本仓库尚未用真实项目验证过此技能,见下方"来源与验证状态"。有 IDA License 时优先用 `ida-reverse` (已有本仓库真机验证的踩坑记录);本技能用于 IDA 不可用、或用户明确要求 Ghidra 的场景。
主动渗透测试工具链。覆盖信息收集、端口扫描、漏洞扫描、Web 渗透、SQL 注入、目录爆破、密码破解等场景。 通过 MCP server(pentestMCP / mcp-security-hub)将 20+ 安全工具暴露给 AI agent。 触发关键词:渗透测试、端口扫描、Nmap、漏洞扫描、Nuclei、SQL 注入、SQLMap、目录爆破、FFUF、密码破解、Hashcat、信息收集、子域名、Web 渗透、ZAP、Burp。
Provides reverse engineering techniques. Use when the main job is to understand how a compiled, obfuscated, packed, or virtualized target works before exploiting or solving it, including binaries, APKs, WASM, firmware, custom VMs, bytecode, malware-like loaders, and anti-debug or anti-analysis logic. Do not use it when the vulnerability is already understood and the remaining task is exploitation; use pwn instead. Do not use it for pure web workflows, log or disk forensics, or standalone crypto problems unless reversing the implementation is the real blocker.
IDA Pro 逆向分析辅助技能。当用户提到逆向、反编译、分析二进制/PE/ELF/APK/DLL/SO、破解、找密码、漏洞分析、病毒分析、firmware 固件分析,或需要分析 exe/dll/so/elf/macho/sys 等文件时,务必使用此技能。 Ensure to use this skill when the user wants to analyze any binary file, regardless of whether they explicitly mention "IDA" or "reverse engineering". This includes requests like "看看这个exe", "分析这个dll", "帮我破解", "找一下密码", "这个软件怎么注册", etc. Use the bundled scripts (scripts/start.ps1, scripts/open.ps1) for deterministic server management and file opening — do NOT write ad-hoc PowerShell commands for these operations.
实战 SRC / 众测 / Bug bounty 漏洞挖掘工作流 skill。包含:5 阶段方法论(intake → recon → enum → hunt → report)、19 个攻击类 playbook(SQLi/XSS/RCE/SSRF/IDOR/CSRF/Path Traversal/File Upload/SSTI/XXE/Race/HTTP Smuggling/OAuth/JWT/SAML/GraphQL/Mobile/LLM/DoS)、305 个结构化 payload、263 个 WAF/EDR 绕过变体、2887 份 HackerOne 真实 High/Critical 已披露案例、77,000+ WooYun 案例统计、国产 OA / 中间件指纹库、银行 / 电信行业垂直 playbook。当用户提到 "src 挖洞 / src 漏洞挖掘 / bug bounty / 众测 / hackerone / 漏洞赏金 / SRC / 任意 X 漏洞 / 渗透测试" 或问"如何挖某个目标 / 怎么测某个 API / 如何绕过 WAF" 时触发。