MEV Sandwich Attack
Searcher front-runs and back-runs a victim swap for extracted MEV.
Rendering…
Make it your own.
sequenceDiagram
participant V as Victim
participant Mp as Mempool
participant S as Searcher
participant B as Block builder
participant P as Pool
V->>Mp: swap (large) — slippage 1%
S->>Mp: observes pending tx
S->>B: bundle: (1) front-run buy, (2) victim tx, (3) back-run sell
B->>P: front-run buy executes — price moves up
B->>P: victim tx executes at worse price
B->>P: back-run sell — captures spread
Note over S,P: Profit = (sell − buy) − gas − bribe