MEV
Solidity Attack Vector #3: Front Running
SecurityInfinity Research•7 min read
Solidity Attack Vector #3: Front Running
Front running happens when an observer sees a transaction in the mempool and submits their own transaction with a higher gas fee to execute first.
Defense
Use Commit-Reveal or Batching to prevent attackers from profiting from the sequence of transactions.