智能体 · 中文选型解读

rea

已解读GitHubMITTypeScript

REA是基于AI智能体的逆向分析工具,可在无源码情况下分析从原生二进制文件到各类应用的功能实现逻辑,为功能复刻提供支撑。

412.3kstar5 天前更新维护状态MIT · 可评估商用商用提醒
在 GitHub 查看官方项目
适合解决让 AI 拆解任务、调用工具并完成多步骤流程
更适合希望自动化运营、调研、销售或内部流程的团队
投入判断上手门槛:需评估。需要明确流程边界,并持续评测结果
一分钟看懂

这个项目值得继续研究吗?

AI 依据上游资料解读 · 2026/10/12

REA是基于AI智能体的逆向分析工具,可在无源码情况下分析从原生二进制文件到各类应用的功能实现逻辑,为功能复刻提供支撑。

解决什么问题
企业看到竞品或其他产品的优秀功能想要复刻时,往往无法获取对方源码,人工逆向分析成本高、周期长、对人员专业能力要求极高,很难快速还原功能逻辑落地到自有产品中。
适合什么团队
适合有竞品功能调研、成熟功能复刻、安全合规审计需求的产品团队、研发团队,以及需要开展逆向分析工作的安全团队。
使用前注意
使用需先安装Node.js 22.19及以上版本,分析原生二进制、安卓APK等目标需额外安装对应依赖工具,项目更新频繁需定期升级,采用MIT许可可自由商用。

本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。

项目导读

从官方资料看清能力、部署与采用边界

AI 翻译整理 · 保留官方来源

以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。

REA 项目导读

1. 项目定位

REA是一款面向逆向分析场景的AI智能体工具,核心价值是在没有目标产品源码的情况下,帮你快速拆解其功能实现逻辑,所有分析结论都附带对应证据,避免主观推断。 REA通过MCP(模型控制协议,AI智能体调用外部工具的通用通信标准)连接你常用的AI智能体与各类专业逆向分析工具,整体工作流程如下: REA investigation flow: your agent asks about a local target, REA inspects and traces it using analysis tools, and the agent uses the returned code, references and unknowns to explain, implement and test. 分析过程全部在本地运行,不会向外传输你的分析目标与结果数据,安全性有保障。你既可以通过绑定AI智能体,用自然语言直接发起分析需求,也可以通过CLI(命令行界面,通过输入文本指令操作工具的交互方式)直接运行分析任务。

2. 核心能力覆盖范围

REA支持的分析目标覆盖绝大多数常见软件形态,可满足不同场景的分析需求:

所有分析结果都会标注已知的局限性,你可以清晰判断结论的可信度。

  • 原生二进制文件:可输出伪代码、汇编指令、字符串、调用关系等信息,可对接现有Hopper、Ghidra等逆向工具,运行效果如下:
  • JavaScript/Electron应用:可输出模块结构、依赖导入、进程通信关系等信息
  • 网站:可输出页面结构、脚本逻辑、网络请求规律等信息
  • 安卓APK与设备:可输出应用清单、类结构、反编译方法、设备运行日志等信息
  • 固件、.NET程序集、EVM字节码、网络抓包文件等其他目标也有对应分析能力

3. 典型使用方式

REA提供两种使用路径,你可以根据团队习惯选择:

3.1 配合AI智能体使用

这是最简便的使用方式,适合不懂逆向技术的业务、研发人员:

  1. 安装Node.js与npm环境后,运行npx rea-agents setup命令,按提示选择你常用的AI智能体(支持Claude Code、Codex、Cursor、Gemini CLI、Grok Build等主流工具),确认配置改动后重启智能体即可完成绑定,原有配置会自动备份无需担心丢失。
  2. 直接用自然语言向AI智能体提需求即可,比如输入“帮我分析XX笔记应用的搜索功能实现逻辑,给出证据,然后帮我实现一个类似的功能用到我的项目里”,AI会自动调用REA完成分析、输出结论并生成对应代码。

3.2 通过命令行直接使用

适合有技术能力的团队做批量分析或自定义流程: 你可以运行npm install --global rea-agents全局安装rea命令,运行rea analyze-javascript-application /absolute/path/to/app --json等指令直接分析目标文件,结果可导出为JSON格式做后续处理。不同分析目标对应不同的命令,可参考官方文档选择。

4. 部署与运行要求

REA的基础运行要求很低,只要安装Node.js 22.19及以上、24.11及以上或26以上版本,搭配npm即可运行。 不同分析目标需要额外安装对应依赖工具:

其余目标的依赖要求可参考官方对应文档配置。

  • 分析原生二进制文件需要提前安装Hopper、Ghidra或IDA工具
  • 分析安卓APK需要提前安装JADX与完整JDK环境
  • 分析网站需要提前安装Chrome系浏览器
  • 分析固件需要提前安装Binwalk/Unblob工具

5. 项目状态与采用建议

REA目前处于活跃开发状态,更新频率较高,新版本会定期修复问题、新增能力,你可以通过rea update命令快速升级,建议定期更新版本以获得最优体验。 项目采用MIT许可证,你可以自由使用、修改、商用,没有授权限制。如果你的团队有竞品功能调研、成熟功能快速复刻、软件安全合规审计等需求,REA可以大幅降低逆向分析的人力门槛与时间成本,你可以先按照快速入门流程试用,验证是否匹配自身需求。

可核对的事实层

官方资料与来源

查看来源 →
  • agent-skills
  • ai-agents
  • binary-analysis
  • claude-code
  • cli
  • codex
  • cordis
  • decompiler
  • developer-tools
  • dsh
  • dsh-plugin
  • ghidra
默认分支main
关注仓库1.4k
复刻次数95.4k
开放议题1.1k
近期更新2026/10/25
仓库状态未标记归档
上游部署线索
## Quick start

On Linux, Ghidra, JADX, firmware tool launches and static JavaScript/Electron
analysis require a procps-compatible `ps` on REA's `PATH` for process ownership
checks. Recovery steps are in `docs/installation.md` under
"Linux owned-process prerequisite".

### 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.

MCP uses compact input schemas by default to reduce context overhead. Set
`REA_MCP_INPUT_SCHEMA_PROF

该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。

核对上游原始说明节选

Reverse engineer anything with agents, from app behavior down to native binaries.

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Türkçe · Русский · Tiếng Việt · ไทย · Deutsch · Español · Français · Українська · Polski · Português (Brasil) · العربية · فارسی · Bahasa Indonesia · Italiano · Ελληνικά · മലയാളം · Roman Urdu · Română

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.

npm version MCP tool catalog Node.js requirements skills.sh MIT license Discord

Website · Guides · Showcases

Quick start · How REA works · What you can analyze · Showcases · FAQ · Documentation

npx rea-agents setup

[!IMPORTANT]
Get REA from morluto/rea,
rea.tools, or the rea-agents npm package.
Follow the installation and release links from these official sources. A similar
repository name or copied README does not establish that a download is official.

Join the Reverse Engineering Community Discord · Q&A · Show and Tell

---

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 for setup instructions, illustrated guides, and real case studies.

Quick start

On Linux, Ghidra, JADX, firmware tool launches and static JavaScript/Electron analysis require a procps-compatible ps on REA's PATH for process ownership checks. Recovery steps are in docs/installation.md under "Linux owned-process prerequisite".

Set up your agent

With Node.js and npm installed, run:

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. See installation and setup for provider configuration and manual MCP registration.

MCP uses compact input schemas by default to reduce context overhead. Set REAMCPINPUTSCHEMAPROFILE=full in your MCP registration when you need the complete advertised field guidance and nested validation details. Both profiles keep the full tool set and canonical server validation. See "Compact input schema profile" in the MCP contracts guide.

Ask your agent

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:

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:

npm install --global rea-agents
rea --help

For native analysis, configure a provider first. See the CLI and Evidence guide 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:

rea update

rea --update is an alias for this verified workflow and accepts the same global output flags. Use rea update when combining it with other command controls.

Updater commands retain at most 4 MiB of stdout and stderr combined. Oversized metadata replies are rejected after the command exits; verbose installs continue with bounded diagnostics. Human progress output respects terminal backpressure and waits for submitted writes to finish.

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:

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.

REA investigation flow: your agent asks about a local target, REA inspects and traces it using analysis tools, and the agent uses the returned code, references and unknowns to explain, implement and test.

Open the full-size figure.

What you can analyze

REA requires Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+, plus npm. Additional tools and host support depend on the target:

| Target | What REA returns | Requirements and guide | | ----------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | Desktop installations | Runtime candidates, supporting files, component markers and next probes | Built-in bounded directory/header inspection; desktop applications | | Native binaries | Pseudocode, assembly, strings, symbols, calls and references | Hopper, Ghidra or IDA; native analysis | | Offline ELF layout | Sections, segments, original symbols/relocations and static mitigation candidates | Caller-supplied pwntools on Linux x64; binary diagnostics | | Go binaries | Embedded compiler version, modules, replacements and build settings | Built-in static ELF/PE/thin Mach-O inspection; no Go installation required | | GPU code objects | CUDA/HIP targets, selected kernel parameters and resources, retained PTX text | Built-in static ELF/PE/fatbin/CUBIN/PTX inspection; GPU code objects | | Model artifacts | GGUF / safetensors metadata, tensor declarations and derived totals | Built-in header inspection; optional full-file hash; model files | | IL2CPP metadata | Unity global-metadata.dat assembly images, type and method names and index ranges | Built-in static decoding of versions 24, 27, 29, 31 and 39; no Unity require

上游文档较长,此处为节选。完整内容见官方项目。