One-click static analysis
mp_analyzePerforms static analysis of WeChat Mini Programs by appid or active detection: decrypts/unpacks packages/plugins, locates signatures/encryption, extracts APIs, generates repro code, and writes reports.
Instructions
一键静态分析:解密解包(主包+分包+插件) → 签名/加密定位 → API 抽取 → 复现代码生成 → 结构化报告。输入 appid 或 '--active' 自动检测运行中的小程序。产出 report.json + REPORT.md + repro.node.mjs + repro.python.py。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appid": "<appid>"
},
"name": "mp_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | 小程序 appid (wx开头16位hex),或 '--active' 自动检测 |