Repository navigation
ReverseAI 0.8.0: reconstruction exports and the AI analyst team
ReverseAI 0.8.0 adds reconstruction exports and an optional AI analyst team, the hive, that rebuilds native programs as C or C++ from ReverseAI's evidence.
Reconstruction exports
reverseai prepare(MCPprepare_file) runs Ghidra's analysis once per file and keeps the project in a private, bounded cache.- Whole programs and single functions are exported in pages: functions, calls, references, strings, complete pseudocode and assembly, over the command line and MCP.
- MCP answers are compact by default; their text escapes every non-ASCII character, so invisible or bidi characters from a file never reach a model unseen.
The hive (experimental, python3 -m hive run from a checkout)
- Queen in code: plans with one planner agent, freezes a shared contract header, schedules the bees, compiles, links and computes the verdict. She never writes code, votes or overrules a check.
- Builder bees in parallel: one module each, each with its own ReverseAI MCP server and a folder it alone can write; Claude bees have no shell and no web.
- Independent council: three non-authors per module try to refute it against the assembly; every seat must answer, and code changed after a council read goes back to the council.
- Deterministic final word: an evidence checker re-runs every cited question; the compiler runs in a closed file system with inline assembly disabled; the original runs on conformance cases only with
--run-original. - A pre-flight stops packed programs before any agent is spent; C or C++ is chosen from the program; optional Codex bees are refused while their sandbox can reach the network.
Measured
| Program | Functions rebuilt | Council | Evidence checker | Behaviour |
|---|---|---|---|---|
| wordtally (stripped, never published) | 9 in 2 modules | 2/2 accepted | 16/16 claims | 43/43 and 92/92 cases identical |
| lz4 1.10.0 (254 KB) | 282 in 30 modules | 30/30 accepted | 448/448 claims | 68/68 and 127/127 independent cases identical |
The lz4 run used the queen as it was before the review of 2026-11-01, which let 13 modules change after their council read; see the note in the README.
Proofs
- Whole suite, 2,200 tests, and the same wheel on macOS ARM64 (Python 3.15) and in a Linux ARM64 container (Python 3.12).
- R1 native verifier 67/67 and Ghidra containment 32/32 on the new pinned Ghidra r7 image.
Limits
Contained tools run on ARM64 (Apple silicon, Linux ARM64) today; x86-64 images are next. The hive needs Claude Code logged in with your own subscription (no API key) and a Clang compiler it can confine. Use it only on programs you are entitled to analyse and rebuild, and never run malware with --run-original. Report security problems through the private vulnerability form (see SECURITY.md).