REA Reverse – Engineer Anything

655 points - today at 12:37 AM

Source

Comments

InvisibleUp today at 4:57 AM
Glancing at the Touhou 4 decomp[1], it's a lot better quality than a lot of AI decomps I've seen. It's matching, the variables are named sensibly, comments are sparse and comprehensible, and there's not much in the way of unaddressed Ghidra jank. And only in a month! My main complaint is that the file structuring seems more optimized for AI use than for mirroring the original intent of the devs. (Compare to this human-made Touhou 6 decomp.[2])

I know the retro game modding/decomp scene is already getting hit with a flood of low-effort ports.[3] Now they're going to be hit with a flood of half-decent decomps effortlessly generated by anyone with a $200/mo AI subscription, which become half-decent PC ports, which get modding support grafted on. It kinda just... totally eliminates that as a hobby entirely. I know people are going to be upset about this. And it's not even like with the AI art, where the pro and anti-AI camps live in their own camps. Solving the same puzzle twice just feels discouraging. Very similar to the problem academics are having with AI math/physics proofs.

I know a large reason people hate AI is because it's largely seen as tearing apart hobbyist/professional communities, eliminating reasons to collaborate with others and form relationships, and replacing it with an individualized dependence on a commercial product. It follows the same trend the tech industry took social media, from a method of connection to a tool of propaganda and paranoia and "@gork is this true?" This project, I think, is one of the most clear examples of that.

[1] https://github.com/N0zoM1z0/th04 [2] https://github.com/GensokyoClub/th06 [3] https://www.pcgamer.com/gaming-industry/pc-ports-of-old-cons...

SyzygyRhythm today at 7:54 AM
I'll have to take a look at this, but I've found that the top models do quite well at this work without any extra work.

The Windows Remote Desktop client has two bugs that have been driving me crazy for the better part of a decade. One day I got fed up and fed the binary to Claude, asking it to fix the two bugs. And it just did it. Patched one with some NOPs and adjusted a stack offset for the other. Produced a credible explanation for both, and in fact the fix worked. It helps that I was able to describe the bugs clearly, but still, it had to figure out the right spot among megabytes of executable code.

nirav72 today at 2:34 AM
I wonder if this is why I've seen a lot videos popping up on my youtube feed related to vibe coded clones of various commercial apps in the past few days. Everything from clones of flagship products from Adob to Microsoft Office.

Adobe product clones like Photoshop and Illustrator: https://www.youtube.com/watch?v=eFB79TYI-Vw

Adobe after effects clone: https://www.youtube.com/watch?v=5mi_tYSdkWQ

MS Office suite clone: https://www.youtube.com/watch?v=U_jTYMOlXio

WarmWash today at 4:58 AM
I see this liquid software being the unavoidable future. A computer that just does stuff in whatever way you guide it, in whatever way you like guiding it. The models will keep getting better and faster up to the point where everything is just happening in real time, no OS no drivers no programs, just an entity that can listen to you and can move around bits to accomplish whatever you are trying to do. Wanna post on HN? Any way that you can code such an action, the computer can just manifest it for you, on the fly, however you want it.
mgaldys4 today at 5:33 AM
Slightly off topic. I looked at REA's Android reversing support and found it still uses jadx mcp. That kills large scale APK reversing. jadx takes tens of minutes to preprocess an APK, build a code relationship database, etc. Even headless mcp is no exception. I basically can't use it to analyze APKs at scale, like 100 large commercial APKs in a pipeline, or 100 preinstalled APKs from a phone ROM to hunt bugs.

So I built droidasc. No memory bloat, no parsing slowdown. Analysis is in milliseconds. Global xref on a 300MB APK takes 1.5 seconds. I used it with codex to analyze phones from 3 different brands and found 2 RCEs and 5 root bugs in a few days. I plan to detail these at Black Hat Asia 2027. A friend used droidasc to scan various bug bounty targets at scale and found 10+ RCEs. Way, way faster than jadx.

https://github.com/MG1937/ASC

areoform today at 1:08 AM
I love such work. I hope to roll it into a package that anyone can use in the future. This work is only going to get more important because frontier models getting locked down will make this a lot harder over time.

For example, I use Claude as a bouncing wall for my thoughts and I pointed out that,

    > GLM 5.2 was the only thing that helped HF while the agents were trying to access them. The "guardrails" stopped them from doing good. The Computer Fraud and Abuse Act exists. Courts exist. And computers and an internet connection have existed for a long time. There's also 17 USC 1201 provisions with the 1201 a 1 exemptions [Image #31] so in this case, a farmer should be able to work with you to access the tractor they own. Or... IDK... a kindle that's out of date? :) What is lawful and what isn't is rooted not within the act but within intent, purpose and mens rea. And this is something the law has been deciding for centuries now. At one end, your maker can't say that governments should decide while at the other end explicitly refusing to allow governments to be the ones who decide.
This was rejected for "Safety,"

    > Opus 5.5's safeguards flagged this session. You may be seeing this for the first time on an Opus model: Opus 5.5 is more capable and has stronger safeguards as a result, which can sometimes flag non-cybersecurity work. We're improving these safeguards to reduce the amount of incorrectly flagged messages. Edit and retry, or continue with Opus 4.8. Send feedback with /feedback or learn more: https://support.claude.com/en/articles/8106465 
    >
    > Details: "[cyber]'
Note, the image here was the Library of Congress' page on DMCA exceptions.

Fundamentally, the idea that you can't reverse engineer things, make things, learn about biology or physics without permission is strange to me. These machines have been trained on the sum intellectual output of humanity, the global intellectual commons, and are being used to close off that commons?

I would be OK with their right to create such restrictions if they weren't lobbying the Government to restrict others, thereby ensuring that they control humanity's intellectual commons well into the future.

Perhaps I'm naive, but I think it's better for humans and the machines if we can all think, learn and build. But then again, I'm the kind of person who rejects the doomer pill.

ethin today at 1:08 AM
I might be missing something but... How exactly is this better than telling Claude for example to "install and set up a full RE environment including Ghidra" on my local system and get to work? Like what does this do that my current RE methodology doesn't?
userbinator today at 10:14 AM
It's good that Stallman is still alive to experience this world. I think he never would've thought that freedom in software could come in this form, and as a long-time reverser myself, I've always held the opinion that his fixation on source code and the free software movement was not as liberating as it could've been.

"Source code? We don't need no stinkin' source code!"

Meleagris today at 4:16 AM
I’m surprised people don’t get refusals running this, or are they running it with cyber-enabled models like daybreak?

In my experience, even just hinting at reverse engineering to models from Anthropic or OpenAI leaves them extremely sensitive to refusals. After all, the same techniques used here can be used to find exploits.

Or are people using it with local models?

Curious.

hxseven today at 4:24 PM
The website appears to be overwhelmed at the moment. Here is the latest version from the Wayback Machine: https://web.archive.org/web/20261010094404/https://rea.tools...

And the Github page: https://github.com/morluto/rea

methou today at 4:06 AM
I'm using IDA Pro's MCP (Well worth of money in the past), it may hit the infamous artificial cyber wall at any time.

Try GLM-5.3, it worked pretty for me. It also worked well with Radare2 or binary ninja if you don't have the muscle memory for idapro.

Alifatisk today at 11:40 AM
Does anyone have insight into the sudden trend of game decomm / recomp and mashups like Minecraft in GTA, Mario in Skyrim, Cod in Life is Strange, Among us in Portal 2 and so on? What triggered it? Is there a specific new tool, technique or LLM that sparked this interest? I am curious.

Update, found this article to cover the timeline well. https://knowyourmeme.com/memes/cultures/ai-video-game-mergin...

This tweet is what opened the floodgates: https://nitter.app/chasmmmmmmmmmmm/status/210137541186725513...

sreekanth850 today at 7:26 AM
With C#, whenever codex need some info about the packages we use, it just use ILSpy to decompile the nuget instead of checking the docs. its much effective though. Even in my own packages, it use to gave back the bugs or gaps that i need to patch up.
5ak3t today at 7:22 AM
Oct 5 ~4.2k Oct 7 ~10.3k Oct 8 ~17–18k Oct 10 54.6k live

Going from ~4,226 to 54,614 stars in ~5 days is about +50k. Even stranger is forks: 438 → 10,376 forks. That is an unusually high fork acceleration. Current forks are about 19% of stars.

armcat today at 3:18 AM
I’ve been trying to rebuild and modernise an old abandoned ms dos game, simply by pointing Codex (6.1 Sol) at the game directory, and it works insanely well. It’s able to understand the data formats, unpack graphics and sound assets, and reconstruct game logic.
Retr0id today at 8:27 AM
I have extremely mixed feelings about how this impacts things like game decompilation projects, but when it comes to cracking DRM my feelings are only positive. (Although I'm sure those on the other side of the DRM are unhappy)

When you crack some DRM, the DMCA makes it challenging to share your work with the world, regardless of the morality of your use case (say, repairing one's tractor). There is no longer a pressing need to share that work, when anyone can just say "computer, sync my spotify collection to my jellyfin instance, using correctly tagged FLACs", and it goes away and does it from first principles.

bob1029 today at 7:59 AM
I don't know how much this matters as we get into a world where any software system can be composed in a few hours.

As the value of a particular piece of software decreases, the value of reversing its specific implementation does as well.

Reverse engineering is about discovering specific methods or protocols. Not for porting entire implementations to new platforms or products. A lot of the specific methods and protocols have been sucked up into the LLM weights, so the need to go digging for these patterns is dramatically reduced.

The biggest application I see here is with digital archaeological work (the opposite of new things).

OptionX today at 7:31 AM
The setup part made me chuckle.

The copy this prompt into your agent seems like an evolution of `wget X | bash`-style in all the worst ways.

deleted today at 1:41 AM
testerius today at 12:34 PM
I wish in few years local LLMs/AI be more available and powerful so I could decompile and extend childhood games. Tools, missions... Damn. My dreams.
evanjrowley today at 4:01 PM
The lost source code of Westwood Studio games cannot stop me now.
epsteingpt today at 2:14 AM
Morluto is a legend.

Started in the repoprompt (https://repoprompt.com/) community.

Good stuff.

hanumseous today at 10:38 AM
Hmm, probably not a good idea if you want to build apps publicly. But, the most interesting about this project for me is how peoples reacted to it.
mb7733 today at 1:01 AM
> Copy this into your coding agent:

> Install REA and connect it to this coding agent using npx rea-agents@latest setup. Show me the setup plan for approval, then verify the installation.

We have achieved the next evolution of installation by `curl | bash`!

Beijinger today at 4:00 AM
Maybe we should bring Xara Xtreme for Linux back?
RobotToaster today at 9:43 AM
Anyone used this for firmware files?
MiroslavPokorny today at 1:21 AM
Thanks for sharing and making this open source. Starred and followed
cedws today at 1:55 AM
What makes this better than just giving an agent radare2?
OsrsNeedsf2P today at 12:59 AM
Oh I'll be trying this out for the OpenBFME project!
vivzkestrel today at 3:27 PM
- here s a new idea for you that ll even beat this one

- any game coop MOD

- drag a single player game exe file into the tool, it builds a networking layer and makes the game playable on 2-4 player COOP

- this ll be the greatest agentic reverse engineering tool ever made on the planet if you can pull it off

- drag call of duty black ops 1 into it, boom you get back an exe with 2 player coop on campaign

- drag mirror's edge exe into it, boom now you have. 2 player coop on mirror's edge

- any of you agentic wizards out there think you can pull this off?

nailer today at 2:40 AM
Ooh it can recreate old games from executables, I wondering if it can do Motorola MC68010, I want to play Stun Runner in 4K.

https://www.youtube.com/watch?v=tByxdDiRdPM

rvz today at 2:27 AM
Now there are no excuses to reverse engineer the most notorious closed source binaries out there including from Nintendo's system software to CUDA, and nvcc from Nvidia and make it all "open source".

The only problem is the lawyers at all those companies will be readying their lawsuits, and given they have tons of money; they do not care and will come after anyone.

DeepYogurt today at 6:16 AM
the chickens are coming home to roost
dyauspitr today at 7:34 AM
So what do companies do about this? If every piece of software can be reverse engineered are all companies just going to move to saas only?
cupcakerob today at 9:32 PM
[flagged]
c_chenfeng today at 2:49 AM
[flagged]
soltanov today at 3:34 AM
[flagged]
haunter today at 6:25 AM
How long before the backend of a bank, or an insurance company, or a hospital will be reverese engineered?