Authorization notice. rea is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forEngineer inheriting an old compiled tool whose source is lost, needing to know what one routine does
The problemYou only have the compiled binary and cannot read assembly fluently.
The outcomePseudocode, strings, symbols and call references for the routine, explained in plain words.
What you need first
- Node.js 22.x (>=22.19), 24.x (>=24.11), or 26+, plus npm
- An MCP-capable AI agent such as Claude Code, Codex, Cursor or Gemini CLI
- For native binaries: Hopper, Ghidra or IDA installed locally
- For websites: a Chrome-family browser
- On Linux: a procps-compatible ps on PATH for JavaScript/Electron analysis
Steps
- Install Hopper, Ghidra or IDA locally and configure it as the provider.
- Run npx rea-agents setup and restart your agent.
- Ask the agent to open the binary and explain the function you care about.
- Ask it to show the pseudocode and references it relied on.
Prompt for your agent
Use REA with my installed <Hopper, Ghidra or IDA> to analyze the binary at <path>, explain what <function or behavior> does, and show the pseudocode and references. Verify claims against the shown output.
Caveat. Needs a native analysis engine installed and configured; setup can optionally install Hopper with your approval. Only analyze binaries you own or are authorized to inspect.
About rea
A plug-in that lets your AI agent take apart an app and explain how a feature works. Part of this week's top 10 repos: ranked #1 on Repo Radar. View morluto/rea on GitHub.
More with rea
- Rebuild a feature you saw, in your own project Have your agent study a feature in an app, then write and test a version for your codebase.
- Map how a website's front end behaves Let your agent inspect a site's page structure, scripts and network calls and explain what the client does.
- Learn how a feature in another app works Point your agent at an installed app and get an explanation of one feature, with the evidence behind it.
- Pull apart a game's web build Use your agent to inspect a game's WASM web build and surface what it contains.
- Understand traffic from a saved HAR or SAZ file Feed a saved network capture to your agent to see requests, responses and the payloads they expose.
- List modules and IPC in an Electron app Run one command on an extracted Electron app or ASAR to see its modules, imports and process boundaries.
- List types and methods in a Unity game Decode a Unity IL2CPP metadata file to see assembly images, type names and method names.
- Check what an Android APK declares and does Inspect an APK's manifest, classes and decompiled methods to see what the app declares.
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page