morluto/rea Automates Binary and API Reverse Engineering With Agent-Driven Analysis
The morluto/rea project is an agent-driven orchestration tool meant to speed up reverse engineering of closed-source binaries and undocumented APIs, which typically demands manual static analysis and trial-and-error. Its three harnesses cover binary analysis via a Ghidra wrapper, live API fuzzing that rebuilds OpenAPI 3.1 specs from network traffic, and an LLM-augmented pattern matcher for contextual reasoning. The author reports practical issues, including Ghidra running out of memory on large stripped Rust binaries, which was worked around by chunking analysis and caching p-code in Redis. Browser process zombies from unbounded parallelism were fixed by capping concurrency at three using p-limit. Because agent output is unstructured, the author also added Zod schemas to validate reconstructed API specs at runtime.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in