Analysis updated 2026-05-18
Reverse engineer the API signature algorithm of your own authorized WeChat mini-program.
Capture and inspect a mini-program's network requests for security analysis.
Reproduce a mini-program's API signing logic in a standalone Node.js script.
Integrate with a mini-program's backend API outside of WeChat for authorized testing.
| whitenightshadow/wx-mp-mcp | andrewrk/mcserve | angais/fable5-mc | |
|---|---|---|---|
| Stars | 59 | 59 | 59 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2013-04-10 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 5/5 | 3/5 | 2/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
Traffic capture requires installing mitmproxy separately and configuring a phone's WiFi proxy.
wx-mp-mcp is a tool that plugs into AI coding assistants like Claude Code or Cursor through the Model Context Protocol, and automates the process of reverse engineering WeChat mini-programs. A mini-program is a small app that runs inside the WeChat messaging app. The README states clearly that this is meant only for security analysis of a person's own or explicitly authorized mini-programs, not for unauthorized access or bypassing someone else's security. The tool works in three stages. First it reads the encrypted mini-program package files already stored on a computer's disk and decrypts them into readable source code, without needing WeChat to be running or touching its process in memory. Second, it can capture the mini-program's real network requests using a proxy tool called mitmproxy, saving each request along with its signature parameters. Third, an AI reads the decrypted source code to locate the signing or encryption algorithm, works out the exact formula through analysis or by running the code in an isolated sandbox, and produces a small standalone script that can reproduce that signature outside of WeChat entirely. The project ships as twelve tools grouped into unpacking and analysis, traffic capture, signature cracking, and an offline code sandbox for running extracted modules safely. Most mini-programs without extra obfuscation can be handled by a single one-step analysis command, more heavily protected ones need the additional capture and cracking steps. The README stresses that the tool avoids attaching to or modifying the live WeChat application, since injecting into a running WeChat process carries a risk of the user's account being flagged or banned, which is the exact approach this project avoids. It works on both macOS and Windows and requires Node.js.
An AI-assisted reverse engineering tool for authorized WeChat mini-programs that decrypts packages, captures traffic, and recreates API signature logic as a standalone script.
Mainly JavaScript. The stack also includes JavaScript, Node.js, MCP.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.