▸ README 原文(同步于 2026-10-13 17:17)
<div align="center">
**English** · [简体中文](docs/readme/README_zh.md) · [繁體中文](docs/readme/README_zh-TW.md) · [日本語](docs/readme/README_ja.md) · [한국어](docs/readme/README_ko.md) · [Türkçe](docs/readme/README_tr.md) · [Русский](docs/readme/README_ru.md) · [Tiếng Việt](docs/readme/README_vi.md) · [ไทย](docs/readme/README_th.md) · [Deutsch](docs/readme/README_de.md) · [Español](docs/readme/README_es.md) · [Français](docs/readme/README_fr.md) · [Українська](docs/readme/README_uk.md) · [Polski](docs/readme/README_pl.md) · [Português (Brasil)](docs/readme/README_pt-BR.md) · [العربية](docs/readme/README_ar.md) · [فارسی](docs/readme/README_fa.md) · [Bahasa Indonesia](docs/readme/README_id.md) · [Italiano](docs/readme/README_it.md)
# REA: Reverse Engineer Anything
### One MCP for reverse engineering across binaries, applications, and runtime behavior.
**See a feature you like. Understand how it works, down to the binary level.**
[](https://www.npmjs.com/package/rea-agents)
[](docs/mcp-contracts.md#generated-catalog)
[](#what-you-can-analyze)
[](https://skills.sh/morluto/rea/reverse-engineer-anything)
[](LICENSE)
[](https://discord.gg/GkcryMnJDM)
<a href="https://trendshift.io/repositories/82054?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-82054" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/82054" alt="morluto%2Frea | Trendshift" width="250" height="55"/></a>
**[Website](https://rea.tools/) · [Guides](https://rea.tools/guides/) · [Showcases](https://rea.tools/showcase/)**
[Quick start](#quick-start) · [How REA works](#how-rea-works) · [What you can analyze](#what-you-can-analyze) · [Showcases](#showcases) · [FAQ](#faq) · [Documentation](#documentation)
<code>npx rea-agents setup</code>
<br />
<img src="docs/assets/rea-hopper-analysis.png" alt="REA launching its analysis bridge inside Hopper while inspecting a native binary" width="1200" />
<br /><br />
<table aria-label="REA community">
<tr>
<td align="center" width="360">
<a href="https://discord.gg/GkcryMnJDM">
<img src="docs/assets/discord.svg" height="42" alt="Discord" /><br />
<strong>Join the Reverse Engineering Community</strong>
</a><br />
<sub>Discord · Q&A · Show and Tell</sub>
</td>
</tr>
</table>
<br />
</div>
---
See a feature in an app that you want in your own product? Ask your agent to investigate it with REA. It can inspect the app without its source code, explain how the feature works, show the evidence, and build a version for your project.
REA connects your agent to tools for inspecting native binaries, JavaScript and Electron apps, .NET assemblies, and websites. You can also use the same tools from your terminal. Analysis runs locally, and results include the evidence and limitations behind each conclusion.
Setup registers REA with your agent and installs matching workflow instructions. Native analysis can use an existing Hopper, Ghidra, or IDA installation; setup can optionally install Hopper with approval. Static JavaScript analysis needs no native analysis engine.
> **[Visit the REA website](https://rea.tools/)** for setup instructions, illustrated guides, and real case studies.
## Quick start
### Set up your agent
With Node.js and npm installed, run:
```bash
npx rea-agents setup
```
Choose your agents, review the proposed changes, and approve them. Setup adds
REA's MCP server and matching workflow instructions, with backups of existing
configuration. Restart your agent afterward.
Setup supports Claude Code, Codex, Cursor, Gemini CLI, Grok Build and
[other agents](docs/installation.md#supported-agents). See
[installation and setup](docs/installation.md) for provider configuration and
manual MCP registration.
### Ask your agent
```text
Understand how search works in the Notes app, show me the evidence, and build a
similar feature for my project.
```
Replace Notes with your target app and the feature you want to understand.
### Use the terminal
Inspect an extracted JavaScript/Electron app directory or ASAR:
```bash
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
```
The result includes modules, imports, Electron boundaries and their evidence.
Replace the path with your target, such as `"D:/apps/example"` on Windows.
To install the `rea` command for regular use:
```bash
npm install --global rea-agents
rea --help
```
For native analysis, configure a provider first. See the
[CLI and Evidence guide](docs/cli.md) for native commands, provider selection,
snapshots and scripting.
### Update REA
REA changes quickly, and new releases include frequent bug fixes. Keep your
installation up to date.
For a CLI installed with `npm install --global` or `bun add --global`:
```bash
rea update
```
Bun global updates require Bun 1.2.17 or later. With an older Bun release,
upgrade Bun manually before running `rea update`.
To refresh your agent registrations and skill, run the setup command printed
by the update.
If you use `npx`, update your agent setup with:
```bash
npx rea-agents@latest setup
```
Review the setup changes and restart your agent. For one-off CLI commands,
use `npx rea-agents@latest` followed by the command. With Bun, use
`bunx rea-agents@latest` in place of `npx rea-agents@latest`.
## How REA works
Your agent calls REA through MCP to inspect the target and trace relevant code.
REA returns findings with their evidence. The agent uses them to ask follow-up
questions, explain the behavior, or write and test an implementation.
CLI commands use the same workflows.

[Open the full-size figure](website/public/assets/figures/rea-investigation-flow.svg).
<a id="current-status"></a>
## What you can analyze
REA requires Node.js 22.x (>=22.19), 24.x (>=24.11), or 26+, plus npm.
Additional tools and host support depend on the target:
| Target | What REA returns | Requirements and guide |
| ---------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| Native binaries | Pseudocode, assembly, strings, symbols, calls and references | Hopper, Ghidra or IDA; [native analysis](https://rea.tools/guides/native/) |
| Offline ELF layout | Sections, segments, original symbols/relocations and static mitigation candidates | Caller-supplied pwntools on Linux x64; [binary diagnostics](docs/binary-diagnostics.md) |
| Go binaries | Embedded compiler version, modules, replacements and build settings | Built-in static ELF/PE/thin Mach-O inspection; no Go installation required |
| WASM artifact | Validation, sections, exact import/export WAT forms and decoded WAT | Caller-supplied WABT 1.0.42; `inspect_wasm_artifact` |
| EVM bytecode | Dispatch selectors, byte offsets, inferred arguments and mutability | Local raw/hex carrier on Linux x64; [offline EVM guide](docs/evm-bytecode.md) |
| SQLite databases | Tables, columns, indexes, views, triggers and selected ordinary-table rows | Local database/WAL snapshot; Node.js 24.x >=24.15 or 26+ with native SQLite limits |
| Recorded Linux crashes | Raw notes, every recorded thread's registers/signals and optional mapping candidates | Caller-supplied pwntools on Linux x64; optional GDB/pwndbg; [recorded crashes](docs/recorded-crashes.md) |
| JavaScript / Electron | Modules, imports, source maps, routes, IPC and native add-on relationships | Node.js and npm; [application analysis](https://rea.tools/guides/javascript/) |
| Websites | Page structure, scripts, network observations and requested screenshots | A Chrome-family browser; [browser analysis](https://rea.tools/guides/browser/) |
| Saved network captures | Requests, responses, exposed payloads and source locations | HAR or Fiddler Everywhere SAZ; mitmdump on Linux for native mitmproxy; [capture guide](docs/web-network-captures.md) |
| .NET assemblies | Metadata, CIL instructions, declared native dependencies and build comparisons | None (static only); [managed-code guide](docs/managed-code-analysis.md) |
| Android APKs | Manifest declarations, classes, decompiled methods and references | Headless JADX and a full JDK on Linux/macOS/Windows x64; [Android guide](docs/android-analysis.md) |
| Android devices | Devices, packages, processes, logs, dumps, screen captures, and APK/file transfers | Caller-supplied adb (emulator or hardware); [ADB guide](docs/adb-device-analysis.md) |
| JEB projects | Engine-backed project units, artifact digests and type/method pseudo-code | A caller-started JEB client serving MCP, selected with REA_JEB_MCP_URL; [JEB guide](docs/jeb-analysis.md) |
| Android resources | Decoded manifest, string tables, locales and version facts | Caller-supplied Apktool launcher; [resource guide](docs/apktool-resource-analysis.md) |
| Flutter apps | Dart snapshot hash, per-ABI library digests and engine build provenance | None (static APK parsing); [Flutter guide](docs/flutter-analysis.md) |
| Firmware | Regions, extraction results and native-analysis handoffs | Binwalk / Unblob on Linux; [firmware guide](docs/firmware-analysis.md) |
| Recorded packets | Selected fields, repeated values, filters and decode-as rules | Linux: TShark 4.x + prlimit; [capture guide](docs/packet-captures.md) |
| Packet summaries | Endpoints, DNS, TLS SNI, protocol distribution and HTTP requests | Caller-supplied tshark and capinfos (Linux-verified); [pcap guide](docs/pcap-analysis.md) |
| Recorded logic signals | Decoder annotations, sample ranges and diagnostics | Linux: sigrok-cli 0.7.2 + prlimit; [signal recordings](docs/signal-recordings.md) |
| Packages and resources | File inventories, digests, plists, Apple bundle anatomy and extracted resources | [Artifact and JavaScript guide](docs/javascript-artifact-reconstruction.md), [Apple applications](docs/apple-application-analysis.md) |
| Process behavior | Terminal output, interactions, exit and filesystem observations, and run comparisons | Linux/macOS with a native PTY; [process capture](docs/process-capture.md) |
Static JavaScript and .NET inspection read the supplied files without running
the application. Runtime capture runs or interacts with the selected target
using your user permissions; each runtime guide describes its effects.
<a id="choosing-a-deep-analysis-provider"></a>
Native formats and host support vary by provider. See
[Hopper and Ghidra setup](docs/installation.md#hopper), the
[IDA guide](docs/ida-provider.md) (including an optional native MCP bridge), and
[experimental Windows Ghidra support](docs/windows-ghidra-p0.md).
Ghidra also supports [16-bit DOS analysis](docs/ghidra-dos.md).
For large binaries, raise the provider's startup deadline with
`REA_GHIDRA_STARTUP_TIMEOUT_MS` or `REA_HOPPER_STARTUP_TIMEOUT_MS`.
For provider selection, see the [CLI guide](docs/cli.md#choose-a-provider).
Check [release availability](docs/installation.md#released-package-and-main)
for features added since the latest npm release.
## Showcases
[](https://rea.tools/showcase/)
### DX-Ball: reconstruct a sound-pan calculation
Follow a sound call into its position-to-pan helper, inspect the instructions,
and turn incomplete pseudocode into C. The reconstruction passes 3,205
original-x86 cases and reproduces all 63 compiled function bytes.
[Read the case study](https://rea.tools/showcase/dx-ball/) ·
[Reconstruction repository](https://github.com/N0zoM1z0/dx-ball)
### Notion: trace the Electron clipboard bridge
Find the renderer's clipboard API, follow it through preload and IPC into the
main process, and inspect the rich clipboard format.
[Read the case study](https://rea.tools/showcase/notion/)
### TH04: recover a DOS bullet-ring calculation
Inspect the original PC-98 game's 16-bit instructions, recover the fixed and
aimed angle calculations, and compare the reconstructed C++ with the
historical compiler output.
[Read the case study](https://rea.tools/showcase/th04/) ·
[Reconstruction repository](https://github.com/N0zoM1z0/th04)
If you've used REA on something interesting, we'd love to see it. Share your
case in an [issue](https://github.com/morluto/rea/issues) or a
[pull request](https://github.com/morluto/rea/pulls), including the target,
your question, how REA helped, and what you found.
## FAQ
<details>
<summary><strong>Which agents can use REA?</strong></summary>
Any agent that supports local MCP servers. Setup configures the
[supported agents](docs/installation.md#supported-agents); other clients can use
[manual MCP registration](docs/installation.md#mcp-registry).
</details>
<details>
<summary><strong>Do I need Hopper, Ghidra or IDA?</strong></summary>
Deep native analysis uses one of them. Static JavaScript and .NET inspection
work without a native analysis engine. Setup can install Hopper after approval;
Ghidra and IDA use your existing installations. See [provider setup](docs/installation.md#hopper).
</details>
<details>
<summary><strong>Do I need to start Hopper first?</strong></summary>
REA starts Hopper when an operation needs it. On macOS, a first-run dialog may
ask you to choose demo mode or activate your license. Complete that prompt in the
same user session before your first CLI/MCP operation or unattended job. Open
Hopper manually if needed. See
[Hopper startup and troubleshooting](docs/installation.md#launcher-paths-and-troubleshooting).
</details>
<details>
<summary><strong>What does installing the skill from skills.sh do?</strong></summary>
The skill supplies investigation instructions for your agent. Use `npx rea-agents setup`
to register REA's MCP server and install the matching instructions, then restart
your agent. See [skill-only installation](docs/installation.md#skill-only-installation).
</details>
<details>
<summary><strong>What code does REA return?</strong></summary>
Native analysis returns pseudocode and assembly. JavaScript/Electron analysis
recovers modules and their relationships. Your agent uses these findings to
write and test an implementation; the [showcases](#showcases) give worked examples.
</details>
<details>
<summary><strong>Does REA upload my app?</strong></summary>
REA analyzes targets locally. Your agent receives the tool results, and its
model provider has its own data policy.
</details>
<details>
<summary><strong>What should I do if I hit a bug?</strong></summary>
Update first; a recent release may already fix it.
For a CLI installed with `npm install --global` or `bun add --global`:
```bash
rea update
```
For agent setup through `npx`:
```bash
npx rea-agents@latest setup
```
If you're using an agent, complete the [setup refresh](#update-rea) and restart
it. Retry the same task. If the problem persists, [open an issue](https://github.com/morluto/rea/issues)
with your REA version, target type, steps to reproduce and error output.
</details>
## Documentation
Start with the website's [worked guides](https://rea.tools/guides/).
For exact options, prerequisites and result contracts:
- [Installation and setup](docs/installation.md): agent registration, provider configuration, updates and uninstall.
- [Readiness and troubleshooting](docs/installation.md#check-readiness-for-your-task): diagnose one agent or analysis engine.
- [CLI and Evidence](docs/cli.md): commands, provider selection, snapshots, import/export and exit statuses.
- [MCP contracts](docs/mcp-contracts.md) and [agent prompts](docs/mcp-prompts.md): tool results, sessions and guided investigations.
- [Tool catalog](docs/mcp-contracts.md#generated-catalog): generated inventory of tools, providers and CLI commands.
- [Roadmap](docs/roadmap.md): planned work and capability trackers.
Report vulnerabilities through [SECURITY.md](SECURITY.md).
## Star history
🎉 **180,000 GitHub stars — thank you!**
Thanks to everyone using REA, reporting bugs, requesting features, testing builds, and contributing fixes.
<a href="https://www.star-history.com/?repos=morluto%2Frea&type=date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=morluto/rea&type=date&theme=dark&legend=top-left" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=morluto/rea&type=date" />
<img alt="REA GitHub star history" src="https://api.star-history.com/chart?repos=morluto/rea&type=date" />
</picture>
</a>
## Disclaimer
See [DISCLAIMER.md](DISCLAIMER.md) for responsible-use guidance.
The project's position on illegal or unauthorized use covers all REA versions,
distribution channels, and platforms; each copy retains its applicable licenses.
REA is for lawful research, education, interoperability, software preservation,
and analysis of software you own or are authorized to examine.
## Contributing
We'd love your help with REA! [Open an issue](https://github.com/morluto/rea/issues) to
report a bug or suggest a feature, or [send a pull request](https://github.com/morluto/rea/pulls)
to improve the code or docs.
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and checks,
[testing](docs/testing.md) for verification lanes, and the
[architecture map](docs/architecture.mermaid) for the project structure.
## License
[MIT](LICENSE)
REA-authored code is licensed under MIT. Third-party material retains its own
licenses and copyright notices; see
[Third-party notices](THIRD_PARTY_NOTICES.md) for the dependency inventory,
preserved license texts, and external-tool terms.
**You must legally obtain and be authorized to use commercial tools**, including
IDA Pro / Hex-Rays decompilers, Hopper, and JEB, under their applicable
licenses. REA grants no tool license, key, or activation entitlement. Trials and
demos remain subject to vendor terms, including user, feature, automation, and
output sharing restrictions. Cracked copies, stolen keys, unauthorized key
sharing, and bypassing license restrictions are not authorized. This guidance
does not amend MIT or third-party licenses.
▸ 中文总结(生成于 2026-10-20 04:10)
morluto/rea 项目介绍
REA(Reverse Engineer Anything)是一个面向 AI 智能体的逆向工程工具项目,旨在通过统一的 MCP 接口,让智能体分析应用功能、代码结构、原生二进制文件和运行时行为。
它的典型使用方式是:你看到某个应用中的功能,希望理解其实现,即可让智能体借助 REA 调查相关代码、展示证据,并进一步为自己的项目编写和测试类似功能。
一、项目基本信息
| 项目 |
内容 |
| GitHub 仓库 |
morluto/rea |
| 主要语言 |
TypeScript |
| npm 包 |
rea-agents |
| 交互方式 |
MCP、命令行 CLI |
| 适配的智能体 |
Claude Code、Codex、Cursor、Gemini CLI、Grok Build 等 |
| 开源许可证 |
REA 自有代码采用 MIT,第三方材料保留各自许可证 |
| 官方网站 |
rea.tools |
二、它解决什么问题
理解一个没有源代码的应用,往往需要结合反编译器、文件分析工具、浏览器观察和运行行为记录。不同目标需要不同工具,调查结果也需要进一步串联,才能解释某项功能如何工作。
REA 将这些分析能力接入智能体,使用户可以围绕具体问题发起调查,例如:
理解 Notes 应用的搜索功能如何工作,展示证据,并为我的项目实现类似功能。
围绕这个目标,REA 提供三方面能力:
- 检查目标材料:读取二进制文件、应用包、程序集、网页、网络记录等,提取可用于分析的信息。
- 追踪实现关系:查找调用、引用、模块依赖、Electron IPC 等关联,帮助智能体沿着线索继续调查。
- 返回可核查的结果:提供代码、引用、观察记录及结论的局限,供智能体解释功能或编写实现。
REA 在本地执行分析。工具结果会交给智能体,其模型服务商如何处理这些数据,仍取决于该服务商的数据政策。
三、核心技术架构与实现思路
1. 通过 MCP 连接智能体和分析工具
README 描述的调查流程可以概括为:
用户提出问题 → 智能体调用 REA → REA 使用分析工具检查目标 → 返回代码、引用、证据及未知项 → 智能体继续调查、解释、实现和测试。
其中各部分承担的职责是:
| 层次 |
职责 |
| 智能体 |
理解用户目标、提出后续问题、解释结果,以及编写和测试实现 |
| REA |
提供 MCP 工具与分析工作流,组织分析调用并返回结果 |
| 底层分析工具 |
执行反编译、反汇编、浏览器观察、设备交互或其他目标分析 |
CLI 使用相同的工作流,因此这些能力也可以从终端直接调用,用于脚本和命令行操作。
2. 按目标接入不同分析后端
深入分析原生二进制时,REA 使用现有的 Hopper、Ghidra 或 IDA 安装,返回伪代码、汇编、字符串、符号、调用和引用等信息。具体格式及宿主平台支持取决于所选后端。
部分分析则不依赖这些原生分析引擎:
- JavaScript / Electron 静态分析读取模块、导入、源码映射及应用边界。
- .NET 静态分析读取元数据、CIL 指令和声明的原生依赖。
- Go 二进制检查可提取嵌入的编译器版本、模块及构建设置,无需安装 Go。
- Flutter APK 静态解析可提取 Dart 快照哈希、不同 ABI 的库摘要和引擎构建来源。
其他目标按需使用 JADX、adb、Apktool、WABT、TShark、Binwalk 等工具。因此,REA 的运行依赖会随分析对象变化。
3. 区分静态检查和运行时观察
JavaScript 与 .NET 的静态检查直接读取用户提供的文件,不运行应用。
运行时捕获则会以当前用户权限启动目标或与目标交互,记录终端输出、交互、退出状态和文件系统观察等信息。静态结构与运行行为分别为调查提供证据。
四、主要分析能力
| 分析对象 |
主要输出或用途 |
| 原生二进制、ELF、Go 二进制 |
伪代码、汇编、调用引用、文件布局、符号、重定位和构建信息 |
| JavaScript / Electron 应用 |
模块、导入、源码映射、路由、IPC 及原生扩展关联 |
| .NET 程序集 |
元数据、CIL 指令、原生依赖声明及构建比较 |
| 网站 |
页面结构、脚本、网络观察和按需截图 |
| Android APK 与设备 |
Manifest、类、反编译方法、引用,以及设备日志、进程、截图和文件传输 |
| Flutter 应用、Android 资源、JEB 项目 |
构建来源、资源信息,以及由 JEB 引擎提供的项目单元和伪代码 |
| WASM、EVM 字节码 |
WASM 校验与 WAT;EVM 分发选择器、字节偏移及推断的参数和可变性 |
| SQLite 数据库 |
表、列、索引、视图、触发器和选定普通表中的数据行 |
| 固件、应用包和资源 |
区域识别、提取结果、文件清单、摘要、Apple 应用包结构及后续分析交接 |
| 网络记录与数据包 |
HAR、SAZ 等记录中的请求和响应,以及端点、DNS、TLS SNI 和协议统计 |
| Linux 崩溃记录、逻辑信号 |
线程寄存器、信号、映射候选,以及信号解码注释和采样范围 |
| 进程行为 |
终端输出、交互、退出与文件系统观察,以及不同运行之间的比较 |
这些能力各有环境要求。例如,部分工具限定在 Linux 上使用,Android APK 反编译需要 JADX 和完整 JDK,网站分析需要 Chrome 系浏览器。README 的能力列表不意味着所有功能都能在任意平台直接使用。
五、值得关注的技术亮点
1. 调查结果包含证据与局限
REA 强调将发现与支撑材料一起返回。对原生程序,材料可以是汇编、伪代码、调用和引用;对 Electron 应用,则可以是模块关系、preload 和 IPC 路径。
这些材料让智能体能够继续追问,也让读者有依据判断结论的适用范围。
2. 能沿着应用层与原生层之间的关系追踪实现
README 展示的调查既包括应用层功能,也包括底层指令。例如,Electron 分析可以追踪渲染进程、preload、IPC 和主进程之间的关系;原生分析则可以进一步检查具体计算对应的机器指令。
这种覆盖范围适合围绕某项功能组织调查,而不必将问题限定为单个文件或单一格式。
3. 将分析发现用于实现和验证
原生分析输出的是伪代码和汇编,JavaScript / Electron 分析输出模块及其关系。智能体再利用这些发现编写和测试实现。
README 给出的 DX-Ball 声音声像计算案例具有明确的验证数据:
- 沿声音调用追踪到“位置转声像”的辅助函数。
- 结合指令,将不完整伪代码重建为 C。
- 重建结果通过 3,205 个原始 x86 测试用例。
- 复现了该函数编译后的 全部 63 字节。
这是特定案例的验证结果,不能据此推断 REA 对所有目标的还原准确率。
4. 同时提供智能体工作流和终端入口
安装流程会注册 MCP 服务,并安装与之匹配的调查工作流指令;CLI 则提供直接调用入口。文档还涵盖分析后端选择、快照、导入导出、脚本和退出状态,便于将分析过程接入终端工作流。
六、README 中的代表案例
| 案例 |
调查内容 |
| DX-Ball |
从原始指令重建声音声像计算,并通过测试用例与编译字节验证 |
| Notion |
从渲染进程的剪贴板 API 出发,经 preload 和 IPC 追踪至主进程,检查富文本剪贴板格式 |
| TH04 |
分析 PC-98 游戏的 16 位指令,恢复固定角度和瞄准角度计算,并将重建的 C++ 与历史编译器输出比较 |
这些案例分别展示了数值计算重建、应用通信链路追踪和历史软件分析的使用方式。
七、如何开始使用
基础环境需要 Node.js 和 npm。README 指定支持:
- Node.js 22.x,版本至少为
22.19;
- Node.js 24.x,版本至少为
24.11;
- Node.js 26 或更高版本。
运行安装向导:
npx rea-agents setup
随后选择智能体、检查拟议配置变更并批准。安装程序会添加 MCP 服务与匹配的工作流指令,备份现有配置;完成后需要重启智能体。
若要直接分析已提取的 JavaScript / Electron 应用目录或 ASAR,可以使用:
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
该命令返回模块、导入、Electron 边界及相关证据。需要经常使用 CLI 时,可以全局安装:
npm install --global rea-agents
rea --help
深入分析原生二进制前,还需要配置相应的分析后端。
八、适用范围与使用边界
按 README 的定位,REA 适用于合法研究、教育、互操作性研究、软件保存,以及分析自己拥有或获准检查的软件。
REA 自有代码采用 MIT 许可证,但 Hopper、IDA Pro / Hex-Rays、JEB 等商业工具需要单独合法获取,并遵守各自的许可条款。REA 本身不提供这些工具的许可证或激活权益。
进一步了解可参考官方指南、案例展示和安装文档。