- Reverse Engineer Anything (REA) is an open-source toolkit for AI-assisted reverse engineering.
- Two interfaces: a local CLI and an MCP Server that AI coding agents call as tools.
- Supported targets: apps, websites, JavaScript, Electron packages, and native binaries.
- Core principle: evidence-backed, reproducible local analysis instead of blind AI guessing.
- Getting started: run the setup command, connect an agent, then investigate a target.
What Is Reverse Engineer Anything?
Reverse Engineer Anything (REA) is an open-source reverse engineering toolkit built for AI coding agents. It ships as a CLI plus an MCP Server, giving tools like Claude Code, Cursor, Codex, Gemini CLI, Windsurf, and Devin a structured way to inspect software running locally. Instead of manually juggling disassemblers, string dumps, and call graphs, you hand the investigation to your agent, and REA provides the evidence-backed operations behind it.
The project's stated focus is local analysis, evidence chains, and reproducible investigation workflows. It is not a source-code recovery service or an automated software-cloning tool — the goal is to help an agent (and you) understand how a program behaves, with every conclusion tied to concrete functions, strings, addresses, or runtime traces.
| Aspect | Description |
|---|---|
| Project name | Reverse Engineer Anything (REA) |
| Interfaces | CLI + MCP Server (2 ways to interact) |
| Primary users | AI coding agents and developers |
| Target types | Apps, websites, JS, Electron, native binaries, APKs, games |
| Core values | Local analysis, evidence chain, reproducibility |
| Community | GitHub (129K+ stars reported), Discord, X |
CLI Interface
- Terminal-first workflow
- Commands like analyze, inspect, search, xrefs, trace
- Ideal for scripted, repeatable analysis
MCP Server
- Exposes analysis tools to AI coding agents
- Local communication, session state
- Fits Claude Desktop, Cursor, and more
Evidence System
- Records a chain of evidence
- Links conclusions to addresses and traces
- Prevents guess-based AI answers
REA does not "recover original source code." It reconstructs understanding — function behavior, data flows, and logic — through documented, verifiable investigation steps your agent can cite.
What REA Can Analyze
REA organizes its capabilities around target types. Each target category has its own analysis path, from reading ASAR archives in Electron apps to tracing xrefs in stripped native binaries.
| Target Type | What Gets Analyzed | Typical Approach |
|---|---|---|
| Native binaries | Functions, strings, cross-references, calls | Disassembly, decompilation, symbol search |
| Electron apps | ASAR files, package.json, Main/Renderer/Preload | Unpack, entry-point mapping, IPC tracing |
| JavaScript | Bundles, modules, source maps | Static reading, function extraction |
| Websites | Runtime behavior, network logic | Browser runtime inspection |
| Android APKs | Package structure, code paths | Unpacking, manifest and code analysis |
| Games | Speed rules, logic, parameters | Runtime capture and parameter reconstruction |
Official showcases on the REA website include interactive examples such as the Chrome Dino game (analyzing speed growth, maximum speed, and acceleration parameters) and the Windows Calculator (reverse engineering the percent-key logic that differs between addition and multiplication contexts).
REA workflows don't stop at understanding. The Dino case, for example, ends with rebuilding a speed-adjustable version of the game — analysis feeds directly into reconstruction.
How the REA Workflow Works
A reliable REA investigation moves from low-risk observation toward focused analysis and validated conclusions. The agent coordinates tools and summarizes output; you stay responsible for validating behavior.
Identify the target
Record the file type, architecture, hash (SHA-256), and basic profile before any deep analysis. Keep the original read-only.
Run static analysis
List symbols, extract strings, inspect sections and imports, and build an initial map of the code without executing anything.
Locate and trace functions
Search string or import references, find callers and callees, and group related functions into a call-relationship map.
Observe runtime behavior
Use controlled dynamic analysis — breakpoints, memory inspection, traces — to compare real execution against static hypotheses.
Validate and report
Separate confirmed observations from open questions, link every conclusion to evidence, and save a reproducible report.
The agent is an analysis assistant, not an authority. Recheck important conclusions in the disassembler or debugger before trusting them — the evidence chain exists precisely so you can verify each claim.
Setup and Agent Integration
Getting started is designed to be a single command. Quick install uses npx rea-agents@latest setup, after which you configure your preferred agent and MCP connection. Use rea doctor to diagnose missing dependencies, path errors, or Node.js problems.
| Agent | Integration Path |
|---|---|
| Claude Code / Claude Desktop | Install skill, submit investigation tasks, read Evidence results |
| Cursor | MCP config, project-level setup, prompt templates |
| Codex / Gemini CLI | CLI-first or MCP tool registration |
| Windsurf / Devin | MCP Server connection and tool discovery |
First-Run Checklist:
- Install Node.js and verify the environment
- Run the REA setup command
- Run rea doctor to catch dependency issues
- Connect your agent via CLI or MCP
- Complete one small analysis target end to end
Keep analysis local and isolated. Use a dedicated workspace, restrict filesystem access to approved directories, and require confirmation before executing unknown binaries. The official GitHub repository documents these local-analysis principles.
FAQ
Q: What is Reverse Engineer Anything in simple terms?
It is an open-source toolkit (CLI + MCP Server) that lets AI coding agents analyze applications, websites, JavaScript, Electron apps, and native binaries locally, producing evidence-backed conclusions instead of guesses.
Q: Does REA recover original source code?
No. REA reconstructs understanding of behavior — functions, logic, parameters — through documented investigation. It is not a source-recovery or automated software-copying tool.
Q: Which AI agents work with Reverse Engineer Anything?
REA supports integrations including Claude Code, Cursor, Codex, Gemini CLI, Windsurf, and Devin, through CLI workflows and MCP Server configuration.
Q: Where do I get help with installation problems?
Start with the rea doctor diagnostic command, then check GitHub Issues or the official Discord community linked at rea.tools for setup help and troubleshooting.