CLI
The full CLI runs from a clone of the repository (it needs Foundry and the case repository present). The checker is also published standalone on npm.
exploitlens init
Section titled “exploitlens init”Scaffolds a case manifest with placeholders.
pnpm exploitlens init --out exploitlens.manifest.jsonexploitlens run
Section titled “exploitlens run”Replays the case against both commits and writes a bundle. It prints the repository it is about to execute before running anything.
pnpm exploitlens run <manifest> [--root <dir>] [--out <dir>] [--run-id <id>] [--no-variants]It exits on one question only: did the bundle it wrote verify against itself.
Whether the patch holds is a separate question, answered by report.
exploitlens report
Section titled “exploitlens report”Reads a written bundle and applies a merge policy, for CI.
pnpm exploitlens report <bundle-dir> [--require no-regression|verified]--require no-regression(default) fails onregressionandinvalid.--require verifiedfails on anything short of all four gates passing.
A bundle that fails its own verification fails at every level, because a bundle whose hashes do not hold is not evidence of anything.
@exploitlens/verify
Section titled “@exploitlens/verify”The standalone checker, published on npm, needs no clone and no Foundry.
npx @exploitlens/verify <bundle-dir>See Verifying a receipt.