AMM Front-Running

Arbitrage

AMM front-running is a form of arbitrage where a malicious actor profits from the predictable price impact of a pending transaction on a decentralized exchange. The front-runner observes a large swap order in the mempool, calculates the resulting price change, and inserts a transaction with a higher gas fee to execute first. This allows them to buy the asset at the current price before the large order pushes it up, or sell before the price drops. The core principle relies on exploiting the time delay between transaction broadcast and block inclusion.