OPEN-SOURCE REVIEW / AGENT TOOLING / DEVELOPER TOOLS
REA: Can AI Agents Really Reverse Engineer Anything?
A source-backed review of REA, agent-assisted reverse engineering, MCP, Ghidra and Hopper, evidence limits and responsible use.
Inspect screenshot ↗THE ENGINEERING QUESTION
When can an AI agent make reverse-engineering evidence easier to navigate, and where must an analyst independently validate its conclusions?
Third-party open-source software. Reviewed source: 570abe95f2a3 ↗. License: MIT (REA-authored code; third-party terms apply). Latest listed release: rea-agents 6.8.0 (2026-10-25). Main-branch source and released packages may differ.
01 / THE QUESTION
“Anything” is a question, not a guarantee
REA—Reverse Engineer Anything—is a third-party open-source project by morluto and contributors. It connects an agent to local analysis capabilities through MCP and also exposes a CLI. The useful question is not whether an agent can recover any program, but whether it can help an analyst gather and interpret evidence for a bounded question.
The upstream README describes native binaries, JavaScript and Electron applications, .NET assemblies and websites among its targets. Native work can use external analysis engines. This review inspects a dated repository snapshot and documentation; it does not claim hands-on use, executed REA tests, benchmark results or an independent assessment of every supported target.
The title quotes the project’s expansive name as a challenge. Real coverage depends on file format, architecture, tool provider, permissions, obfuscation and what evidence the input preserves. An analysis result is a lead for a reviewer, not an automatic proof that a generated implementation behaves like the original.
02 / SOURCE IDENTITY
Which REA is the original?
The project explicitly identifies morluto/rea, rea.tools and the `rea-agents` npm package as its official sources. Copies with similar names exist; a familiar README or repository title is not evidence of provenance. Follow the upstream links and inspect the package identity and release before installation. Upstream README
The inspected main-branch commit is recorded above; the latest listed release at review is rea-agents 6.8.0, published 25 October 2026. A main-branch source observation is not automatically a feature guarantee for a released package. The upstream release notes and issue tracker are living sources. Do not infer quality or trustworthiness from star counts.
REA-authored code is MIT licensed according to the license, but third-party tools and materials keep their own terms. Hopper and other commercial tools require a legitimate license or permitted trial; REA does not supply one. The screenshot shows a third-party Hopper interface, with its own rights and terms.
03 / ARCHITECTURE
An agent, a protocol and several different engines
REA’s source architecture map separates the CLI and MCP entry points, composition and provider/session wiring, contracts, analysis domains, filesystem and process management. The map is a maintainer-maintained guide to selected responsibilities; it is not an exhaustive security audit.
The agent asks the MCP server for a tool operation. The server validates its contract and delegates to the relevant analysis path. Native deep analysis can use a configured Ghidra, Hopper or IDA provider; JavaScript static analysis uses its own application-analysis path. Results can be returned as structured evidence and used to choose the next question. An agent may then produce an explanation or proposed implementation, subject to separate review.
The MCP contracts guide distinguishes a normalized result, evidence identity, provider representation and explicit limitations. Some operations return a compact view while retaining more detail for further inspection. This is evidence organization, not independent verification that the model’s conclusion is correct.
From question to reviewable evidence
Reviewer’s simplified interpretation of the upstream architecture; no execution is claimed.
Analysis
- Question
- Agent
- MCP / CLI
- Provider
- Evidence
Review
- Target identity
- References
- Unknowns
- Human check
- Tests
04 / FEATURE MATRIX
Which capabilities are documented?
The matrix records what the inspected upstream README and guides describe, not a guarantee of coverage, current compatibility for every host or an independently executed result. Setup and supported provider versions should be checked against the selected release.
| Target / operation | Documented approach | Boundary |
|---|---|---|
| Native binaries | Ghidra, Hopper or IDA provider; pseudocode, instructions and references | Provider, format and architecture matter; native decompilation is approximate |
| JavaScript / Electron | Static inspection of directories or ASAR; module and relationship analysis | Source maps or bundled code may be incomplete; no runtime behavior proven |
| .NET | Static metadata and CIL inspection | Static only; environment-specific behavior remains unknown |
| Websites | Browser-based observation and requested screenshots | Runtime interaction and network access have separate effects and consent |
| Evidence | Structured result, identity, limitations and retained observations | Completeness depends on coverage and the provider |
| CLI and MCP | Two access surfaces for documented workflows | Tool availability and arguments depend on version and configuration |
05 / NATIVE ANALYSIS
Ghidra and Hopper are analysis providers, not interchangeable guarantees
The native investigation guide describes opening a target, finding procedures, and examining instructions, decompiler output and references. Ghidra and Hopper rely on their own loader, analysis and decompiler behavior. REA coordinates access to those tools; it does not replace their installed engines or make their analyses identical.
The source describes private target copies and artifact-identity checks for particular Ghidra and Hopper workflows. It also notes limits in real Hopper conformance for certain copy and loader cases. That nuance matters: a test or implementation note for one provider should not be generalized to every binary or provider.
An analyst can start with a program they own, find an entry point or relevant string, inspect nearby instructions and callers, then record the file digest, selected provider, function address and unknowns. Static call references identify observed or inferred relationships; they do not prove every runtime target or execution path.
DOCUMENTED COMMAND SHAPES — NOT EXECUTED
bashrea inspect /absolute/path/to/program --provider ghidra --json
rea search /absolute/path/to/program entry --kind procedures --provider ghidra --jsonNative investigation
Illustrative analyst workflow based on the upstream native guide, not a recorded session.
Inspect
- Owned binary
- Provider
- Procedure
- Instructions
- References
Validate
- Artifact digest
- Coverage
- Unknowns
- Independent checks
06 / JAVASCRIPT / ELECTRON
A graph of relationships is not a running application
The README documents static analysis of a JavaScript/Electron directory or ASAR, producing module and import relationships and possible Electron boundaries. The application-workflow guide describes structural and semantic graphs and workflows over retained evidence.
The MCP contracts state that static JavaScript analysis reads the supplied files, starts an analysis worker and may write temporary files, but does not execute the supplied application code. That is materially different from runtime capture, browser interaction or instrumentation. Static does not mean side-effect-free, and runtime does not mean safe to run on a sensitive machine.
An evidence-oriented workflow might identify renderer modules, inspect references to a preload bridge, and follow candidate IPC relationships. Then verify the relevant code and, where authorized, use a separate controlled test. Missing source maps, dynamic imports, generated code, native modules or incomplete coverage prevent an empty search from proving a feature is absent.
DOCUMENTED CLI SHAPE — NOT EXECUTED
bashnpx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json07 / MCP WORKFLOW
Tool calls should preserve uncertainty
The upstream native guide names `open_binary`, `list_procedures` and `analyze_function` for a focused session. The application-workflow guide identifies `analyze_javascript_application` and `inspect_analysis_view` for JavaScript evidence. Exact input schemas and availability depend on the installed version and configuration; inspect the server’s advertised schema instead of treating a blog example as a live contract.
An illustrative sequence is: select an authorized target and provider; list candidate functions; inspect a selected function; retain its evidence identifier and stated coverage; inspect related code; then compare the hypothesis against independent observations. The names here are documented operations, not a captured transcript. No fabricated tool response or guessed argument structure is shown.
The MCP guide distinguishes a compact `analyze_function` view from a complete retained dossier and records missing or unavailable facets. “Unknown” must remain unknown. A model cannot infer absence of behavior merely because a bounded search returned no matches.
Illustrative tool sequence
Named operations are documented upstream; the sequence is a proposed investigation, not executed output.
Native
- open_binary
- list_procedures
- analyze_function
- Review evidence
JavaScript
- analyze application
- inspect view
- Trace references
- Review gaps
08 / RECONSTRUCTION
Why decompilation is not original source
A compiler can remove comments, source-level names and types, inline functions, rearrange control flow and optimize across modules. A decompiler derives a readable approximation from the representation it can observe; there may be many source programs consistent with the same machine instructions. It cannot generally recover the original source text, design intent or all build-time context.
JavaScript bundles may preserve more recognizable syntax, but minification, transpilation, dead-code elimination and missing source maps still obscure the original structure. Agent-written reconstruction is another interpretation layered on top of analysis, not a recovered original.
Validate a reconstruction with a behavioral specification, independently chosen test cases, edge cases, error handling and documented environmental assumptions. Where allowed, compare against an authorized reference in an isolated environment. Passing a small example is not proof of equivalence, security or performance.
| Observation | Can support | Cannot establish alone |
|---|---|---|
| A disassembled instruction | A decoded operation at a selected address | Original source names or intent |
| Decompiler pseudocode | A hypothesis about control/data flow | Exact original code or complete runtime behavior |
| Static references | Observed or inferred relationships in the selected analysis | Every dynamic call target |
| A generated implementation | A candidate to review and test | Behavioral equivalence or rights to redistribute |
| A passing local test | Behavior under its recorded inputs | Correctness across all environments |
09 / INSTALLATION / COST
Prerequisites, costs and changes to review
The inspected README and package manifest require Node.js 22.x at least 22.23.4, 24.x at least 24.22.1, or 26.12.1 and newer, plus npm. Linux workflows identified in the README require a procps-compatible `ps`; provider requirements differ by operation. Check the selected release rather than assuming these constraints never change. Package manifest
The installation guide documents `npx rea-agents setup`, client registration, configuration backups and approval before proposed changes; optional Hopper installation has a separate approval. This review did not execute setup. Read the actual plan and package source, and use an isolated account or environment appropriate to the target.
REA’s own MIT license is not a model subscription, compute allocation or commercial decompiler license. An agent may send tool outputs to a model provider, incur token or subscription charges, and retain data under that provider’s policies. Long investigations can involve many calls and large outputs. Costs depend on model, provider, workload and tool license; no cost or performance measurement was made here.
10 / SECURITY
Local analysis still crosses trust boundaries
The README says analysis runs locally, while the agent receives tool results and the model provider’s data policy applies. Treat binary strings, disassembled text, JavaScript comments, filenames and web responses as untrusted content that can contain instructions. An agent should not treat target-controlled text as authority over tool selection or secret disclosure.
Use authorized samples, separate credentials and least-privilege file and network access. Review the effects of each operation before granting it: upstream distinguishes static analysis, temporary files and subprocesses from operations that execute or interact with targets. Inspect the MCP tool list and the client’s approval model. A local MCP server is a process on the host, not automatically a sandbox.
Protect proprietary binaries and extracted evidence according to organizational policy. Avoid sending secrets or confidential content to an unapproved model provider. Treat returned code and tool output as untrusted and verify generated commands before running them. Perform dynamic testing only with permission and suitable isolation.
| Boundary | Risk | Practical control |
|---|---|---|
| Target → parser | Malformed input or malicious embedded instructions | Isolated environment, patched tools and limited filesystem access |
| Tool output → agent | Prompt injection or wrong inference | Treat content as data; verify citations and arguments |
| Agent → tool | Excessive permissions or unintended execution | Allowlist and review operations; human approval for sensitive actions |
| Agent → model provider | Disclosure and data retention | Approved provider, data classification and minimization |
| Reconstruction → user | Misleading equivalence or legal exposure | Independent tests, review and authorized use |
11 / TRADEOFFS
Agent-assisted analysis versus traditional practice
A skilled analyst using Ghidra or Hopper directly controls each query and sees the underlying interface. REA adds an agent-facing orchestration layer and evidence-oriented tool contracts, which may help navigate a large investigation or produce structured follow-up questions. It also introduces model cost, context limits, prompt-injection risks and another dependency to inspect.
Choose a direct analysis tool for a small known task, restricted data or when explanatory traceability needs close manual control. Consider an agent-assisted workflow when the investigation involves repeated navigation and there is an approved model/data boundary. A hybrid workflow—agent proposes, analyst verifies—keeps responsibility explicit.
| Approach | Strong fit | Trade-off |
|---|---|---|
| Manual decompiler / disassembler | Targeted exploration and direct analyst control | Requires expertise and time for repetitive navigation |
| REA CLI | Scripted or explicit documented local operations | Still depends on target coverage and configured engines |
| Agent + REA MCP | Iterative investigation and structured follow-up | Additional model, security, cost and validation burden |
| Source and tests when available | Authorized first-party behavior investigation | Source can differ from deployed artifact; verify the build |
12 / EDITORIAL ASSESSMENT
A useful investigation assistant, not an automatic oracle
The strongest idea in REA is not a promise to reconstruct anything. It is the ability to connect an agent to analysis tools and preserve evidence, coverage and limitations while a human follows an engineering question. The source tree and detailed documentation show substantial effort around provider contracts and analysis boundaries; configured tests are not equivalent to an independent run of this review.
The latest release and recent inspected commit are maintenance signals at the review date, not guarantees of future support. Features, versions and providers change; verify the chosen release, issue reports, documentation and environment. This review did not install REA, run an agent, execute a target, measure performance or independently verify compatibility.
Use only software you own or are authorized to analyze, respect applicable laws and licenses, and avoid exposing sensitive data. For a related examination of compatibility, platform dependency and preservation, see the AnyPS5 analysis. For an adjacent identity and tool-security discussion, see MCP for AEM.
REFERENCE DESK
Primary sources & review boundaries
Source files and visuals are pinned to the reviewed commit. Release and activity checks are dated snapshots. Upstream images are attributed examples; diagrams in the article body are simplified interpretations. No installation, paid model calls or benchmark runs were performed for this review.
- README and source identity ↗ (opens in a new tab)
- Architecture map ↗ (opens in a new tab)
- MCP contracts ↗ (opens in a new tab)
- Native investigation ↗ (opens in a new tab)
- JavaScript workflows ↗ (opens in a new tab)
- Installation ↗ (opens in a new tab)
- Package manifest ↗ (opens in a new tab)
- Responsible use ↗ (opens in a new tab)
- REA code license ↗ (opens in a new tab)
- Server composition ↗ (opens in a new tab)
- Tool registration ↗ (opens in a new tab)
- Upstream screenshot ↗ (opens in a new tab)
- Reviewed commit ↗ (opens in a new tab)
- Release: rea-agents 6.8.0 ↗ (opens in a new tab)
- Issue tracker (living source) ↗ (opens in a new tab)
Share this review
CONTINUE EXPLORING