Manifest format
A manifest is one JSON file that fully determines what a run executes. Nothing outside it can change the repository, the commits, or which test is the exploit.
{ "schemaVersion": "1.0", "caseId": "demo-reentrancy", "repository": { "path": "fixtures/demo-exploit-origin.git", "baselineCommit": "b4eabce746d270b79ecb09427c9fcc3d27411bd0", "patchedCommit": "80953ea77a66e013bef8265dd9f4459b1dd199c0" }, "foundry": { "testPath": "test/Reentrancy.t.sol", "testSelector": "test_ExploitDrainsVault", "controlSelector": "test_LegitimateWithdrawStillWorks", "fuzzSeed": "0x01", "compilerVersion": "0.8.26", "evmVersion": "cancun" }, "expectedExploit": { "effectType": "native-transfer", "asset": "ETH", "minimumDelta": "1000000000000000000" }, "invariant": { "id": "vault-solvency", "description": "Vault ETH balance must never fall below what it owes depositors.", "evaluator": "vault-solvency-evaluator" }, "variants": { "strategy": "amount", "count": 8, "seed": "1" }}- repository the local path and the two commits. The replay is not forked; the path is a repository on disk.
- foundry which test is the exploit (
testSelector), which is the legitimate control (controlSelector), and the frozen compiler, EVM version and fuzz seed. - expectedExploit the effect that counts as the exploit reproducing: a
native transfer of at least
minimumDeltawei, here 1 ETH. - invariant the property the exploit violates, named for the receipt.
- variants how the neighborhood is generated. See Add your own case.