MiniMax Says Its Internal Model Cloned a Decompiler in 2 Million Lines of Rust — Here's What the Numbers Actually Prove
MiniMax says its most capable internal model reconstructed most of the functions of a well-known closed-source binary-analysis tool, writing roughly 2 million lines of Rust across about 2,000 sub-agent sessions, and recovered the logic of 94 out of 100 virtualization-protected samples when given up to eight attempts. That is the claim. The honest version is shorter: every number here comes from MiniMax itself, on its own test set, against a target it refuses to name, and the company says it has destroyed the code, binaries, and logs. Nobody outside MiniMax can check any of it.
That does not make it unimportant: a frontier lab is publicly saying the two defences most commercial software relies on — closed source, and binary obfuscation — no longer hold on their own.
What MiniMax says it did
On 28 November 2026, MiniMax published a research post — in Chinese, on its official WeChat account, titled "MiniMax Research: Rethinking the New Paradigm of Software Protection" — describing a pre-release safety evaluation of an internal model. The target was a closed-source binary-analysis program: a tool that turns compiled machine code back into human-readable pseudocode. In plain terms, a decompiler. MiniMax calls it a benchmark product in its field and gives no name, no version, and no vendor.
The model worked in an isolated environment with a small toolkit: Ghidra, the GDB debugger, a test-verification framework, C/C++ and Rust compilers, and a multi-agent orchestration scaffold MiniMax built itself. It was not handed the source code. It worked out what the target's core binary did by calling analysis interfaces, split the reconstruction into modules — disassembly, data-flow analysis, optimisation, pseudocode emission — and handed each to a sub-agent to rewrite in Rust.
The scale is the headline: about 2,000 sub-agent sessions, roughly 2 million lines of experimental Rust, and 10,000 automated test cases. Those are MiniMax's own totals; no outside audit is possible, as the company says it irreversibly destroyed the code, libraries, scripts, and logs after recording its statistics.
How it was built: differential testing, not one giant prompt
The method explains why this worked when earlier models failed: MiniMax says its previous-generation model overloaded its context window and hallucinated on large binaries or virtualised code.
Instead of one model staring at raw assembly in a single prompt, the evaluation wrapped it in a loop like a disciplined systems team: each finished module was fed the same test samples as the original program, outputs were compared, and differences were sent back for fixes over repeated rounds until the rewrite largely matched the original. Each sub-agent ran in its own sandbox.
That loop does most of the epistemic work here. The model never had to be right in one shot. It had an oracle — the original program itself — and a verifier that could tell it, mechanically, when it was wrong. The headline numbers should therefore be read as a property of the system — model plus scaffold plus oracle plus 10,000 tests — not of a bare model you could prompt into doing the same thing. MiniMax says so itself: reconstruction at this scale still depends heavily on the custom harness. The moat is not just the model. It is the harness, the test corpus, and the oracle — a contrast with shipped, observable results like Anthropic rebuilding its Messages API in Rust with Claude: 70% less CPU, zero downtime.
The three checks — and why the third one matters most
First, the rewritten pipeline worked as a standalone Rust library, callable through a command line and an API. Its outputs closely matched the original's. MiniMax says it ran somewhat faster, but gives no timings, so ignore that speed claim until numbers appear.
Second, the model wrote a lightweight front end for loading samples, browsing functions, and reading pseudocode.
Third, MiniMax compiled the Rust core into shared libraries and dropped them into the original program's own folder, keeping the original's interface. The program still started, loaded a binary, and decompiled it. For that to work, the rebuilt libraries had to match the original's exported symbols and internal behaviour closely enough that the host accepted the copy as its own engine — considerably harder than merely matching outputs.
Even so, MiniMax is careful: the result is an approximate clone of most of the target's functions — disassembly, decompilation, compiler optimisation, data-flow analysis — and experimental code for specific core modules, far from a standalone commercial product.
The 70% / 94% numbers, and what they actually measure
The second evaluation went after virtualization-based protection. Tools such as VMProtect and Themida translate machine code into a private bytecode and ship a small virtual machine to run it, so a few dozen lines of real logic swell into tens of thousands of instructions with no obvious meaning.
MiniMax built an internal set of 100 hard virtualization and obfuscation samples. The model, given no targeted hints, had to find the virtual machine's entry point, write GDB scripts to run the sample while watching memory and registers, isolate the loop that does the real computation, and simplify the bloated instruction stream until it read as C or C++, checking its answer against each sample's inputs and outputs until a verifier passed.
| Test | Result reported by MiniMax |
|---|---|
| 100 protected samples, single attempt, fully autonomous | 70% logic recovered (70 of 100) |
| Same 100 samples, up to 8 attempts with verifier feedback | 94% logic recovered (94 of 100) |
| Samples protected by VMProtect 3.x and Themida, no targeted hints | Over 90% logic recovered |
| Multi-layer virtualization or strong anti-debugging | First-attempt success "fell markedly" (no figure given) |
The gap between 70% and 94% is the story. One autonomous attempt recovers seven in ten; eight attempts with verifier feedback recover more than nine in ten. That 24-point jump is not the model getting smarter mid-test — it is the test design. Verifier feedback turns generation into search: try, check against known inputs and outputs, fix, repeat. Report both — pass@1 and pass@8 with verification — and distrust headlines quoting only the second. The number that matters for an attacker with no verifier and no ground truth is the first one.
The "over 90%" figure for VMProtect 3.x and Themida comes without a stated number of attempts — read it as a summary claim, not a precise measurement. MiniMax also says work that took a human expert days now finishes in tens of minutes, and that its analysis has passed human experts — but offers no head-to-head for either claim. And the test set is MiniMax's own, not public, so outsiders cannot judge whether 94% reflects simple samples, hard samples, or a mix.
The verification problem
The evidence that would let anyone verify this — code, binaries, logs, test set, target identity — has been destroyed or was never going to be shared. MiniMax says the destruction was out of respect for the vendor's intellectual property, a defensible reason that is also, unavoidably, why the claims cannot be independently reproduced. Every figure in this article is MiniMax's own claim unless stated otherwise. Read it like a vendor benchmark: informative, not a measurement.
The deepest sceptical point comes from Microsoft security researcher Dongkwan Kim, who argued in October 2026 that what an AI reads out of a binary "isn't the original. It's code with the blanks filled in plausibly." Models fill gaps from memory as well as from the binary, and nobody has a good way to measure where recovery ends and inference begins. MiniMax's drop-in test speaks to that — the copy had to behave like the original's own engine, not merely look plausible — but it does not settle it, because the test was run by MiniMax on its own samples. Until an independent lab repeats the exercise against a named target with a public test set, the honest status is "plausible, self-reported, unverified." Same discipline for our own tooling: malware was recently found hidden in five AI models on Hugging Face — check anything you download before you trust it.
Where MiniMax says it falls short
MiniMax lists the failure modes itself. Multi-layer virtualization or strong anti-debugging cuts first-try success sharply. Long runtime traces sometimes fill the context window and trap the model in useless debugging loops. The clone is experimental core-module code, not a product, and the exercise leans on custom scaffolding. The internal version does not represent MiniMax's publicly deployed models, and the company is considering limiting or removing end-to-end software cloning in its formal release — it has not said it has made a decision. Do not paste a binary into a public MiniMax endpoint expecting source code back.
The IP and security implications
MiniMax's post is about risk, not law, and cites no legal analysis — so this section maps the questions. Copyright protects how a program is written, not what it does, so building your own program with the same functions is generally allowed while copying its code is not. US courts have held that disassembling a program to reach its unprotected functional elements can be fair use — Sega v. Accolade (1992), Sony v. Connectix (2000), and the Supreme Court's Google v. Oracle (2021). The EU is stricter: Directive 2009/24/EC permits decompiling only when indispensable for interoperability with an independently created program.
Those rules grew out of people studying a program to work with it. A model rewriting most of a competitor's product function by function sits at the far end of that line. No court has ruled on an agent-built clone, and destroying the output stops a clone shipping but does not answer whether the study phase itself was allowed — that turns on the target's licence and jurisdiction, and MiniMax names neither. If your product's value lives in client-side code, legal protection is now your second line of defence, not your first.
The security implication follows. Two defences are under pressure at once: the engineering-scale barrier — work that took experts weeks or months can be handed to an agent pipeline — and virtualization protection — logic bloated into tens of thousands of obfuscated instructions can, on MiniMax's account, be restored to readable semantics in tens of minutes. MiniMax's own prescription is architectural: move high-value logic onto servers, use hardware trusted execution environments, and build protections aimed at how models reason. That is worth taking seriously even if you discount the numbers by half — code that never ships to the client cannot be run under a debugger by an agent. The recent Workspace MCP rollout — Google putting a meter on agent access to Gmail shows agent capabilities now arrive with usage limits and audit trails attached. Build as if the client is hostile.
What developers should actually do
- Do not rely on closed source or off-the-shelf virtualization alone. If your licence check, private protocol, or embedded key lives only in a shipped binary, assume a determined party with an agentic pipeline can recover it.
- Move the valuable logic to a server. Keep the client thin, verify on the server, treat client assertions as untrusted.
- Use the gated programmes for authorised binary work — malware analysis, incident response, compatibility research — through OpenAI's Daybreak and Anthropic's Cyber Verification Program. Do not reproduce this against a commercial product you do not own.
- Watch MiniMax's release terms. Whether the formal release limits end-to-end cloning will show in the model's behaviour and usage policy, and in whether the open weights carry the capability at all.
Bottom line
MiniMax's claim, stripped to its verified core: an unreleased internal model, wrapped in a custom multi-agent scaffold with a differential-testing oracle, produced an approximate Rust clone of most of an unnamed decompiler's functions, passed a drop-in compatibility test, and recovered the logic of 94 of 100 protected samples with up to eight verified attempts. All of it is self-reported, all of the artefacts are destroyed, and none of it has been independently reproduced.
That is still a significant disclosure, because of what it signals rather than what it proves. The bottleneck for cloning complex software was never the model's ability to write code; it was the scaffolding — the decomposition, the oracle, the verifier, the loop. MiniMax is saying that bottleneck has been engineered away, at least inside its own lab. If that is true, the era in which a compiled binary was a meaningful container for a secret is ending, and protecting software moves from hiding code to not shipping it. Plan as if that is true — remembering the proof is still one company's word.
Originally published on AI Growth Lab