Skip to content

Add your own case

A case is a manifest plus, for a full verdict, a variant overlay.

exploitlens init scaffolds one. It names the repository, the two commits, the exploit test, the legitimate-control test, and the frozen inputs. See Manifest format for every field.

Terminal window
pnpm exploitlens init
# fill in the placeholders, then:
pnpm exploitlens run exploitlens.manifest.json

The variant overlay, and the inconclusive edge

Section titled “The variant overlay, and the inconclusive edge”

The neighborhood gate runs a family of variants of the exploit. Those variants come from a small hand-written Solidity overlay, registered per case. A case without an overlay runs the first three gates fine, but the neighborhood gate reports inconclusive, which rolls the whole verdict up to inconclusive.