I don't think it was needed. Nobody has explained it publicly as far as I can find, so what follows is my own reasoning.
The money came from the first two transactions. The bot's front-run put 64.9 WBTC into the pool, and the attackers' sale took it out. Once those two had run, the bot's back-run could only revert, and it did. Leaving it out would have changed nothing about the theft. It didn't earn the attackers anything either. A reverted transaction still pays gas, so the bot lost a little more, but the fee recipient was the zero address. The priority fee went nowhere useful and the base fee was burned.
Some possible reasons, all guesses:
- It was the simplest code. Take each bundle from the payload the relay revealed, replace the middle transaction, and keep everything else as it was. The attackers had about a second to rebuild and publish the block, so the less custom logic the better.
- It closed the back-run for good. Once it's in a block, that nonce is used up, so the bot can't send the same transaction again in a later block. It would have failed there too, though, so this barely matters.
- It looks closer to "we ran the bots' bundles in the order they asked for". Flashbots bundles are all-or-nothing with protection against reverts, but that is the relay's and builder's promise, not a protocol rule. In a block you build yourself you can include a transaction that reverts. If you wanted to argue that you executed the bots' own transactions as written, including all three looks better than including just one. I don't know if that was the motive. I'm also not saying it played a role in the case.
Practically, the front-run is the only bot transaction they needed. The back-run was optional, and including it cost them nothing.
Sources:
- EigenPhi's breakdown: eigenphi.substack.com/p/how-did-a-malicious-validator-steal
- Flashbots post-mortem: collective.flashbots.net/t/post-mortem-april-3rd-2023-mev-b…
eigenphi.substack.com/p/how-did-a-malicious-validator-stealHow Did A Malicious Validator Steal $20 Million From MEV Bots by Attacking Ethereum MEV Boost RelayOn Ethereum Block 16964664, the top 5 MEV bots on our leaderboard was exploited and lost $20M.