Video briefing
Lean REA vs REA Reverse Engineering Benchmark Rerun
LeanREA · REA 7:04
We reran the Lean REA versus REA benchmark with Ghidra and jadx fully installed, testing seven reverse engineering tasks across wall time, cost, and accuracy.
Transcript
What the video says
LeanREA vs REA: we reran the benchmark with Ghidra and jadx installed. From TerraNet Technologies. If this helps, a like and a subscribe go a long way. Can an eight-kilobyte instruction file replace an MCP server packing over two hundred specialized tools? When Lean REA claimed equivalent reverse engineering accuracy with lower cost and less runtime, Lean REA's own author noted that engines like Ghidra and jadx were missing. We re-executed the benchmark with both decompilers active to find the truth.
The architectural division comes down to tool philosophies. Reverse Engineer Anything, or REA, is an npm package and MCP server offering more than 200 tools that drives Ghidra, jadx, and tshark while returning formal evidence records and addresses. Lean REA is just one eight-kilobyte SKILL.md with no server, instructing the agent to invoke standard command-line utilities directly in its shell.
The central question is whether an agent needs an expansive specialized toolbox or performs better relying on lean instructions and ordinary tools. Figure 1 maps the steps each architecture takes across its workflow. REA routes the agent through its MCP server to execute commands across Ghidra, jadx, and network utilities before returning structured evidence IDs and decompiled snippets. Lean REA simply points the agent toward built-in tools like otool, nm, strings, and jadx inside its local shell. By skipping the middleware server layer entirely, Lean REA lets the agent interpret raw findings directly without translating requests across an external bridge.
We kept Claude Code headless with Sonnet 5.5, but upgraded the environment. Ghidra 12.2 and jadx were installed and reported healthy by REA's own health check on an Intel Mac. We also added three new tasks verified against source: a custom stripped binary requiring header recovery, an obfuscated Binary Eye Android app, and a synthetic network capture session. Notion 7.44.0 and gh were updated to current versions across 21 runs per setup.
Figure 2 plots median task duration in seconds across all seven targets. REA was slower than Lean REA on every task, trailing furthest on the Electron app at 460 seconds compared to Lean REA's leading 23 seconds. The pattern breaks on network capture, where running with no skill took 16 seconds, edging out Lean REA at 17 seconds. REA's extra layer added time on every task, and our runs confirmed the original finding.
In every REA run on the Electron app, the whole-app analysis stopped at an integrity check. The agent retried with the check relaxed, then REA gave up with a resource limit and the agent answered from the shell. In the run we recorded, REA reported that the evidence record would be about 1 GB, over its retention limit. Lean REA's agent started in the shell and answered in a median of 23 seconds.
Having full decompilers active did not transform the outcome. On the native module, REA used Ghidra and averaged 29 turns against Lean REA's 8 for the same score. On the stripped binary, a target crafted specifically to demand decompilation, REA's agent did not open Ghidra at all. Instead, it used otool and Python like Lean REA to disassemble the binary, reconstruct the validation logic, and verify it against sample files without invoking heavy external engines.
Figure 3 tracks mean cost per run in dollars across each target. REA was the costliest setup across every benchmark task, peaking at $0.68 on the native module where Lean REA spent $0.25. The lowest costs appeared when running without a skill, which led at $0.08 on Go build info and network capture while matching Lean REA at $0.14 on Android. REA's extra turns and tokens account for the gap, at the same accuracy as Lean REA.
Running with no skill cost a few cents less in total, but failed three out of three attempts on Notion's single-instance lock due to the API's real-time cyber safeguard. Loading either skill let the exact same inquiry succeed every time.
Based on this single task, the likely reason is framing: both skills present the work as structured static analysis, whereas unguided requests dissecting a binary lock trigger automated filters. For teams running these agents, a skill is worth loading: on sensitive-looking tasks it can decide whether you get an answer at all.
Only three answers lost points across the entire benchmark, involving legacy channel names and missing browser descriptions. When we read every miss by hand, we discovered our automated grader rejected valid responses using unanticipated wording, such as Unix-domain stream sockets or equivalent modular arithmetic formulations. To ensure fair evaluation across all setups, we widened those pattern definitions and reapplied them by running an automated script across every saved answer. Anyone evaluating our findings can inspect our published repository to verify the final patterns and run the exact regrading script themselves.
These results come with clear caveats. The benchmark spans seven specific targets on a single model and machine architecture. Ordinary command-line tools solved every challenge here, meaning heavily obfuscated native code or encrypted custom protocols might still justify REA's tool suite. Furthermore, REA outputs addresses, function names, and evidence IDs alongside findings, offering a real feature for teams whose internal workflows require an audit trail behind every technical claim. Evaluators should weigh whether their operational protocols truly demand that granular level of verification before accepting REA's higher runtime.
Our runs confirmed the original finding: both tools achieved the exact same accuracy, but REA was slower and more costly on every task. Lean REA is the better everyday choice for standard software inspection, while REA remains useful when verifiable evidence trails or DRM refusals are required.
Read the full article on terranettechnologies.com, where you can find the harness, answer keys, and every recorded answer on GitHub so anyone can rerun it.
Produced by TerraNet Technologies from the cited evidence behind the written article. Facts can change after the recorded date.