AI Tools Reverse Engineering - spinningideas/resources GitHub Wiki
A collection of AI/agent-powered reverse engineering tools - systems that let an AI agent inspect how software works (websites, desktop apps, mobile apps, games, native binaries) and, in some cases, rebuild a working equivalent for your own project.
The two flagship tools in this space (late 2026) take different approaches:
- Craft Anything - an all-in-one desktop app + CLI + MCP engine (pure Rust) that studies a target, has a coding agent build your own version, then checks the result against the original.
- REA (Reverse Engineer Anything) - an MCP server + CLI that plugs into your existing agent (Claude Code, Codex, Cursor, etc.) and gives it evidence-based inspection tools across binaries, Electron/JS apps, .NET, Android, websites and more.
Beyond those, the ecosystem of MCP servers and plugins wraps the classic reverse engineering engines (Ghidra, IDA Pro, radare2, Binary Ninja, JADX) so agents can drive them directly.
- Want a guided "study an app, rebuild it for me" experience with a GUI → use Craft Anything (installers for Windows/macOS/Linux).
- Want your existing agent to answer "how does feature X work in app Y" with evidence → use REA (
npx rea-agents setup). - Already live inside Ghidra/IDA/radare2 → bolt on one of the MCP servers or plugins in Other Tools.
- Responsible use: only analyze software you own or are allowed to examine. These tools are for understanding and clean-room reimplementation, not bypassing DRM/logins.
- REPO: https://github.com/storytold/craft-anything
- Website: https://getartcraft.com/
- License: MIT OR Apache-2.0
- Language: 100% Rust (desktop app via egui, CLI, MCP server, some parts run in browser as WASM)
- Status: early alpha; installers published for Windows, macOS, Linux, FreeBSD + Web
- Tagline: "See how any website, app or game works, then have AI build your own version; an open-source, clean-room engine in pure Rust."
Point Craft Anything at a target, say what you want, and press Start. It works in four steps, asking you in plain words when a decision is yours:
- Study: inspect the original - its pages at every width, its code, its files, how it runs.
- Build: a coding agent builds a new project in the language, framework or engine your request names (or a sensible default).
- Check: the build is compared against the original (pages at three screen widths, a game's own self-test, an app's runs) and it lists what doesn't match yet.
- Ready: open, play or preview the result, or ask for changes and it refines it.
- Simple (default): "What do you want to make?" Pick a website, app or game, describe it, press Start. The project page shows the four steps, what the agent is doing in plain words, approval cards, and how alike the result is. "Just look inside" opens a target for questions without building anything.
- Advanced: the full workbench - every tool (Ctrl/Cmd+K), functions, strings, pseudo-C, disassembly, hex, call graphs, evidence, unknowns, jobs, logs and the agent console.
- Clean room (default): nothing inside the original is read - not its code, files or page source. It works from what a visitor can see (screenshots, visible text, measured layout, colours, fonts, menus opened).
- Deep: every tool is used, for your private use - program code and files are read with the built-in engines (and Ghidra when installed), a website's JavaScript is read, etc.
Switch in the title bar or Settings, with settings_set deep_mode true, or per CLI run with --deep / --clean-room. Note: clean room is a rule about what the tool offers/refuses - it is not an OS sandbox.
Building needs a coding agent on your computer. Claude Code is supported first (it runs your own claude binary with your own sign-in). Copilot CLI and Grok Build work via ACP; a Codex adapter exists; other ACP-speaking agents (Gemini CLI, Qwen Code, opencode, goose, Devin, ...) can be switched per backend. Anthropic, OpenAI, OpenRouter, xAI and local OpenAI-compatible servers can be used for questions/analysis (Settings → AI).
A pure-Rust reverse-engineering engine with ~320 tools for native programs, .NET, Java, Android, Apple, Electron/JavaScript, websites, firmware, packet captures, databases and game files. Its own decoders, disassembler and decompiler work without any outside program; Deep mode uses them all plus Ghidra if installed. Every tool is both a CLI subcommand and an MCP tool. Full list: docs/tools.md.
- REPO: https://github.com/morluto/rea
- Website: https://rea.tools/ (+ guides at https://rea.tools/guides/ and case studies at https://rea.tools/showcase/)
- npm: https://www.npmjs.com/package/rea-agents
- License: MIT
- Tagline: "One MCP for reverse engineering across binaries, applications, and runtime behavior."
REA is not a standalone app - it's an MCP server + CLI that plugs into the agent you already use. Setup registers REA with your agent and installs matching workflow instructions; your agent then calls REA tools to inspect a target and trace relevant code. REA returns findings with their evidence (and limitations), which the agent uses to answer questions, explain behavior, or write and test an implementation.
- Native binaries - pseudocode, assembly, strings, symbols, calls/references (via Hopper, Ghidra, IDA or Kuna; setup can optionally install Hopper)
- JavaScript / Electron apps - modules, imports, source maps, routes, IPC, native add-ons (no native engine needed)
- .NET assemblies - metadata, CIL instructions, declared native deps (fully static, no extra tools)
- Websites - page structure, scripts, network observations, screenshots (needs a Chrome-family browser)
- Android APKs - manifest, classes, decompiled methods (via headless JADX + JDK); ADB device analysis
- Plus: firmware (Binwalk/Unblob), packet captures (tshark), SQLite DBs, Go/Rust/PE/ELF/Mach-O binary facts, IL2CPP and Godot archives, PyInstaller/Deno executables, process behavior capture, and more
- Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+, plus npm
- Works with Claude Code, Codex, Cursor, Gemini CLI, Grok Build and other MCP-capable agents
- Native binary analysis needs one provider: Hopper, Ghidra, IDA or Kuna (or caller-supplied objdump/Rizin for offline inspection)
- DX-Ball: reconstruct a sound-pan calculation - followed a sound call into its helper and reconstructed C that passes 3,205 original-x86 cases
- Notion: trace the Electron clipboard bridge - renderer → preload → IPC → main process
- TH04: recover a DOS bullet-ring calculation - 16-bit PC-98 game reconstruction
- It can also build RL environments from recorded web/desktop app sessions
Goal: understand how a piece of software works and produce a working reimplementation.
Easiest path - grab an installer from the Releases page:
-
Windows:
craft-anything-<ver>-windows-x64.msi(or portable zip) -
macOS:
craft-anything-<ver>-macos-universal.dmg - Linux: AppImage / .deb / .rpm / Flatpak / tarball
Or build from source (needs Rust 1.97+):
git clone https://github.com/storytold/craft-anything && cd craft-anything
cargo run --release -p craft-anything # the desktop app
cargo install --path apps/craft-anything-cli # the CLI, as `craft-anything-cli`craft-anything-cli doctor # checks the install, coding agents and enginesMake sure a coding agent is installed and signed in - Claude Code is the best-supported builder today (claude on your PATH, logged in). doctor tells you what's missing.
- Open the app → Make screen.
- Pick the target type: website, app, or game.
- Enter the target (e.g.
https://example.com, a local app, a game). - Choose Clean room (default - analyzes only what's externally visible) or Deep (reads the target's code/files; add Ghidra for native binaries).
- Describe what you want: e.g. "Recreate this website" or "Recreate this game's gameplay in Rust".
- Press Start. Watch Study → Build → Check → Ready. Approve commands when asked (it asks before running commands of a kind it hasn't seen in this project).
- When it finishes, open the result or its folder; ask for changes in the box at the bottom to refine it.
Results land in Documents/Craft Anything/<project> with craft.json, capture/ (recorded evidence), app/ (generated project), checks/ (each comparison) and investigation.cany/ (evidence ledger).
craft-anything-cli rebuild https://example.com "Recreate this website"
craft-anything-cli rebuild - "A snake game in Rust" --rounds 1
craft-anything-cli rebuild https://example.com "Make the header blue" --continue-in "<project folder>"craft-anything-cli setup # connect Craft Anything to coding-agent apps
craft-anything-cli mcp # serve its ~320 tools to any MCP clientYour agent can then call the same inspection/rebuild tools the app uses, without the GUI.
- Start in Clean room; only flip to Deep when you need code-level detail (and have rights to inspect the target).
- Never choose "always allow" for package-manager commands (
npm,cargo) unless you trust the generated project's dependencies - install scripts run real code on your machine. - It never bypasses DRM, logins or anti-cheat; only use it on software you own or may examine.
Goal: ask your existing agent "how does X work" about a local app/binary/site and get evidence-backed answers or a rebuilt feature.
npx rea-agents setupPick your agent(s) (Claude Code, Codex, Cursor, Gemini CLI, Grok Build, ...), review the proposed config changes, approve, then restart your agent. Prereq: Node.js 22.x/24.x/26.x + npm.
Understand how search works in the Notes app, show me the evidence, and build a
similar feature for my project.
Swap in your target app and feature. The agent calls REA tools to inspect/trace, gets back code + references + unknowns, then explains or implements.
# One-off: analyze an extracted JS/Electron app directory or ASAR
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
# Install the `rea` command for regular use
npm install --global rea-agents
rea --helpJS/Electron and .NET analysis work out of the box. For native binaries, install/point REA at Hopper, Ghidra, IDA or Kuna (setup can optionally install Hopper). For large binaries, bump REA_GHIDRA_STARTUP_TIMEOUT_MS / REA_HOPPER_STARTUP_TIMEOUT_MS.
rea update # for global installs
npx rea-agents@latest setup # refresh agent registrations if you used npx- Craft Anything when you want the full guided pipeline - inspect, rebuild, verify against the original - as an app you point at a target.
- REA when you want to stay inside your own agent/CLI and need evidence-backed investigation across many target types (it has the wider analysis-surface matrix: firmware, pcaps, ADB, model artifacts, etc.).
- They can coexist: both are MCP servers, so an agent could in principle use REA's analysis tools and Craft Anything's engine at once.
-
https://github.com/HexRaysSA/ida-mcp - official Hex-Rays IDA MCP server (IDA 9.4+ with idalib);
uvx ida-hcli mcp install - https://github.com/mrexodia/ida-pro-mcp - popular community IDA Pro MCP server ("vibe reversing" in IDA); now recommends the official one
- https://github.com/LaurieWired/GhidraMCP - the original Ghidra MCP server; exposes decompile/rename/list tools to any MCP client
- https://github.com/cyberkaida/reverse-engineering-assistant - ReVa: Ghidra MCP server with small, context-efficient tools designed to limit context rot on long RE tasks
- https://github.com/jtsylve/re-mcp - multi-backend MCP server for headless IDA Pro and Ghidra (idalib/pyghidra), shared tool interface across backends
- Binary Ninja MCP - built into Binary Ninja itself; GUI server works in every edition (headless needs Commercial/Ultimate)
- https://github.com/zinja-coder/jadx-ai-mcp - JADX plugin exposing Android APK analysis to MCP clients
- r2mcp / r2copilot - radare2's official MCP server (+ CTF-focused variant); see https://github.com/radareorg/r2ai
- https://github.com/radareorg/r2ai - LLM-assisted reversing for radare2 (r2ai plugin + decai decompiler + r2agent autonomous mode); works with local or remote models
- https://github.com/JusticeRage/Gepetto - IDA Pro plugin that uses LLMs to explain decompiled functions and auto-rename variables (OpenAI/Anthropic/Gemini/local)
- https://github.com/jtang613/GhidrAssist - LLM assistant for Ghidra (local LLaMA/Ollama-friendly)
- Binary Ninja Sidekick - official AI assistant/index for Binary Ninja (docs.binary.ninja)
- https://github.com/albertan017/LLM4Decompile - open-source LLM dedicated to decompilation (asm→C, refines Ghidra pseudo-code); models on Hugging Face
- https://github.com/ram-elgov/awesome-llm-reverse-engineering - curated list of LLM-based RE tools, plugins and research papers (DeGPT, SLaDe, ReCopilot, ...)
- https://edwardtay.github.io/awesome-reverse-engineering/c/ai/ - 14 AI-assisted RE tools compared (cost, last push, stars)
- Ghidra (free, NSA) - https://ghidra-sre.org/ | IDA Pro - https://hex-rays.com/ | Hopper - https://www.hopperapp.com/ | radare2 - https://rada.re/ | Binary Ninja - https://binary.ninja/ | JADX - https://github.com/skylot/jadx | Binwalk/Unblob (firmware), Frida (dynamic instrumentation), capa/FLOSS (Mandiant capability & string extraction)