Reverify
MCP : Standardises the connection between an AI application and systems that expose tools or data
The AI proposes, deterministic tools verify: every claim about a binary comes back verified or refuted, with the evidence.
A concrete answer to hallucinations in a field where they are costly, reverse engineering: the model puts forward a hypothesis, and a disassembler or an emulator checks it against the real bytes. The same principle is used to compare a code rewrite with its reference. The error rates quoted in the readme are the author's own. A specialist tool.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
An AI model confidently states that a function starts with a given instruction, that a structure has a certain field or that an offset has a certain value, and it is often wrong. In binary reverse engineering these hallucinations are common and costly: you cannot tell whether the model made up what it says. Reverify addresses this by taking away the model's ability to assert a fact on its own.
The principle is simple: the model proposes a claim, then a deterministic tool checks it against the real file (disassembly, pattern search, execution in an emulator). Each claim comes back VERIFIED, REFUTED or INCONCLUSIVE, with the observed bytes as evidence. Reverify runs from the command line or as an MCP server that agents such as Claude Code or Cursor can call directly.
The same principle applies to ordinary code: the reverify equiv command runs a reference implementation and a rewrite on the same inputs, and reports any difference with the input and both outputs. The tool also keeps verified facts and refuted claims on disk, so a long session can restart from a fresh context without losing what has been established.
Reverify is meant for people who analyze binaries with an AI agent (malware analysis, CTF, interoperability) and for those who want to test an AI's rewrite of some code. It is not meant for the general public or for anyone with no background in reverse engineering. It is limited to software you own or are authorized to analyze.
What it offers
- ·Claim verification: each hypothesis about a binary (bytes, integers, patterns, strings, instructions, imports, exports, sections) comes back VERIFIED, REFUTED or INCONCLUSIVE with the observed bytes.
- ·Deterministic toolkit: PE, ELF and Mach-O parsing, x86, x64, ARM and ARM64 disassembly, pattern scanning, CPU emulation, Protobuf/TLV dissection and Frida hook generation.
- ·Optional engines: with reverify[full] the tool switches to capstone, unicorn, lief and Z3, and reverify[angr] adds function boundaries, the call graph and cross-references.
- ·Code comparison: reverify equiv runs a reference and a rewrite (Python or C) on shared inputs and returns the input and both outputs on disagreement.
- ·Information weighting: each result gets a weight measured on the binary, so a trivial or repeated claim is not enough to call a reconstruction grounded.
- ·Persistent ledger: verified facts and refuted claims ("KNOWN FALSE") are saved per binary in .reverify/ledger and resume after a /clear or a compaction.
- ·MCP server: agents call the tools directly, including re_verify_claim and re_ledger, with no extra setup.
- ·Successive sessions: reverify rollover and reverify orchestrate chain fresh-context sessions with a verified hand-off, in Claude Code, Codex, Gemini CLI and OpenCode.
In practice
- Price
- Free
- Commercial use
- Commercial use: yes
- Available on
- mcp, cli, python
- Licence
- MIT
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Data stays local
- Maintenance
- Active
- Last release
- 4 September 2026
Links and repository checked on 29 November 2026 · added on 29 November 2026
How to install Reverify
pip install reverify