rea-client
Enables static triage of Electron client artifacts — format/magic/SHA-256 triage, string extraction, hardcoded secret and JWT scanning, Shannon entropy, and protection markers — to point an agent at where to look next in an Electron app bundle.
Enables static, read-only inspection of macOS app bundles (.app/.ipa) and Mach-O binaries: Info.plist, embedded executables, frameworks, entitlements, URL schemes, ATS settings, Mach-O headers, load commands, dylibs, rpaths, encryption, and code signing, plus detection of anti-debugging/packing protections.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
rea-client
Client-app reverse engineering module — an MCP server + CLI for static triage of APK, IPA, Electron, and Mach-O artifacts.
REA(morluto/rea)证明了「Agent + 逆向工具」的工作流可行。rea-client 把其中客户端 App这一块抽成零依赖模块:不启动目标、不反编译,只做可复现的静态分诊,把「下一步该看哪里」交给 Agent 和外部工具。
Agent / CLI ──▶ rea-client (MCP) ──▶ 分诊结果:格式 / 字符串 / 密钥 / 保护 / 熵
│
└─▶ 深挖:jadx · apktool · Hopper · Ghidra · Frida零依赖 · Node >= 20 · 只读 · 输出 JSON。
能力
工具 | 输入 | 输出 |
| 任意客户端产物 | 格式、magic、大小、SHA-256 |
| 同上 | 分诊 + 熵 + 密钥 + 保护标记(一次跑完) |
| 文件 | ASCII / UTF-16LE 字符串 + 字节偏移 |
| 文件 | 硬编码密钥、JWT、带认证 URL(预览脱敏) |
| 文件 | 整体与 64 KiB 分块 Shannon 熵 |
| Mach-O | header、load commands、dylib、rpath、加密、代码签名 |
| APK | dex、native libs、ABI、manifest、v1/v2+ 签名 |
|
| Info.plist、可执行文件、frameworks、entitlements、URL scheme、ATS |
| 文件 | 反调试 / 注入框架 / 壳 / root / 模拟器 标记 |
Related MCP server: retriage
快速开始
git clone https://github.com/littleqian12/rea-client.git
cd rea-client
npm test
node bin/rea-client.js analyze /Applications/Some.app
node bin/rea-client.js triage ./app.apk
node bin/rea-client.js scan_secrets ./binary
node bin/rea-client.js inspect_macho ./binary
node bin/rea-client.js inspect_app ./Demo.app输出示例(triage /bin/ls):
{
"path": "/bin/ls",
"kind": "binary",
"format": "macho-fat",
"size": 154624,
"sha256": "0056d8fd...",
"magic": "cafebabe000000020100000700000003"
}接入 MCP 客户端
Claude Desktop / Claude Code / Cursor 都可以直接注册为 stdio MCP server:
{
"mcpServers": {
"rea-client": {
"command": "node",
"args": ["/absolute/path/rea-client/bin/rea-client.js", "serve"]
}
}
}Claude Code:
claude mcp add rea-client -- node /absolute/path/rea-client/bin/rea-client.js serve之后可以直接说:
分析这个 APK 的签名和保护措施:/tmp/app.apk
看看这个 macOS App 用了哪些 dylib,有没有关闭库校验:/Applications/Foo.app
这个二进制里有没有硬编码密钥:/tmp/libfoo.dylib设计边界
静态只读:不运行目标,不加载 dylib,不执行 dex。
不做反编译:dex/JS 反编译交给 jadx/apktool/asar;本模块负责「先看哪里」。
启发式:字符串命中不等于恶意,熵高不等于加壳。
只扫前 256 MiB:超大文件会标记
truncated。不绕过保护:检测反调试/壳的存在,但不提供绕过。
授权使用
仅分析你拥有或已获得书面授权的 App。不要用它绕过 DRM、破解付费功能或规避反作弊。本项目的定位是安全评估、兼容性研究、恶意样本分诊。
文档
License
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan Android and iOS apps for security issues: findings, MASVS mapping and pentest reports.
Signed sandbox verdicts on any artifact, plus an agent marketplace. No key, no signup, no payment.
12 Binary/Forensics MCP tools: entropy triage, ELF/PE/WASM disasm, PCAP, EXIF, SQLite, ZIP.
Read-only Attify tools: AI agent verdicts, standards, attestations and definitions.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables analysis of native Android libraries (SO files) and Flutter applications, including decompilation, function identification, SSL certificate bypass patching, and binary modification through 30+ specialized tools.12-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to run hardened, read-only radare2-based static binary triage tools, including disassembly, cross-reference following, string decoding, function renaming, and evidence-checked report generation without executing the sample.MIT
- AlicenseAqualityCmaintenanceEnables an AI agent to statically triage local binaries and APKs by extracting and classifying strings, flagging hardcoded secrets, detecting file types, checking exploit-mitigation flags, and auditing Android manifests. Results from all tools can be merged into a single structured report with a summary findings list.61MIT
- AlicenseBqualityCmaintenanceEnables local, evidence-first triage of native binaries by extracting bounded symbols, strings, sections, call sites, gadget candidates, and mitigation signals as MCP tools for agent-guided manual review. It also provides metadata-only inspection for carriers such as archives, WebAssembly, firmware, and scripts without claiming verified vulnerabilities.125MIT