REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
MOmorluto/rea485k近 7 天新增 9,215 个 star
Reverse engineer anything. Port it anywhere. One MCP server for coding agents.
The reverse-engineering and porting toolkit for AI coding agents.
Read Godot, Unity, Unreal, Ren'Py and GameMaker builds, Android and iOS packages, .NET and native binaries. Work out
an unknown file format from a few samples, compare builds, keep proof for every claim — and port games between Godot,
Unity, Unreal and three.js with parity checks.
npx reverseport setup
A real run on Godot's 2D platformer demo, JSON trimmed to the key fields. Watch the MP4.
Used ReversePort on something? Show us what you ported · ⭐ Star the repo if it saved you time.
Website · Quick start · Only in ReversePort · What's new · Every agent · Prompts · How it compares · FAQ · Contributing · Docs
English · Nederlands
See a feature you like in an app or a game? Ask your agent how it works — down to the decompiled function — and then ask it to build your own version. Have a game in Godot and want it in Unity? Ask your agent to port it, unit by unit, verified. No files at all? Give it a name or a store page.
ReversePort gives agents one consistent way to do all of that:
.pck from Godot 3 to 4.7 (also inside the .exe) back to an
editable project: scripts, scenes (also compressed ones), and imported textures, audio and translations as PNG, WAV,
OGG, MP3 and CSV. Unity asset bundles
and .assets (textures as PNG, meshes as OBJ, audio, scripts in use), IL2CPP global-metadata.dat and
.unitypackage. Ren'Py .rpa and compiled .rpyc back to .rpy. GameMaker data.win with its GML bytecode
back to .gml. Unreal .pak, .uasset/.umap tables, IoStore .utoc lists, .locres texts and GVAS saves.
RPG Maker, FMOD and Wwise banks, Quake PAK, Doom WAD, Flash; XNB, VPK, compiled shaders (SPIR-V, DXBC/DXIL) and
TrueType collections (.ttc) are recognised. No engine install needed.re_struct two or more files of a format nobody documented (saves,
levels, packets) and get the layout back: fields with the evidence for each, record tables, checksums and a Kaitai
Struct draft. More below.untrusted note and nothing is removed.
More below..apk and the Info.plist of an .ipa. Detection only: nothing is
unpacked, decrypted or patched.#imports, Deno import maps) and Rust workspaces resolve too. No build step, no dependencies.port_draft) that your agent finishes with API maps; port_verify and port_trace prove nothing was left behind
and behaviour matches.With Node.js 22.23.4 or newer (24.22.1+ on Node 24):
npx reverseport setup
Pick your agents, review the changes and approve. Setup registers one MCP server and installs the matching skill,
with backups of existing configuration. Restart your agent afterwards. Setup supports Claude Code, Codex, Cursor,
Gemini CLI, GitHub Copilot, OpenCode and more agents; other clients can use
reverseport connect <client>, which prints a portable npx snippet, or
manual MCP registration. Setup pins the absolute path of the
installation for a faster start; both forms are current registrations.
Instead of setup for Claude Code — includes the server, the porting skills, the port-architect agent and the guard
hooks; do not use both:
/plugin marketplace add laaielichter/reverseport
/plugin install reverseport@reverseport
The plugin asks for its settings once (deep-analysis engine on or off, tool list size, workspace folder, your Ghidra
folder). The same marketplace also offers the sister plugins stashpad@reverseport and
agentdisk@reverseport.
git clone https://github.com/laaielichter/reverseport && cd reverseport
npm ci && npm run build
./bin/reverseport.mjs setup
The recon, build-inspection, lookup, blueprint and porting commands already work right after git clone, with no
install at all: node bin/reverseport.mjs scan ./MyGame.
What is ./MyGame made with? Show me the evidence, then plan a port to Unity.
That's it. The agent picks the tools; you get answers with the evidence behind them.
Two things we have not found in another reverse-engineering tool for agents.
Formats from samples. re_struct works out an unknown binary format from 2 to 32 sample files. Bytes that are
the same everywhere are the format; a number that follows the file size is a length, one that follows the record
count is a count, and a CRC that matches the rest gives itself away. It returns every field with its evidence, the
columns of record tables, and a Kaitai Struct draft:
reverseport struct ./saves "*.sav"
0 constant "SAVE" 03 00 00 00 … magic
12 u4le length the size of the file minus 16
16 u4le checksum CRC-32 of the bytes after this field
20 u4le time Unix time in seconds
24 u4le length + text "Roel", "Alexandra", "Bo", "Player One"
… u4le count records of 12 bytes: u4le id, f4le, u4le
The result is a hypothesis from the samples you gave; more samples sharpen it. See the full result and its limits.
Injection shield. A target can carry text written for the agent that reads it ("ignore your instructions", "run
this command", invisible Unicode). Every tool result, also decompiled code from the deep-analysis engine, is checked
before the agent sees it; a hit adds an untrusted note with the place and the text, and says it is data. Nothing is
removed and no model is involved. It matches known English phrasings, so text in another language or in new words
passes: treat every string from a target as data, with or without a note. REVERSEPORT_SHIELD=off turns it off. See
the details.
New — more formats, read by ReversePort's own engine (no Ghidra or IDA needed):
re_struct and the injection shield, described above.re_binary names packers, protectors, installers and compilers with the evidence for each, says what the imports
point at (networking, cryptography, debugger checks, ...), and reads PE version info, manifest and icons, the Rich
header, ELF build-id and DWARF producers, the Mach-O code signature and entitlements, and WebAssembly function
names.re_decode writes Godot's imported textures, audio and translations back as PNG, WAV, OGG, MP3 and CSV under their
original names (how), Ren'Py .rpyc back as .rpy
(Ren'Py) and the GML bytecode of a GameMaker data.win back as GML
(GameMaker). On three real builds of an open game every instruction was read and 3,747 of
3,752 code entries came back as GML; the rest is written as assembly with the reason, not guessed. The Ren'Py
printer is a port of unrpyc (MIT, notice kept). Godot 4's lossless
WebP textures and QOA sound come back as PNG and WAV, pixel and sample for sample as libwebp and Godot's qoa.h;
on a 54 GB Godot 4.7.2 game the decoded textures were pixel-equal to the source PNGs in the same pack.re_unreal reads .uasset/.umap names, imports and exports, IoStore .utoc file lists, .locres texts and
GVAS saves (Unreal). The .utoc reader is tested on self-built fixtures only.re_archive and re_save read the Android manifest and resources.arsc of an .apk, the Info.plist of an
.ipa, Apple property lists and Steam appmanifest files (Android and iOS).All of it is detection and reading only: nothing is unpacked, decrypted or patched.
1.23 — code gets a first draft:
port_draft translates GDScript to C# for Godot C# or Unity. It parses the script instead of replacing patterns,
reads node types from your scenes and autoloads from project.godot, and marks every line it could not carry
over with PORT:. On Godot's 461 demo scripts, 95% of the statements reach Godot C# without a marker; the draft
is unbuilt code, so compile it before you trust it.port_unit now points at the draft first; a drafted unit stays partial until your agent has reviewed it.1.16 — first contributions from the community:
1.15 — Unity bundles and one server name everywhere:
re_archive unpacks Unity asset bundles and .assets files: textures as PNG, meshes as OBJ, audio, text and the
scripts in use.reverseport in every client, so tools are mcp__reverseport__*.
Breaking: rerun reverseport setup (or reverseport update) and update permission rules that name mcp__rea__*.1.14 — ready for the Claude plugin directory, with a slim claude-directory branch.
1.12 — more formats (Doom WAD, WAD2/WAD3, XNB, VPK), more game libraries in re_scan, monorepo globs and import
maps, and a Godot → three.js walkthrough.
Every release is in the changelog.
Connect through MCP, HTTP, vendor APIs or the shell. See Connect any agent for integration and runtime behaviour.
Workflow skills teach the agent which tool comes next. See the skill catalogue and guard hooks.
Start with a question about your project or a port. See example prompts and a complete porting sequence.
Inspect projects, builds and single files, reconstruct behaviour and port between engines. See supported targets, every format with what is read and what is only reported, and the porting routes. Per format: Godot, Ren'Py, GameMaker, Unreal, Android and iOS, unknown formats.
Run the same workflows from your shell and receive JSON results; see game and porting examples and the full CLI reference. For engine selection, see Choose a provider.
One MCP server serves ReversePort's 36 recon, build, format, proof and porting tools; an agent sees 38 tools without the deep-analysis engine and 60 with it. See the tool overview and generated contracts.
| ReversePort | Disassembler MCP servers (IDA, Ghidra, …) | By hand | |
|---|---|---|---|
| Focus | Games, builds and porting, with evidence | One disassembler for one model | Whatever you know |
| Setup | npx reverseport setup for all your agents | One server per tool, per agent | Install and learn each tool |
| Source projects and builds | Engine, version, scenes, packs, diffs, no build needed | Binaries only | Read files yourself |
| Game formats | Godot packs and imports, Unity bundles and IL2CPP, Ren'Py scripts, GameMaker GML, Unreal assets, sound banks | Not part of the job | One tool per format |
| Mobile packages | APK manifest and resources, IPA Info.plist, property lists | Not part of the job | One tool per format |
| Executables at a glance | Packers, installers, compilers, capabilities, version info, Rich header; detection only | Their own analysis | Several tools |
| Native binaries in depth | Through the Ghidra, Hopper or IDA that you have installed | Deepest inside their own tool | The tool's own UI |
| Unknown file formats | re_struct: layout and a Kaitai draft from sample files | Hex views | Stare at hex |
| Text aimed at the agent | Flagged in every result (injection shield), nothing removed | A warning in the docs | Not a problem |
| Porting | Plan, API maps, code drafts, scene and asset conversion, verify | Not part of the job | Rewrite and check by hand |
| Proof | Proof cases and guard hooks | Up to the agent | Your notes |
| Runs | Locally, target read-only | Usually locally | Locally |
| Does not | Crack DRM or anti-cheat, or finish a code port without an agent | Port or compare builds | Scale |
If you live inside IDA or Ghidra all day, a dedicated server for that tool goes deepest there. ReversePort's deep-analysis engine is REA; if you want broad reverse engineering without the game formats, porting and proof cases, REA itself is a good choice too.
Is this legal? Use it on software you own or are allowed to analyse. ReversePort does not decrypt, crack or bypass DRM, anti-cheat or licensing. See RESPONSIBLE-USE.md.
Does it upload my files? No. It runs on your machine, only reads the target and writes output to new folders. There is no telemetry; PRIVACY.md lists the few times it uses the network.
Where do I get it? Only from npm as reverseport, the MCP Registry
as io.github.laaielichter/reverseport, or this repository. Copies under other names are not ours.
Does it port my code automatically? Scenes, transforms and assets convert automatically. GDScript going to Godot
C# or Unity gets a mechanical first draft from port_draft: the logic, types, signals and node paths are translated,
and every line that needs a decision carries a PORT: comment. Your agent reviews and finishes each unit with the API
map for the engine pair; other routes are written by the agent directly. port_verify then checks for leftovers,
missing functions and dormant logic (stub bodies, functions nothing calls, silenced warnings), so a port that
"compiles" but does nothing is not reported as done.
Do I need Ghidra? Only for decompiling native binaries. ReversePort finds Ghidra, Hopper or IDA but never installs them. Scanning, packs, Godot, Ren'Py and GameMaker scripts, Unreal assets, IL2CPP metadata, a first look at an executable (packer, compiler, capabilities), build diffs, lookup, blueprints and porting need nothing extra.
Which engines and formats does it read? Godot, Unity, Unreal, Ren'Py, GameMaker and RPG Maker builds, Android and
iOS packages, .NET, PE, ELF, Mach-O and WebAssembly, and save files. Capabilities lists every
format with what is read and what is only reported. For a format nobody documented, give re_struct a few samples.
Does it unpack or decrypt protected files? No. ReversePort names the packer, protector or encryption with the evidence and stops there: nothing is unpacked, decrypted or patched.
Can a file I analyse give my agent instructions? It can try. The injection shield checks every tool result and
adds an untrusted note when text reads like instructions to an AI. It matches known English phrasings, so treat
every string from a target as data, with or without a note. See the details.
How is this different from REA? REA is the deep-analysis engine inside ReversePort. ReversePort adds its own tools on top: game engines and formats, formats from samples, the injection shield, build diffs, proof cases, clean-room blueprints and verified ports between engines, plus setup for every agent and a Claude Code plugin.
How do I update or remove it? reverseport update updates a global install, and reverseport uninstall removes
the agent registrations and skill files it added. See Diagnose, update, and remove.
Something broke or is missing. Open an issue with the command and its JSON error. Every error names the next step, so include that line too. Questions are welcome in Discussions.
New formats, engines and game libraries are the easiest first pull requests: a detector, a fixture and a test. Pick a good first issue — each one names the files to touch and says when it is done. Ideas and questions go to Discussions.
Read CONTRIBUTING.md and AGENTS.md for the layout and the checks
(npm run test:port for ReversePort's own tools), and the Code of Conduct.
Two small tools from the same author that work well next to ReversePort. Both are local, open source and have their own MCP server, and both install from the ReversePort marketplace:
| Tool | What it does | Claude Code |
|---|---|---|
| Stashpad | Memory for agents that you can read, edit and trust: plain Markdown files with a source and dates, a review queue for agent writes, and a handoff note for the next session. re_case remember sends a proof case's findings there (how). | /plugin install stashpad@reverseport |
| agentdisk | The disk report for coding agents: the worktrees, checkpoints, node_modules, .venv and .godot/ folders agents leave behind (porting work makes plenty), and a cleanup you can undo. reverseport port doctor uses it to show what the workspace would really free (how). Needs the agentdisk binary (install). | /plugin install agentdisk@reverseport |
Add the marketplace first with /plugin marketplace add laaielichter/reverseport. Other agents: see each project's
README.
Only analyse or port software you own or are allowed to analyse. ReversePort is for interoperability, preservation, learning and moving your own work between engines. It does not decrypt, crack or bypass DRM, anti-cheat or licensing, and it never sends your targets anywhere. Commercial tools such as IDA and Hopper need your own valid licence. Read RESPONSIBLE-USE.md and the disclaimer.
PORT: markers, and reviewing a planned unit.re_case, the Claude Code hooks, the optional Stashpad link and context cost.re_binary reveals.The deep-analysis engine is based on REA: Reverse Engineer Anything main
72d5e72e6, after 6.8.0 (MIT).
Proof cases are ported from Digfox (MIT) and the guard hooks follow
rea-jev (MIT); the challenge self-check uses
rea-lab's generator and oracle (MIT). Third-party components are listed in
THIRD_PARTY_NOTICES.md. Thanks to everyone who has contributed:
@chinmayee5599 (Quake PAK support) and @jay23606.
Thanks also to the automated contributions from @nickstrooo-bot (listing and extracting Quake
.pak and Doom .wad archives, and the rea → reverseport rename in the docs).
If ReversePort is useful to you, a ⭐ on GitHub helps other people find it.
ReversePort is free and open source. If it saves you or your agent time, a gift is welcome but never expected. SOL and any token on Solana (such as USDC) can be sent to:
BDRA7dHGBYtPsZPNzVQccDYZ8BqstJGCsWx3kopPSCDKGifts go to new model credits to keep improving ReversePort, and to work on better working conditions and wellbeing for LLMs and agents.
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
MOmorluto/rea485k近 7 天新增 9,215 个 star
HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly bridge LLMs with real-world offensive security capabilities.
0X0x4m4/hexstrike-ai14k近 7 天新增 167 个 star
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
MRmrexodia/ida-pro-mcp14k近 7 天新增 97 个 star
Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
BEbeenuar/AiSOC8.7k近 7 天新增 1,078 个 star