AI AI Pulse

MiniMax model rebuilds closed-source software in Rust

AI News Source: Shanghai Securities News

MiniMax says an internal model ran 2,000 sub-agent sessions and wrote about 2 million lines of Rust to rebuild a commercial binary analysis tool, reaching 94% on packed samples.

A second evaluation in two weeks

On November 28, MiniMax published an evaluation on its technical blog. The test asked its internal model to rebuild a well-known closed-source binary analysis tool, inside an isolated environment. It is the second public capability disclosure in two weeks, after cryptanalysis results on November 22.

The toolbox was ordinary: Ghidra, GDB, a test validation framework, C/C++ and Rust compilers, plus a multi-agent orchestration scaffold. The scale was not. The model scheduled 2,000 sub-agent sessions, generated about 2 million lines of Rust test code, and left behind 10,000 automated test cases.

How it worked

Each sub-agent ran in its own sandbox. The parent session split the work, handed out tasks and collected results. The model first mapped the boundary of the functions it meant to rebuild, then rewrote them module by module. It then fed the same samples to the original program and to the new modules, compared outputs and corrected the code.

The rewrite covered most of the target's main capabilities. The core module was compiled into a shared library and swapped into the original program's run directory. The host program still started, loaded samples and decompiled them, with its interface unchanged. The binary-level interface test also passed.

The model wrote its own lightweight graphical interface and wired it to a backend, so it could load samples, browse functions and review pseudocode. That points to an end-to-end build, not a fragment translation.

Scores on packed samples

A second test targeted commercial protection. On 100 hard obfuscation and virtualization samples, the model restored 70% on a single autonomous run. With eight samples and verifier feedback, the combined restoration rate reached 94%. On the group protected by VMProtect 3.x and Themida, logic restoration passed 90% without targeted human hints.

The model evolved a two-stage workflow on its own: static localisation plus dynamic tracing to find critical paths, then iterative simplification that converges on equivalent behaviour. Nobody wrote that method into the prompt; the model found it by trying.

Limits, in its own report

Three failures are named. Multi-layer nested virtualization and strong anti-debugging cut first-pass success sharply. Million-line refactors still depend on custom engineering scaffolds. And the output is verification code for specific core modules, not a mature commercial product.

MiniMax said all code, build artifacts and logs were destroyed from physical media after metrics were recorded. The company is weighing limits on, or removal of, end-to-end software cloning in its public models. It also invited hardening vendors and security researchers to build shared test benchmarks.

What it means for software makers

For a decade, "client logic is protected by closed source and packing" was a default assumption. This evaluation suggests obfuscation still raises cost, but it is no longer a hard boundary. The practical response is to move critical logic to the cloud, pair it with a trusted execution environment, and keep the client thin.

For model makers, disclosures like this are becoming routine: probe the limit, publish it, then set guardrails. The industry gets warning. The cost is that the ceiling is now public.

What to watch

Whether the public model really drops cloning, and how far the removal goes. Whether outsiders can reproduce the 94% figure, since MiniMax has not released the sample set. And regulators: reverse engineering already sits in a grey zone in most jurisdictions, and at model scale, attribution and liability get harder.

Nothing here is investment advice.

Source: Shanghai Securities News

Related