REA: Empowering AI Agents to Reverse Engineer Anything

Automate reverse engineering workflows. Use REA to let AI agents inspect binaries, JavaScript apps, and websites locally using MCP.

code, software, security

Ever wondered how a specific feature in a competitor’s app actually works? Instead of manual disassembly, you can now let your AI agent investigate the logic for you using REA.

The Power of Agentic Reverse Engineering

REA (Reverse Engineer Anything) is a specialized MCP server designed to bridge the gap between high-level AI reasoning and low-level code analysis. By providing agents real power, REA allows them to inspect native binaries, JavaScript applications, and even website structures without needing the original source code.

The process is designed for privacy and efficiency. All analysis runs locally on your machine, ensuring that sensitive application data never leaves your environment. This capability helps developers move beyond mastering codebase context by providing direct insight into how compiled or obfuscated software behaves in real-time.

Your First Investigation

If you are new to this workflow, we recommend reviewing the guide to your first investigation to understand how agents interact with the tool to trace relevant code and provide evidence.

Supported Analysis Targets

code, software, security

REA is highly versatile, supporting a wide range of formats from mobile apps to low-level firmware. The following table outlines common targets and their requirements:

TargetREA ReturnsRequirements
Native BinariesPseudocode, assembly, symbolsHopper, Ghidra, or IDA
JavaScript / ElectronModules, imports, IPC boundariesNode.js and npm
Android APKsManifest, classes, decompiled methodsHeadless JADX & JDK
.NET AssembliesMetadata, CIL instructionsNone (Static only)
WebsitesPage structure, scripts, screenshotsChrome-family browser

Implementation and Setup

code, software, security

Setting up REA is straightforward. It registers the MCP server with your agent and installs matching workflow instructions to ensure seamless communication.

npx rea-agents setup

Using the Terminal

For developers who prefer a command-line approach, REA provides direct inspection capabilities. You can analyze an extracted JavaScript or Electron directory to reveal modules, imports, and IPC boundaries with a single command.

npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json

Ready to start investigating? Check out the REA repository on GitHub and begin automating your reverse engineering workflows today!

code, software, security