Skip to content

Whitepaper

When a smart contract is exploited and patched, someone has to answer a question with real money riding on it: does the fix actually close the exploit, and does it leave legitimate use intact?

Today that answer is a judgement. An auditor re-runs a proof-of-concept against the before and after commits, reads the traces, and signs off. The work is real, but what travels to the client, the DAO, or the next reviewer is a sentence of trust. Nobody downstream can re-derive it. If the reproduction was subtly wrong, or the environment was not actually frozen, or the patch broke a legitimate path, none of that is visible in “the fix looks good to me”.

ExploitLens replaces the sentence with an artifact. For one case it produces a Fix Receipt: a bundle that states a scoped claim and carries the evidence for it, such that a third party can re-derive the whole verdict offline and have it fail loudly if a single byte was altered.

The claim is deliberately narrow. It is not “this contract is safe”. It is “this exploit reproduced on the vulnerable commit, did not reproduce under the same frozen replay on the patched commit, and the legitimate control still succeeded”, with every one of those words backed by a re-runnable check.

Three properties make the proof worth trusting.

Determinism. The same case on the same toolchain produces a byte-identical bundle. No wall-clock timing enters the evidence. The toolchain is part of the inputs and is covered by the digest, so “the same replay” is a checkable fact, not a hope. See Determinism.

Self-verification. Nothing in the bundle is trusted because another file asserts it. Hashes are re-computed, the digest is re-derived, and the gate engine is re-run over the bundle’s own evidence. A receipt that claims a verdict its evidence does not support fails verification. The checker that does this is a single file that provably cannot execute anything. See Verifying a receipt.

Isolation of purchased intelligence. ExploitLens buys external context about real incidents from a Telegraph miner, autonomously and with a real payment. But that intelligence is recorded as evidence beside the proof and is structurally prevented from reaching the verdict. A paid answer can be confidently wrong; the proof must not inherit that. See Purchased intelligence.

For an auditor, the sign-off becomes an artifact the client can check. For a protocol, the check runs in CI on every pull request, so a change that reintroduces the bug goes red on its own. For an agent, “the patch works” stops being an assertion and becomes a receipt it can fetch and verify.

The honest edges are listed in What ships, what does not.