test(proof): regression test for range proof mismatched commit#2567
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
✅ Heimdall Review Status
|
|
This is a port of succinctlabs/op-succinct#899 |
eea1f70 to
06bd6e0
Compare
Approved review 4252328856 from jackchuma is now dismissed due to new commit. Re-request for approval.
|
The core issue was fixed by #2581. This main value add of this PR now is just the regression test |
fda8881 to
00e2664
Compare
Closes GHSA-5jh4-3p33-85xc. advance_to_target silently downgrades the local target on EndOfSource, allowing an adversary to bind a valid output root to a future block number. Add a postcondition in WitnessExecutor::run() that rejects execution when the derived safe head block number differs from the claimed L2 block number. Includes a gated exploit-regression integration test (RUN_GHSA_EXPLOIT_REGRESSION=1) reproducing the attack shape.
00e2664 to
9d06f18
Compare
Review SummaryThe PR extracts the inline block-number mismatch check into No new issues found. The existing inline comments from a prior review run appear to be stale — the current revision has already addressed the One minor observation (not worth blocking): |
Core issue was fixed by #2581
This PR now adds a regression test for GHSA-5jh4-3p33-85xc