Reproduced Exploit
H-4: Finalize-window auto-vote change manipulates past epoch
Post-epoch auto-vote + live balance counted at finalize; WETH allocation manipulated
Chain
Other
Category
untagged
Date
Sep 2025
Source
AuditVault
EVM Playground
Source-level debugger — step opcodes and Solidity in sync
The attack is replayed in an in-browser EVM preloaded with the exact dumped fork state. The execution tree shows every call; step by Solidity line or by opcode across all depths — source, Stack, Memory, Storage, Balances (native / ERC-20 / NFT), Transient storage and Return value stay in sync. Click a tree node, opcode, or source line to jump. No backend, no live RPC.
Source & credit. Reproduction of a public audit finding curated by AuditVault — the original finding: 62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters. Standalone Foundry PoC and full write-up: 62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters_exp in the
evm-hack-registrymirror.
| Field | Value |
|---|---|
| Protocol | BMX Deli Swap |
| Severity | high |
| Source | AuditVault / https://github.com/sherlock-audit/2025-09-bmx-deli-swap-judging |
| Harm | Post-epoch auto-vote + live balance counted at finalize; WETH allocation manipulated |
TL;DR#
Post-epoch auto-vote + live balance counted at finalize; WETH allocation manipulated
Vulnerable code#
See the synthetic reproduction in test/62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters.sol — the blamed line is marked // @> VULN.
Root cause#
Faithful reduction of the AuditVault finding. The vulnerable line is preserved so the Playground locator points at the real bug, not scaffolding.
Attack walkthrough#
- Deploy the reduced protocol pieces via the
Exploitconstructor. run()performs the attack end-to-end andrequires the harm.
Diagrams#
Impact#
Post-epoch auto-vote + live balance counted at finalize; WETH allocation manipulated
Taxonomy#
- severity/high
- sector/governance
- platform/auditvault
Sources#
- AuditVault finding: https://github.com/Auditware/AuditVault/blob/main/findings/62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters.md
- Original report: https://github.com/sherlock-audit/2025-09-bmx-deli-swap-judging
- Reduced from: sherlock-audit/2025-09-bmx-deli-swap (Voter._tallyAutoVotes)
Sources & further analysis#
Reproductions & code
- Standalone PoC + full trace: 62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters_exp (evm-hack-registry mirror).
- AuditVault finding: 62811-h-4-finalize-window-vote-changing-vulnerability-auto-voters.
Alerts & third-party analyses
These dashboards index community alerts tweets, post-mortems, and independent write-ups. Reach them through the protocol name above to cross-check this reproduction against other analyses.