项目资料/js-reverse-automation--skill-main/js-reverse-automation/SKILL.md
通过 chrome-devtools-mcp 连接真实浏览器,跟踪 sign/enc/token 的生成链路,识别运行时入口函数与依赖,然后生成 JSRPC 注入代码、Flask 代理代码以及带校验输出的 Burp autoDecoder 对接文档,本skills只生成对应的代码,不会对未授权目标进行测试。
npx skillsauth add 715494637/reverse-skill js-reverse-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
sign / enc / token / 表单字段时,使用此 Skill。请按以下格式提供输入:
Target URL: https://xxx/login/index
Parameters To Analyze: password
Environment Constraints: none
Optional Fetch Example: fetch("https://xxx/Login/CheckLogin", {...})
最少必填字段:
Target URLParameters To AnalyzeEnvironment Constraints可选但强烈建议提供:
Optional Fetch Example在进行任何浏览器操作前,先运行 scripts/check_inputs.py。详细的输入输出契约见 references/output-contract.md。
js-reverse-automation/
├── README.md # 项目说明、使用方式、更新说明和结构说明。
├── SKILL.md # Skill 主控文件。只负责定义任务如何被触发、必须输入什么、流程怎么分阶段、输出和验收怎么要求。
├── agents/
│ └── openai.yaml # Skill 的 agent 入口配置。负责定义默认提示词、默认输入格式和执行约束。
├── artifacts/ # 运行期目录,用来承接流程中间产物和最终校验报告。预期会出现的文件如下:
│ ├── artifacts/phase0_input.json # 规范化后的输入
│ ├── artifacts/phase1_trace.json # 浏览器链路复现结果
│ ├── artifacts/phase2_entrypoints.json # 参数入口识别结果
│ ├── artifacts/phase3_dependencies.json # 依赖、上下文和调用方式提取结果
│ └── artifacts/validation_report.json # 最终校验报告
├── references/
│ ├── references/workflow-recon.md # 阶段流程说明书。
│ ├── references/output-contract.md # 输入输出契约说明书。
│ ├── references/failure-recovery.md # 失败恢复和诊断格式说明书。
│ ├── references/validation-checklist.md # 验收标准说明书。
│ └── references/antidebug/
│ ├── references/antidebug/debugger-loop.md # 处理无限 debugger、eval、Function 类问题。
│ ├── references/antidebug/console-detect.md # 处理控制台检测、日志篡改、清屏等问题。
│ ├── references/antidebug/timer-check.md # 处理时间差、性能计时、Promise 时序检测。
│ ├── references/antidebug/env-detect.md # 处理窗口大小、webdriver、UA、DevTools 检测等环境识别问题。
│ ├── references/antidebug/proxy-guard.md # 处理跳转、关闭页面、history、代理拦截等链路阻断问题。
│ └── references/antidebug/dynamic-alias.md # 处理动态别名、wrapper、resolver 型入口和不稳定路径。
└── scripts/
├── scripts/check_inputs.py # 输入校验器。
├── scripts/emit_analysis_result.py # 统一分析产物生成器。
├── scripts/emit_jsrpc_stub.py # JSRPC 代码生成器。
├── scripts/emit_flask_proxy.py # Flask 代理生成器。
├── scripts/emit_burp_doc.py # Burp autoDecoder 文档生成器。
└── scripts/validate_artifacts.py # 全链路校验器。
this 绑定、运行时前置条件,以及在 UI 之外调用该函数所需的依赖链。analysis_result.json
analysis_result.json 生成浏览器侧的注册代码,要求可直接手工测试、类似如/go?group=fausto&action=generate_password¶m=111111直接返回加密后的字符串的版本。scripts/validate_artifacts.py,生成包含通过/失败明细与修复建议的校验报告。各阶段的成功条件、失败处理和是否继续规则,见 references/workflow-recon.md。
当工作流成功时,此 Skill 必须产出:
analysis_result.json所有生成器都必须以 analysis_result.json 作为输入。各输出文件要求和 schema 细节见 references/output-contract.md。
references/antidebug/ 下的精确规则文件,并记录风险。更详细的恢复规则见 references/failure-recovery.md。
只有满足以下条件,此 Skill 才算完成:
analysis_result.json 通过契约校验。最终验收以 references/validation-checklist.md 为准。
development
Use when a Web JS reverse task has unclear phase selection, mixed source-chain and shell blockers, runtime divergence, validation-only work, or RS/瑞数 clues such as 412, cookie hops, sign, token, JSVMP, worker, wasm, hasDebug, or basearr.
tools
定位 JS 中参数的生成入口。当用户问"xxx 参数在哪生成"、"找加密入口"、"定位签名函数"、"请求参数怎么加密的"时使用
tools
通用 JS AST 解混淆。当用户说"解混淆"、"还原代码"、"反混淆"、"deobfuscate"、"代码看不懂全是_0x"时使用
development
Use when a Web JS reverse task has unclear phase selection, mixed source-chain and shell blockers, runtime divergence, validation-only work, or RS/瑞数 clues such as 412, cookie hops, sign, token, JSVMP, worker, wasm, hasDebug, or basearr.