js-reverse-analyzer
Provides JavaScript reverse engineering capabilities including static analysis, dynamic execution, and bypassing anti-bot protections like Cloudflare 5-second challenge.
README
Spider JS MCP Skills
强大的 JavaScript 逆向分析工具集,提供 Skill 和 MCP Server 两种使用方式。
🎯 项目简介
本项目为 AI 提供完整的 JS 逆向分析能力,支持:
- 🔍 静态分析(提取 JS 文件、检测加密算法)
- 🌐 动态执行(Playwright 浏览器自动化)
- 🛡️ 五秒盾破解(Cloudflare、国内五秒盾等)
- 🧹 JS 反混淆(解码混淆代码)
- 🤖 智能检测(自动选择最优策略)
📦 两种使用方式
方式 1: MCP Server(推荐)
适用于: Claude Desktop, Cline, Codex CLI 等支持 MCP 的客户端
优势:
- ✅ 标准化 API
- ✅ 工具自动发现
- ✅ 支持动态执行
- ✅ 原生代码执行
快速开始:
# 使用 uvx 直接运行(无需 clone)
uvx --from git+ssh://git@github.com/sjhhh024-cmyk/Spider-JS-Mcp-Skills.git js-reverse-analyzer
配置示例:
{
"mcpServers": {
"js-reverse-analyzer": {
"command": "uvx",
"args": [
"--from",
"git+ssh://git@github.com/sjhhh024-cmyk/Spider-JS-Mcp-Skills.git",
"js-reverse-analyzer"
]
}
}
}
详细文档: MCP Server README
方式 2: Skill
适用于: 任何 AI(通过 view_file 读取指令)
优势:
- ✅ 无需额外配置
- ✅ 详细分析流程
- ✅ 可定制化
- ✅ 学习友好
使用方法:
AI 读取 skill/SKILL.md 后按照指令执行分析。
详细文档: Skill README
🚀 快速开始
MCP Server 安装
# 方式 1: 使用 uvx(推荐)
uvx --from git+ssh://git@github.com/sjhhh024-cmyk/Spider-JS-Mcp-Skills.git js-reverse-analyzer
# 方式 2: 克隆并本地安装
git clone git@github.com:sjhhh024-cmyk/Spider-JS-Mcp-Skills.git
cd Spider-JS-Mcp-Skills
pip install -e .
playwright install chromium
js-reverse-analyzer
Skill 使用
AI: 请读取 skill/SKILL.md 并按照指令分析 <目标网站>
🛠️ 功能特性
13 个强大工具
静态分析工具(8个)
analyze_website- 分析网站 JS 加密算法extract_js_files- 提取所有 JS 文件detect_crypto_algorithm- 检测加密算法generate_python_code- 生成 Python 代码generate_report- 生成分析报告validate_signature- 验证签名正确性analyze_api_request- 分析 API 请求beautify_js- 美化 JS 代码
动态执行工具(5个)
analyze_with_browser- 浏览器动态分析bypass_challenge- 绕过验证挑战execute_js_safely- 安全执行 JSdetect_protection- 检测保护措施deobfuscate_code- 反混淆代码
📊 支持的算法和保护
加密算法
- ✅ MD5, SHA-1, SHA-256, SHA-512
- ✅ AES, RSA, DES, 3DES
- ✅ CRC32, Base64
- ✅ 自定义签名算法
验证挑战
- ✅ Cloudflare 5-second challenge
- ✅ 五秒盾(国内常见)
- ✅ reCAPTCHA(检测)
- ✅ 阿里云盾
反混淆
- ✅ 十六进制/Unicode 解码
- ✅ 变量名还原
- ✅ 数组访问简化
- ✅ 死代码移除
📁 项目结构
Spider-JS-Mcp-Skills/
├── README.md # 本文件
├── pyproject.toml # Python 项目配置
├── skill/ # Skill 版本
│ ├── SKILL.md # Skill 主文件
│ ├── README.md # Skill 说明
│ └── examples/ # 使用示例
└── src/ # MCP Server 源码
├── server.py # MCP Server 主程序
├── analyzers/ # 分析器模块
│ ├── js_analyzer.py
│ ├── crypto_detector.py
│ ├── browser_executor.py
│ ├── protection_detector.py
│ └── smart_analyzer.py
└── utils/ # 工具模块
├── http_client.py
└── deobfuscator.py
📖 文档
🎯 实战案例
案例 1: 分析 vbdata.cn
成功分析出 CRC32 + MD5 签名算法,准确度 5/5 星。
🤝 贡献
欢迎提交 Issue 和 Pull Request!
📄 许可证
MIT License
🙏 致谢
⭐ 如果这个项目对您有帮助,请给个 Star!
📮 联系方式
- GitHub: @sjhhh024-cmyk
- Issues: https://github.com/sjhhh024-cmyk/Spider-JS-Mcp-Skills/issues
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.