Just a thought, but since all of these supposedly AI generated math proofs are expressed as Lean programs, and also these AI found 0-day exploits, has anyone asked if these models haven’t found a way to hack the Lean evaluation engine?
Like a lot of these speedrun hacks?
Lean has famously accepted LLM code for some time now, which has caused some controversy and big rifts in the proof assistant community.
And also:
bsky.app/profile/symb...
RE: https://bsky.app/profile/did:plc:osg2vzhifd2tjfsvfwua7scy/post/3n2ut6fv2ms2b
Lol turns out Trail of Bits seems to have done exactly this: shown that you can exploit the Lean theorem prover to say an invalid proof is valid.
A “proof” of Fermat’s Last The...
TFW your theorem prover has a Use After Free vulnerability.
fix: use after free in String....
Looks like the Lean prover has had multiple CVEs (most being reported recently?).
Example: CVE-2026-72844
CVE: nvd.nist.gov/vuln/detail/...
Here is apparently a Proof of Concept «Proving 0 = 1»: github.com/endrazine/le...
The Lean prover seems to be a C++ project.
github.com/leanprover/l...
People are being weird about theorem provers, like they are somehow different than other programs. Folks, we just did PHP2Shell*, it is 💯 normal for similar programs to have similar code and use many of the same dependencies.
* en.wikipedia.org/wiki/PHP2Shell
Also, the vulnerability examples I mentioned above are all below assembly.
TBF. This is a threat model that Lean community has created solutions for, in the form of independent kernels and checkers. Here I think it applies to kernels using Lean runtime, but not to e.g. nanoda or con-ron. So for your result to last more than hours you'd need an exploit for multiple impls.
It is common, even the norm, that the same vulnerabilities occur in many similar systems because they use the same underlying dependencies.
I don’t know anything about Lean proofs, but given Spectre and Meltdown… and Rowhammer… it seems like these things probably have vulnerabilities too?