js-reverse-evolver
Enables OpenAI Codex to perform JavaScript reverse engineering through automatic deobfuscation, knowledge management, and evolution monitoring.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@js-reverse-evolver deobfuscate https://example.com/script.js"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
js-reverse-evolver
自进化 JS 逆向工作流 · MCP Server 集成 MemOS / GitNexus / Stagehand / js-reverse-mcp / Evolver,可在 Claude Code、Codex 等平台直接调用。
架构总览
js-reverse-mcp → SeedAdapter(获取初始种子代码)
↓
EvolverEngine(核心进化引擎)
↙ ↘
GitNexusAdapter StagehandAdapter(分支管理 / 浏览器验证)
↘ ↙
MemOSAdapter(历史记忆读写)
↓
SelfLearner / StrategyEvolver(自学习 / 自扩展)Related MCP server: JS Reverse MCP
快速开始
1. 安装依赖
cd /path/to/js-reverse-evolver
npm install
npx playwright install chromium2. 配置环境变量
cp .env.example .env
# 编辑 .env,填入 MemOS / js-reverse-mcp 等服务地址3. 构建 & 启动
npm run build
npm start接入 MCP 平台
Claude Code
将以下内容添加到 Claude Code 的 MCP 配置文件(~/.claude/mcp_settings.json):
{
"mcpServers": {
"js-reverse-evolver": {
"command": "node",
"args": ["/path/to/js-reverse-evolver/dist/index.js"]
}
}
}OpenAI Codex / 其他 MCP 平台
将 .mcp/config.json 内容复制到对应平台的 MCP Server 配置中即可。
四个工具接口
工具名 | 功能 |
| 输入目标 URL,自动进化输出反混淆代码 |
| 查询知识库中积累的模式与策略 |
| 人工注入混淆模式,增强进化能力 |
| 查询引擎当前状态与统计信息 |
自学习机制
每次进化成功后系统会自动:
提取本次成功的混淆特征 → 写入
knowledge/patterns.json高频模式(命中 ≥3 次)自动晋升为新策略 → 写入
knowledge/strategy_candidates.json下次启动自动加载新策略,越用越聪明
项目结构
js-reverse-evolver/
├── src/
│ ├── index.ts # MCP Server 入口
│ ├── utils/
│ │ ├── config.ts # 环境变量配置
│ │ └── logger.ts # 日志工具
│ ├── evolver/
│ │ ├── types.ts # 全局类型定义
│ │ ├── EvolverEngine.ts # 核心进化引擎
│ │ └── strategies/
│ │ ├── BaseStrategy.ts
│ │ ├── MutateStrategy.ts
│ │ └── CrossStrategy.ts
│ ├── adapters/
│ │ ├── MemOSAdapter.ts
│ │ ├── GitNexusAdapter.ts
│ │ ├── StagehandAdapter.ts
│ │ └── SeedAdapter.ts
│ └── learning/
│ ├── KnowledgeStore.ts
│ ├── SelfLearner.ts
│ └── StrategyEvolver.ts
├── knowledge/
│ ├── patterns.json # 混淆模式库(自动维护)
│ ├── strategy_candidates.json # 策略候选库(自动维护)
│ ├── success_history.json # 成功历史
│ └── failed_paths.json # 失败路径
├── .mcp/
│ └── config.json # MCP 平台接入配置
├── .env.example
├── package.json
└── tsconfig.jsonLicense
MIT
Available Tools
4 toolsevolve_jsA
对目标 URL 启动自动进化逆向工作流,直到反混淆代码匹配率达到阈值(默认 100%)。内置自学习:每次调用都会积累经验,越用越快。
Inputs: targetUrl (required), sessionId, maxIterations, enableSelfLearn, +2 more.
get_evolution_historyA
查看 GitNexus 沙箱仓库中所有进化分支的状态(开放中 / 已合并 / 已放弃)。
Inputs: limit.
inject_knowledgeB
手动向知识库注入人工经验(混淆模式或自定义策略),干预进化方向,加速收敛。
Inputs: fix (required), name (required), signature (required), injectType (required), +1 more.
query_knowledgeB
查询系统积累的知识库,包括混淆模式、成功历史、失败路径、策略候选及整体统计。
Inputs: type (required), limit, keyword.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct operation: injecting knowledge, querying knowledge, running the evolution workflow, and viewing history. There is no overlap in purpose, so an agent can easily select the right tool.
All tool names follow a consistent verb_noun pattern with lowercase and underscores: inject_knowledge, get_evolution_history, evolve_js, query_knowledge. The naming is uniform and predictable.
Four tools is well-suited for the specialized domain of JS reverse evolution. Each tool serves a necessary function without redundancy or bloat, making the set compact and focused.
The tool set covers the full workflow: evolving a target (evolve_js), injecting expert knowledge to guide evolution (inject_knowledge), retrieving learned knowledge (query_knowledge), and tracking evolution history (get_evolution_history). No obvious gaps exist for the stated purpose.
Maintenance
Related MCP Connectors
Deterministic memory & code intelligence MCP for 15 IDEs (100% LongMemEval in 12.9ms, 0 LLM tokens).
MCP server for static security analysis of Android source code
A MCP server built for developers enabling Git based project management with project and personal…
MEOK MCP Hardening MCP — automated security red-team for any MCP server. Maps OWASP LLM Top 10
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra functionality, enabling decompilation, analysis, and automatic renaming of methods and data.3011,870Apache 2.0
- AlicenseCqualityDmaintenanceAn MCP server for JavaScript reverse engineering that enables AI to perform browser debugging, script analysis, and automated hook injection. It streamlines complex workflows like deobfuscation, network tracing, and risk assessment through direct browser integration.3520 npm1,049Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA JavaScript reverse engineering MCP server that enables AI coding assistants to debug and analyze JavaScript code in web pages.1,064 npm17Apache 2.0
- FlicenseNot gradedqualityDmaintenanceExposes reverse engineering capabilities via MCP protocol, enabling AI agents to automatically detect, analyze, trace, and deobfuscate JSVMP protected JavaScript code.1-