Reverse Engineer Anything Explained: REA Toolkit Overview - 가이드

Reverse Engineer Anything Explained: REA Toolkit Overview

Reverse Engineer Anything explained: how REA's CLI and MCP server let AI coding agents analyze apps, JavaScript, Electron, and native binaries locally.

2026-10-18
reverse engineer anything Wiki Team
Quick Guide
  • Reverse Engineer Anything (REA) is an open-source toolkit that lets AI coding agents analyze software through a CLI and MCP server.
  • Local-first design: all analysis runs on your machine, with evidence chains instead of blind AI guessing.
  • Supported targets include native binaries, Electron apps, JavaScript, websites, and Android APKs.
  • Agent integrations cover Claude Code, Cursor, Codex, Gemini CLI, Windsurf, and Devin.
  • Not source recovery: REA reconstructs behavior and architecture; it does not magically restore original source code.

What Reverse Engineer Anything Is

Reverse Engineer Anything, commonly abbreviated REA, is an open-source reverse engineering toolkit built specifically for AI coding agents. Instead of replacing traditional tools like disassemblers and debuggers, REA acts as a bridge: it exposes analysis capabilities through a CLI and an MCP server, so agents such as Claude Code or Cursor can inspect applications, websites, JavaScript bundles, Electron packages, and native binaries in a controlled, reproducible way.

The project emphasizes three principles that separate it from generic "AI decompiler" claims:

Local Analysis

  • No cloud uploads of your targets
  • Analysis runs on your workstation
  • Suitable for proprietary or sensitive software

Evidence Chains

  • Every conclusion links to addresses, traces, or artifacts
  • Discourages AI guessing
  • Results are reproducible

Agent-Native

  • CLI + MCP Server dual interface
  • Works with 6+ coding agents
  • Tools expose narrow, typed schemas

The official project is hosted on GitHub, with documentation and interactive showcases at rea.tools. The official site lists community traction at roughly 129K+ GitHub stars, two interfaces (CLI and MCP), and 20+ official locales including English, Japanese, Korean, and Spanish.

What REA Is Not

REA does not recover original source code from compiled binaries, and it is not a tool for copying or pirating software. It reconstructs behavior, architecture, and logic with documented evidence — always use it on software you are authorized to analyze.

Core Components: CLI and MCP Server

REA ships two complementary interfaces, and understanding when to use each is the first step in mastering the toolkit.

InterfaceAudienceBest ForExample Tasks
CLITerminal users, scriptsDeterministic stages, batch jobs, quick triageanalyze, inspect, search, xrefs, trace
MCP ServerAI coding agentsAgent-driven investigation, tool calls with typed schemasAgent requests symbol lists, function summaries, call graphs

The CLI favors repeatability: every command produces structured output that can be piped into reports. The MCP server favors agent integration: it registers narrowly scoped tools that an agent discovers and invokes during an investigation, with each call returning bounded, citable results.

Common CLI CommandPurpose
analyzeRun a full analysis pass on a target
inspectNon-invasive target profile: format, architecture, imports
searchFind strings, symbols, or patterns in a binary
functionSummarize a specific function
xrefsTrace cross-references to an address or symbol
traceCapture runtime execution evidence
Pro Tip

Use the CLI for stages you want to be deterministic (hashing, string extraction, disassembly), and let the agent handle interpretation, planning, and report drafting. This split keeps AI conclusions anchored to verifiable tool output.

Supported Targets and Agent Integrations

REA categorizes its analysis capabilities by target type, because each requires different tooling.

Target TypeKey Analysis Focus
Native binariesFunctions, strings, cross-references, disassembly, pseudocode
Electron appsASAR files, package.json, Main/Renderer/Preload processes, IPC
JavaScriptBundles, source maps, module structure
WebsitesBrowser runtime behavior, network logic, DOM interactions
Android APKsManifest, resources, DEX-level logic

On the agent side, official documentation confirms configuration paths for Claude, Cursor, Codex, Gemini CLI, Windsurf, and Devin. Each integration follows the same pattern: register the MCP server in the agent's configuration, expose the workspace root, and confirm that the agent discovers REA's tools.

Claude Code Workflow

  • Install the REA skill
  • Submit an investigation task
  • Read structured Evidence results returned by tools

Cursor Workflow

  • Add REA to project-level MCP config
  • Use prompt templates to invoke analysis tools
  • Debug with the MCP Inspector
Setup Entry Point

The recommended quick-start command is npx rea-agents@latest setup, which walks through installation planning, agent configuration detection, and initialization. Use rea doctor afterward to diagnose missing dependencies or path problems.

The REA Investigation Workflow, Step by Step

A reliable REA investigation moves from low-risk observation to validated conclusions. Follow this sequence for nearly any target.

1

Prepare an isolated workspace

Create a dedicated analysis directory, keep the original target read-only, record its SHA-256 hash, file size, and architecture, and separate analysis output from source files.

2

Profile the target

Run non-invasive inspection first: file format, imported libraries, symbols, and printable strings. Build a baseline target profile before touching a debugger.

3

Ask the agent focused questions

Map each question to a single tool call — list symbols, find string references, decompile one function, trace one call path. Narrow requests produce context you can actually validate.

4

Validate with the underlying tools

Reproduce important conclusions in the disassembler or debugger yourself. Separate confirmed behavior from open questions.

5

Preserve the evidence package

Save the report, tool logs, addresses, and the target hash together so another researcher can reproduce the entire investigation.

StageAgent RoleHuman Role
Target profileRun metadata and hash toolsVerify target authorization
Static analysisSummarize symbols, strings, sectionsConfirm interpretations
Dynamic analysisCoordinate debugger callsSet breakpoints, review traces
ReportingDraft structured reportApprove final conclusions
Avoid Context Overload

Never paste an entire disassembly into a prompt. Pass artifact paths and retrieve only relevant excerpts — whole-file dumps cause the agent to truncate earlier findings and lose function names.

Showcase Cases and Getting Started Checklist

The official site demonstrates REA with interactive showcases that illustrate how evidence-based reconstruction works in practice.

Windows Calculator

  • Analyze the percent-key logic
  • Documents why addition and multiplication follow different percentage rules
  • Reconstructed from documented binary evidence

Chrome Dino

  • Extract speed growth rules, acceleration, and max speed parameters
  • Rebuild a speed-adjustable version from the findings

These cases share the same structure — target, question, analysis process, key evidence, validation, and reconstruction — which is the same template this wiki uses for its Case Studies section.

REA First-Run Checklist:

  • Install Node.js and verify the runtime environment
  • Run npx rea-agents@latest setup
  • Run rea doctor to confirm dependencies
  • Register the MCP server in your coding agent
  • Complete one showcase case (Calculator or Chrome Dino)
Where to Get Help

For installation questions and troubleshooting, join the official Discord community linked at the bottom of rea.tools, or file technical issues on GitHub Issues.

FAQ

Q: Does Reverse Engineer Anything recover original source code?

No. REA reconstructs behavior, architecture, and logic with a documented evidence chain. It does not restore the original source of compiled software, and it is not designed for copying applications.

Q: Which AI coding agents work with REA?

Official documentation lists support for Claude, Cursor, Codex, Gemini CLI, Windsurf, and Devin. Each connects through the MCP server configuration, while terminal users can work entirely through the CLI.

Q: Does my target binary get uploaded anywhere?

No. REA emphasizes local analysis: targets are processed on your own machine, which makes it suitable for proprietary or sensitive software you are authorized to inspect.

Q: What is the difference between the CLI and the MCP server?

The CLI serves terminal users and automation scripts with deterministic commands like analyze, search, and xrefs. The MCP server exposes the same capabilities as typed tools that AI coding agents discover and invoke during investigations.

Related Articles