Skip to content
Back to search

rea

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

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 13 Nov 2026. Its scripts were only partly scanned.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/morluto/rea with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/morluto/rea'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/morluto--rea/badge.svg)](/listings/morluto--rea)

HTML

<a href="/listings/morluto--rea"><img src="/api/listings/morluto--rea/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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/getting-started/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 records the selected runtime and REA entry script directly. If acquired through a package runner, keep its cache entry available. Run package acquisition from a trusted directory outside the target project. Installation and recovery details are in the setup guide below.

Setup supports Claude Code, Codex, Cursor, Gemini CLI, Grok Build and [other agents](docs/getting-started/installation.md#supported-agents). See [installation and setup](docs/getting-started/installation.md) for provider configuration, manual MCP registration, Claude Code/Codex plugins, and the Cursor Marketplace plugin.

MCP uses compact input schemas by default to reduce context overhead. Set `REA_MCP_INPUT_SCHEMA_PROFILE=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.

Complete output schemas are advertised by default. If your client caps the complete `tools/list` frame, set `REA_MCP_OUTPUT_SCHEMA_PROFILE=compact` to bound each advertised output schema, or `off` to omit output schemas entirely. Both settings keep canonical server-side validation and complete structured results. See "Output schemas" 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](docs/getting-started/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`:

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 21 lines
  1. {
  2. "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
  3. "name": "rea",
  4. "description": "Reverse engineer anything with agents, from app behavior down to native binaries.",
  5. "owner": {
  6. "name": "morluto",
  7. "url": "https://github.com/morluto"
  8. },
  9. "plugins": [
  10. {
  11. "name": "rea",
  12. "description": "Reverse engineer anything with agents, from app behavior down to native binaries.",
  13. "source": {
  14. "source": "npm",
  15. "package": "rea-agents",
  16. "version": "6.9.0"
  17. },
  18. "category": "development"
  19. }
  20. ]
  21. }
README.md · README · 492 lines
  1. <div align="center">
  2. **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)
  3. · [Ελληνικά](docs/readme/README_el.md) · [മലയാളം](docs/readme/README_ml.md) · [Roman Urdu](docs/readme/README_ur-Latn.md) · [Română](docs/readme/README_ro.md) · [Български](docs/readme/README_bg.md)
  4. # REA: Reverse Engineer Anything
  5. ### One MCP for reverse engineering across binaries, applications, and runtime behavior.
  6. **See a feature you like. Understand how it works, down to the binary level.**
  7. [![npm version](https://img.shields.io/npm/v/rea-agents?style=flat-square&color=cb3837)](https://www.npmjs.com/package/rea-agents)
  8. [![MCP tool catalog](https://img.shields.io/badge/MCP-tool_catalog-5c4ee5?style=flat-square)](docs/reference/mcp-contracts.md#generated-catalog)
  9. [![Node.js requirements](https://img.shields.io/badge/Node.js-requirements-339933?style=flat-square&logo=nodedotjs&logoColor=white)](#what-you-can-analyze)
  10. [![skills.sh](https://skills.sh/b/morluto/rea?style=flat-square)](https://skills.sh/morluto/rea/reverse-engineer-anything)
  11. [![MIT license](https://img.shields.io/badge/license-MIT-f4c430?style=flat-square)](LICENSE)
  12. [![Discord](https://img.shields.io/discord/1556595354999332884?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/GkcryMnJDM)
  13. <a href="https://trendshift.io/repositories/82054?utm_source=repository-badge&amp;utm_medium=badge&amp;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>
  14. **[Website](https://rea.tools/) · [Guides](https://rea.tools/guides/) · [Showcases](https://rea.tools/showcase/)**
  15. <a href="https://discord.com/invite/GkcryMnJDM"><img alt="Join the REA community on Discord" src="https://img.shields.io/badge/Join%20us%20on%20Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white" height="40"></a>
  16. [Quick start](#quick-start) · [How REA works](#how-rea-works) · [What you can analyze](#what-you-can-analyze) · [Showcases](#showcases) · [Build RL environments](#build-rl-environments) · [FAQ](#faq) · [Documentation](#documentation)
  17. <code>npx rea-agents setup</code>
  18. </div>
  19. > [!IMPORTANT]
  20. > Get REA from [morluto/rea](https://github.com/morluto/rea),
  21. > [rea.tools](https://rea.tools/), or the [rea-agents npm package](https://www.npmjs.com/package/rea-agents).
  22. > Follow the installation and release links from these official sources. A similar
  23. > repository name or copied README does not establish that a download is official.
  24. <div align="center">
  25. <br />
  26. <img src="docs/assets/rea-hopper-analysis.png" alt="REA launching its analysis bridge inside Hopper while inspecting a native binary" width="1200" />
  27. <br /><br />
  28. <table aria-label="REA community">
  29. <tr>
  30. <td align="center" width="360">
  31. <a href="https://discord.gg/GkcryMnJDM">
  32. <img src="docs/assets/discord.svg" height="42" alt="Discord" /><br />
  33. <strong>Join the Reverse Engineering Community</strong>
  34. </a><br />
  35. <sub>Discord · Q&amp;A · Show and Tell</sub>
  36. </td>
  37. </tr>
  38. </table>
  39. <br />
  40. </div>
  41. ---
  42. 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.
  43. 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.
  44. Setup registers REA with your agent and installs matching workflow instructions. Native analysis can use an existing Hopper, Ghidra, IDA or Kuna installation; setup can optionally install Hopper with approval. Static JavaScript analysis needs no native analysis engine.
  45. > **[Visit the REA website](https://rea.tools/)** for setup instructions, illustrated guides, and real case studies.
  46. ## Quick start
  47. On Linux, Ghidra, JADX, firmware tool launches and static JavaScript/Electron
  48. analysis require a procps-compatible `ps` on REA's `PATH` for process ownership
  49. checks. Recovery steps are in `docs/getting-started/installation.md` under
  50. "Linux owned-process prerequisite".
  51. ### Set up your agent
  52. With Node.js and npm installed, run:
  53. ```bash
  54. npx rea-agents setup
  55. ```
  56. Choose your agents, review the proposed changes, and approve them. Setup adds
  57. REA's MCP server and matching workflow instructions, with backups of existing
  58. configuration. Restart your agent afterward. Setup records the selected runtime and REA
  59. entry script directly. If acquired through a package runner, keep its cache entry
  60. available. Run package acquisition from a trusted directory outside the target
  61. project. Installation and recovery details are in the setup guide below.
  62. Setup supports Claude Code, Codex, Cursor, Gemini CLI, Grok Build and
  63. [other agents](docs/getting-started/installation.md#supported-agents). See
  64. [installation and setup](docs/getting-started/installation.md) for provider configuration,
  65. manual MCP registration, Claude Code/Codex plugins, and the Cursor Marketplace
  66. plugin.
  67. MCP uses compact input schemas by default to reduce context overhead. Set
  68. `REA_MCP_INPUT_SCHEMA_PROFILE=full` in your MCP registration when you need the
  69. complete advertised field guidance and nested validation details. Both profiles
  70. keep the full tool set and canonical server validation. See
  71. "Compact input schema profile" in the MCP contracts guide.
  72. Complete output schemas are advertised by default. If your client caps the
  73. complete `tools/list` frame, set `REA_MCP_OUTPUT_SCHEMA_PROFILE=compact` to
  74. bound each advertised output schema, or `off` to omit output schemas entirely.
  75. Both settings keep canonical server-side validation and complete structured
  76. results. See "Output schemas" in the MCP contracts guide.
  77. ### Ask your agent
  78. ```text
  79. Understand how search works in the Notes app, show me the evidence, and build a
  80. similar feature for my project.
  81. ```
  82. Replace Notes with your target app and the feature you want to understand.
  83. ### Use the terminal
  84. Inspect an extracted JavaScript/Electron app directory or ASAR:
  85. ```bash
  86. npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
  87. ```
  88. The result includes modules, imports, Electron boundaries and their evidence.
  89. Replace the path with your target, such as `"D:/apps/example"` on Windows.
  90. To install the `rea` command for regular use:
  91. ```bash
  92. npm install --global rea-agents
  93. rea --help
  94. ```
  95. For native analysis, configure a provider first. See the
  96. [CLI and Evidence guide](docs/getting-started/cli.md) for native commands, provider selection,
  97. snapshots and scripting.
  98. ### Update REA
  99. REA changes quickly, and new releases include frequent bug fixes. Keep your
  100. installation up to date.
  101. For a CLI installed with `npm install --global` or `bun add --global`:
  102. ```bash
  103. rea update
  104. ```
  105. `rea --update` is an alias for this verified workflow and accepts the same global
  106. output flags. Use `rea update` when combining it with other command controls.
  107. Updater commands retain at most 4 MiB of stdout and stderr combined. Oversized
  108. metadata replies are rejected after the command exits; verbose installs continue
  109. with bounded diagnostics. Human progress output respects terminal backpressure
  110. and waits for submitted writes to finish.
  111. Bun global updates require Bun 1.2.17 or later. With an older Bun release,
  112. upgrade Bun manually before running `rea update`.
  113. To refresh your agent registrations and skill, run the setup command printed
  114. by the update.
  115. If you use `npx`, update your agent setup with:
  116. ```bash
  117. npx rea-agents@latest setup
  118. ```
  119. Review the setup changes and restart your agent. For one-off CLI commands,
  120. use `npx rea-agents@latest` followed by the command. With Bun, use
  121. `bunx rea-agents@latest` in place of `npx rea-agents@latest`.
  122. ## How REA works
  123. Your agent calls REA through MCP to inspect the target and trace relevant code.
  124. REA returns findings with their evidence. The agent uses them to ask follow-up
  125. questions, explain the behavior, or write and test an implementation.
  126. CLI commands use the same workflows.
  127. ![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.](website/public/assets/figures/rea-investigation-flow.svg)
  128. [Open the full-size figure](website/public/assets/figures/rea-investigation-flow.svg).
  129. <a id="current-status"></a>
  130. ## What you can analyze
  131. REA requires Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+, plus npm.
  132. Additional tools and host support depend on the target:
  133. | Target | What REA returns | Requirements and guide |
  134. | ----------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  135. | Desktop installations | Runtime candidates, supporting files, component markers and next probes | Built-in bounded directory/header inspection; [desktop applications](docs/desktop-applications.md) |
  136. | Native binaries | Pseudocode, assembly, strings, symbols, calls and references | Hopper, Ghidra, IDA or Kuna; [native analysis](docs/guides/native/native-investigation.md) |
  137. | Offline ELF layout | Sections, segments, original symbols/relocations and static mitigation candidates | Caller-supplied pwntools on Linux x64; [binary diagnostics](docs/guides/native/binary-diagnostics.md) |
  138. | Go binaries | Embedded compiler version, modules, replacements and build settings | Built-in static ELF/PE/thin Mach-O inspection; no Go installation required |
  139. | 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](docs/gpu-code-objects.md) |
  140. | Model artifacts | GGUF / safetensors metadata, tensor declarations and derived totals | Built-in header inspection; optional full-file hash; [model files](docs/model-artifacts.md) |
  141. | 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 required |
  142. | Godot PCK | Archive inventory and extraction, original header/directory facts and selected content identities | Built-in static formats 2, 3 and 4; no Godot required |
  143. | Rust binaries | Embedded cargo-auditable crate names, versions, sources and dependency edges | Built-in static ELF/PE/thin Mach-O inspection; [Rust binaries](docs/rust-binaries.md) |
  144. | PE certificates | Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields | Built-in static PE inspection; [PE certificates](docs/pe-certificates.md) |
  145. | PE imports | Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash | Built-in static PE inspection; [PE imports](docs/pe-imports.md) |
  146. | Windows shortcuts | Shell Link target, arguments, working dir, ExtraData and Tracker droid facts | Built-in static LNK inspection; [Windows shortcuts](docs/guides/native/windows-shortcut.md) |
  147. | ELF notes | PT_NOTE/SHT_NOTE owners, types, GNU build-id and ABI-tag fields | Built-in static ELF inspection; [ELF notes](docs/elf-notes.md) |
  148. | Binary hardening | PIE, NX, RELRO, CFG and related header flags for ELF, PE and Mach-O | Built-in static header inspection; [binary hardening](docs/binary-hardening.md) |
  149. | Apple IPS crashes | .ips metadata, threads, images, registers and documented crash classes | Built-in static JSON inspection; [Apple IPS](docs/apple-ips.md) |
  150. | Linux kernel modules | .modinfo keys, __versions CRCs, this_module presence, and signature trailer | Built-in static ELF inspection; [kernel modules](docs/kernel-modules.md) |
  151. | Erlang BEAM | IFF chunks, atoms, exports, imports, lambdas and the Code header | Built-in static BEAM inspection; [Erlang BEAM](docs/erlang-beam.md) |
  152. | WASM artifact | Validation, sections, exact import/export WAT forms and decoded WAT | Caller-supplied WABT 1.0.42; `inspect_wasm_artifact` |
  153. | EVM bytecode | Dispatch selectors, byte offsets, inferred arguments and mutability | Local raw/hex carrier on Linux x64; [offline EVM guide](docs/guides/evm/evm-bytecode.md) |
  154. | 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 |
  155. | 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/guides/native/recorded-crashes.md) |
  156. | JavaScript / Electron | Modules, imports, source maps, routes, IPC, native add-ons, `rea audit-release-exposure` | Node.js and npm; Linux: procps-compatible `ps`; [application analysis](docs/guides/javascript/javascript-application-workflows.md) |
  157. | Websites | Page structure, scripts, network observations and requested screenshots | A Chrome-family browser; [browser analysis](docs/guides/web/browser-observation.md) |
  158. | Saved network captures | Requests, responses, exposed payloads and source locations | HAR or Fiddler Everywhere SAZ; mitmdump on Linux for native mitmproxy; [capture guide](docs/guides/web/web-network-captures.md) |
  159. | .NET assemblies | Metadata, CIL instructions, declared native dependencies and build comparisons | None (static only); [managed-code guide](docs/guides/managed/managed-code-analysis.md) |
  160. | Android APKs | Manifest declarations, classes, decompiled methods and references | Headless JADX and a full JDK on Linux/macOS/Windows x64; [Android guide](docs/guides/android/android-analysis.md) |
  161. | APK signatures | v1/v2/v3/v3.1 signers, certificate fingerprints, key rotation and digest self-consistency | None (static only); `inspect_apk_signature` |
  162. | Android devices | Devices, packages, processes, logs, dumps, screen captures, and APK/file transfers | Caller-supplied adb (emulator or hardware); [ADB guide](docs/guides/android/adb-device-analysis.md) |
  163. | 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/providers/jeb-analysis.md) |
  164. | Android resources | Decoded manifest, string tables, locales and version facts | Caller-supplied Apktool launcher; [resource guide](docs/guides/android/apktool-resource-analysis.md) |
  165. | Flutter apps | Dart snapshot hash, per-ABI library digests and engine build provenance | None (static APK parsing); [Flutter guide](docs/guides/android/flutter-analysis.md) |
  166. | Firmware | Regions, extraction results and native-analysis handoffs | Binwalk / Unblob on Linux; [firmware guide](docs/guides/firmware/firmware-analysis.md) |
  167. | Recorded packets | Selected fields, repeated values, filters and decode-as rules | Linux: TShark 4.x + prlimit; [capture guide](docs/guides/data/packet-captures.md) |
  168. | Packet summaries | Endpoints, DNS, TLS SNI, protocol distribution and HTTP requests | Caller-supplied tshark and capinfos (Linux-verified); [pcap guide](docs/guides/data/pcap-analysis.md) |
  169. | Recorded logic signals | Decoder annotations, sample ranges and diagnostics | Linux: sigrok-cli 0.7.2 + prlimit; [signal recordings](docs/guides/signals/signal-recordings.md) |
  170. | Packages and resources | File inventories, digests, plists, Apple bundle anatomy and extracted resources | [Artifact and JavaScript guide](docs/guides/javascript/javascript-artifact-reconstruction.md), [Apple applications](docs/guides/apple/apple-application-analysis.md) |
  171. | Process behavior | Terminal output, interactions, exit and filesystem observations, and run comparisons | Linux/macOS with a native PTY; [process capture](docs/guides/runtime/process-capture.md) |
  172. | PyInstaller executables | CArchive members, Python version, entry scripts and extracted bytecode | None (static only); [Python packaged applications](docs/python-packaged-applications.md) |
  173. | Deno compile binaries | Virtual files, entry point, recorded options, npm snapshot length | None (static only); [Deno compile executables](docs/deno-standalone.md) |
  174. Static JavaScript and .NET inspection read the supplied files without running
  175. the application. Runtime capture runs or interacts with the selected target
  176. using your user permissions; each runtime guide describes its effects.
  177. For offline native-binary inspection, REA also supports caller-supplied GNU
  178. objdump and Rizin. See the [reverse-engineering tools guide](docs/reverse-engineering-tools.md)
  179. for provider setup, CLI commands, and Evidence limitations. REA does not install
  180. or update either provider.
  181. <a id="choosing-a-deep-analysis-provider"></a>
  182. Native formats and host support vary by provider. See
  183. [Hopper and Ghidra setup](docs/getting-started/installation.md#hopper), the
  184. [IDA guide](docs/providers/ida-provider.md) (including an optional native MCP bridge), the
  185. [Kuna decompiler guide](docs/kuna-provider.md), and
  186. [experimental Windows Ghidra support](docs/providers/windows-ghidra-p0.md).
  187. Ghidra also supports [16-bit DOS analysis](docs/providers/ghidra-dos.md).
  188. For large binaries, raise the provider's startup deadline with
  189. `REA_GHIDRA_STARTUP_TIMEOUT_MS` or `REA_HOPPER_STARTUP_TIMEOUT_MS`.
  190. For provider selection, see the [CLI guide](docs/getting-started/cli.md#choose-a-provider).
  191. Check [release availability](docs/getting-started/installation.md#released-package-and-main)
  192. for features added since the latest npm release.
  193. ## Showcases
  194. <a href="https://rea.tools/showcase/">
  195. <picture>
  196. <source media="(prefers-color-scheme: dark)" srcset="docs/assets/rea-showcases-dark.svg" />
  197. <img alt="Illustrations of the DX-Ball sound-pan, Notion clipboard-bridge, and TH04 bullet-ring showcases" src="docs/assets/rea-showcases.svg" />
  198. </picture>
  199. </a>
  200. ### DX-Ball: reconstruct a sound-pan calculation
  201. Follow a sound call into its position-to-pan helper, inspect the instructions,
  202. and turn incomplete pseudocode into C. The reconstruction passes 3,205
  203. original-x86 cases and reproduces all 63 compiled function bytes.
  204. [Read the case study](https://rea.tools/showcase/dx-ball/) ·
  205. [Reconstruction repository](https://github.com/N0zoM1z0/dx-ball)
  206. ### Notion: trace the Electron clipboard bridge
  207. Find the renderer's clipboard API, follow it through preload and IPC into the
  208. main process, and inspect the rich clipboard format.
  209. [Read the case study](https://rea.tools/showcase/notion/)
  210. ### TH04: recover a DOS bullet-ring calculation
  211. Inspect the original PC-98 game's 16-bit instructions, recover the fixed and
  212. aimed angle calculations, and compare the reconstructed C++ with the
  213. historical compiler output.
  214. [Read the case study](https://rea.tools/showcase/th04/) ·
  215. [Reconstruction repository](https://github.com/N0zoM1z0/th04)
  216. ### Build RL environments with REA
  217. Record a web app session, turn its API into tools, and export an environment an AI agent can use. Run it with AgentEnv, then add tasks and reward checks for RL training or evaluation.
  218. [Read the guide](https://rea.tools/guides/rl-environments/) ·
  219. [Watch the video](https://x.com/reatools/status/2112574822584918075?s=20)
  220. If you've used REA on something interesting, we'd love to see it. Share your
  221. case in an [issue](https://github.com/morluto/rea/issues) or a
  222. [pull request](https://github.com/morluto/rea/pulls), including the target,
  223. your question, how REA helped, and what you found.
  224. ## Build RL environments
  225. Give an AI agent a local environment to practice tasks such as finding an issue or creating a folder, without running the original app. Use it for reinforcement learning (RL) or to test how well an agent completes tasks.
  226. REA turns recorded API requests and responses into tools the agent can call. The environment uses the recorded data and supports changes only when the recording confirms their effects.
  227. With REA set up in your agent, replace the example URL and folder tasks below with your own:
  228. ```text
  229. Use REA to build an RL environment from my test web app at
  230. http://127.0.0.1:3000.
  231. Cover listing, creating, renaming, and deleting folders. You may create and
  232. remove test folders. Leave existing data unchanged.
  233. Save it in a folder named my-env. Check which operations work and tell me
  234. how to run it.
  235. ```
  236. <details>
  237. <summary>Use the command line instead</summary>
  238. Use these commands if you already have a file containing the app’s recorded browser requests and responses. Running the result also requires AgentEnv and Docker.
  239. ```sh
  240. rea environment-build ./session.har ./my-env --name my-env --json
  241. agent-env run ./my-env
  242. ```
  243. </details>
  244. REA exports a runnable environment with a basic test to check that it starts and responds. Use it with your RL framework to define task goals, add reward checks, and run training.
  245. [Build an environment](https://rea.tools/guides/rl-environments/) ·
  246. [Environment reference](docs/agent-environments.md) ·
  247. [Watch the demo on X](https://x.com/reatools/status/2112574822584918075?s=20)
  248. ### Desktop app environments
  249. REA can also build an environment of a Linux desktop app, which an agent uses through screenshots, the mouse and the keyboard. From a one-line request, such as "Build me a Gnote environment where the agent adds olive oil to the shopping list note", your agent installs the app on a local build computer, writes the task, exports the environment and checks the task in a fresh computer. The machine that builds it needs Linux on amd64 or arm64, Docker and the agentenv framework version the guide pins.
  250. [Set up desktop app environments](docs/desktop-build-computer.md)
  251. ## FAQ
  252. <details>
  253. <summary><strong>Which agents can use REA?</strong></summary>
  254. Any agent that supports local MCP servers. Setup configures the
  255. [supported agents](docs/getting-started/installation.md#supported-agents); other clients can use
  256. [manual MCP registration](docs/getting-started/installation.md#mcp-registry).
  257. </details>
  258. <details>
  259. <summary><strong>Do I need a native analysis engine?</strong></summary>
  260. Deep native analysis uses Hopper, Ghidra, IDA or Kuna, depending on the target
  261. and operation. Static JavaScript and .NET inspection work without a native
  262. analysis engine. Setup can install Hopper after approval; Ghidra, IDA and Kuna
  263. use your existing installations. See [provider setup](docs/getting-started/installation.md#hopper)
  264. for the options and their supported targets.
  265. </details>
  266. <details>
  267. <summary><strong>Do I need to start Hopper first?</strong></summary>
  268. REA starts Hopper when an operation needs it. On macOS, a first-run dialog may
  269. ask you to choose demo mode or activate your license. Complete that prompt in the
  270. same user session before your first CLI/MCP operation or unattended job. Open
  271. Hopper manually if needed. See
  272. [Hopper startup and troubleshooting](docs/getting-started/installation.md#launcher-paths-and-troubleshooting).
  273. </details>
  274. <details>
  275. <summary><strong>What does installing the skill from skills.sh do?</strong></summary>
  276. The skill supplies investigation instructions for your agent. Use `npx rea-agents setup`
  277. to register REA's MCP server and install the matching instructions, then restart
  278. your agent. See [skill-only installation](docs/getting-started/installation.md#skill-only-installation).
  279. </details>
  280. <details>
  281. <summary><strong>What code does REA return?</strong></summary>
  282. Native analysis returns pseudocode and assembly. JavaScript/Electron analysis
  283. recovers modules and their relationships. Your agent uses these findings to
  284. write and test an implementation; the [showcases](#showcases) give worked examples.
  285. </details>
  286. <details>
  287. <summary><strong>Does REA upload my app?</strong></summary>
  288. REA analyzes targets locally. Your agent receives the tool results, and its
  289. model provider has its own data policy.
  290. </details>
  291. <details>
  292. <summary><strong>What should I do if I hit a bug?</strong></summary>
  293. Update first; a recent release may already fix it.
  294. For a CLI installed with `npm install --global` or `bun add --global`:
  295. ```bash
  296. rea update
  297. ```
  298. For agent setup through `npx`:
  299. ```bash
  300. npx rea-agents@latest setup
  301. ```
  302. If you're using an agent, complete the [setup refresh](#update-rea) and restart
  303. it. Retry the same task. If the problem persists, [open an issue](https://github.com/morluto/rea/issues)
  304. with your REA version, target type, steps to reproduce and error output.
  305. </details>
  306. ## Documentation
  307. Start with the website's [worked guides](https://rea.tools/guides/).
  308. For exact options, prerequisites and result contracts:
  309. - [Installation and setup](docs/getting-started/installation.md): agent registration, provider configuration, updates and uninstall.
  310. - [Readiness and troubleshooting](docs/getting-started/installation.md#check-readiness-for-your-task): diagnose one agent or analysis engine.
  311. - [CLI and Evidence](docs/getting-started/cli.md): commands, provider selection, snapshots, import/export and exit statuses.
  312. - [MCP contracts](docs/reference/mcp-contracts.md) and [agent prompts](docs/getting-started/mcp-prompts.md): tool results, sessions and guided investigations.
  313. - [Tool catalog](docs/reference/mcp-contracts.md#generated-catalog): generated inventory of tools, providers and CLI commands.
  314. - [Roadmap](docs/development/roadmap.md): planned work and capability trackers.
  315. Report vulnerabilities through [SECURITY.md](SECURITY.md).
  316. ## Star history
  317. 🎉 **400,000 GitHub stars — thank you!**
  318. Thanks to everyone using REA, reporting bugs, requesting features, testing builds, and contributing fixes.
  319. <a href="https://www.star-history.com/?repos=morluto%2Frea&amp;type=date">
  320. <picture>
  321. <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=morluto/rea&amp;type=date&amp;theme=dark&amp;legend=top-left" />
  322. <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=morluto/rea&amp;type=date" />
  323. <img alt="REA GitHub star history" src="https://api.star-history.com/chart?repos=morluto/rea&amp;type=date" />
  324. </picture>
  325. </a>
  326. ## Disclaimer
  327. See [DISCLAIMER.md](DISCLAIMER.md) for responsible-use guidance.
  328. The project's position on illegal or unauthorized use covers all REA versions,
  329. distribution channels, and platforms; each copy retains its applicable licenses.
  330. REA is for lawful research, education, interoperability, software preservation,
  331. and analysis of software you own or are authorized to examine.
  332. ## Contributing
  333. We'd love your help with REA! [Open an issue](https://github.com/morluto/rea/issues) to
  334. report a bug or suggest a feature, or [send a pull request](https://github.com/morluto/rea/pulls)
  335. to improve the code or docs.
  336. See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and checks,
  337. [testing](docs/development/testing.md) for verification lanes, and the
  338. [architecture map](docs/architecture/architecture.mermaid) for selected layers and dependency paths.
  339. ## License
  340. [MIT](LICENSE)
  341. REA-authored code is licensed under MIT. Third-party material retains its own
  342. licenses and copyright notices; see
  343. [Third-party notices](THIRD_PARTY_NOTICES.md) for the dependency inventory,
  344. preserved license texts, and external-tool terms.
  345. **You must legally obtain and be authorized to use commercial tools**, including
  346. IDA Pro / Hex-Rays decompilers, Hopper, and JEB, under their applicable
  347. licenses. REA grants no tool license, key, or activation entitlement. Trials and
  348. demos remain subject to vendor terms, including user, feature, automation, and
  349. output sharing restrictions. Cracked copies, stolen keys, unauthorized key
  350. sharing, and bypassing license restrictions are not authorized. This guidance
  351. does not amend MIT or third-party licenses.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.