REA & AI RE Tools Guide (unofficial)What is REAInstallMCP SetupTroubleshooting & FAQREA vs Ghidra/IDAUse CasesAI RE Tools

REA use cases

Unofficial guide. This site is an independent community guide and is not affiliated with the REA project. For authoritative docs see the official REA website and the morluto/rea GitHub repository. Commands here are taken from the official README/docs (checked 2026-10-20); REA changes quickly, so verify against the official docs.

REA (Reverse Engineer Anything) is a free MIT-licensed tool letting an AI coding agent study software you don't have the source for. Running locally as an MCP server and CLI, it plugs Claude Code, Cursor, Codex and other agents into analyzers for native binaries (via Ghidra, Hopper or IDA), JavaScript/Electron apps, .NET, Android packages and websites. Answers include file-and-line evidence.

REA use cases at a glance

Details

5. More targets

REA is intended for lawful research, education, interoperability, software preservation, and analysis of software you own or are authorized to examine.

Tested on 2026-10-17: Debian 13 x64, rea-agents 6.5.0, Node.js 20.19.2 and 22.20.0, run in a throwaway HOME folder so no real agent config was touched. Outputs are copied from the terminal; long ones are trimmed with "…".

Walkthrough: trace an Electron IPC feature (real run)

This is the smallest version of the official Notion clipboard-bridge showcase. We wrote a three-file Electron-style app so the output is short and easy to check:

// demo-app/main.js
const { app, ipcMain } = require('electron');
const { formatPrice } = require('./price');
ipcMain.handle('price:format', (_e, cents) => formatPrice(cents));
app.whenReady();

// demo-app/price.js
exports.formatPrice = (cents) => '$' + (cents / 100).toFixed(2);

Then we ran REA's static JavaScript analyzer on it. No native engine needed, and nothing in the app was executed:

$ time npx -y [email protected] analyze-javascript-application /abs/path/demo-app
{"rea_progress":{"phase":"parse_javascript_sources",…"message":"Parsing and projecting 3 selected application source files",…}}
…
{"rea_progress":{"phase":"analyze_javascript_application","completed":1,"total":1,"message":"Application graph and Electron boundaries reconstructed","terminal":true,…}}
evidence_id: ev_8e39922d45beac185dceae21d1e08d930cfa7cd1e9f4747c7ecef234dcc71df1
subject:
  name: demo-app
  digest:
    sha256: 3de4c4f66a0cfd00d958dffaa2a36caf1e57bff7e1e151ca4fc1f28a3e049bb8
  format: directory
provider:
  id: rea-javascript-application
…
    nodes[13]:
…
        kind: ipc-handler
        observations[1]:
          - label: "price:format"
            properties:
              side: main
              operation: handle
              channel: "price:format"
              handler_kind: inline-function
              handler_location:
                start:
                  line: 3
                  column: 31
…
    edges[16]:
      - relation: handles
        properties:
          channel: "price:format"
          resolution: literal
        evidence:
          authority: static-relationship-inference
          state: inferred
          confidence: high
…
real	0m1.563s

How to read the result

In an agent, you'd ask something like "Which IPC channels does this app expose, and what does each handler do? Show file and line evidence." The agent calls the same analyzer through MCP, then reads price.js to explain the formatting rule and rebuild it.

Choosing the right command for your target

You have…Start withNeeds
Electron app (ASAR or folder)analyze-javascript-applicationNode.js only
Websiteanalyze-web-bundle, export-web-scriptsChrome-family browser
Saved HAR fileinspect-web-network-capture (guide)Nothing; offline
Android APKinspect-android-package, decode-android-resources (guide)JADX / apktool you provide
Native binaryanalyze, decompile, functionHopper, Ghidra or IDA (Ghidra setup)
Two versions of an appcompare-application-versionsEvidence from both

The command names come from rea --help in rea-agents 6.5.0. Run rea <command> --help for options; for example, analyze-javascript-application accepts --artifact-format <auto|asar|directory> and --integrity-policy <fail|record-and-continue>.

What we didn't test

We didn't run the native-binary showcases (DX-Ball, TH04), because they need Hopper or Ghidra. Their results above come from the official case studies on rea.tools.

Sources: rea.tools showcases · README · rea --help (6.5.0)

Same demo, grep-only approach: REA vs leanrea. Flutter apps: Flutter APK walkthrough (tested on a real APK).

FAQ

Can REA reverse engineer Electron apps?

Yes. analyze-javascript-application inspects an extracted app directory or ASAR and returns modules, imports and Electron boundaries.

Can REA analyze Android APKs?

Yes, with headless JADX and a full JDK on Linux/macOS/Windows x64.