What Is the Difference between an Arbitrage Bot and a Front-Running Bot?

An arbitrage bot exploits legitimate price discrepancies between different markets or liquidity pools to profit, which helps to maintain market efficiency. A front-running bot exploits knowledge of a pending transaction to place an order ahead of it, causing the original user to execute at a worse price for the attacker's gain.

The key difference is the intent: arbitrage corrects market inefficiency, while front-running exploits an individual user's transaction for predatory profit.

What Is a “Sandwich Attack” and How Does It Relate to Arbitrage in AMM Pools?
How Does the “Front-Running” Issue Manifest Differently in AMMs versus CLOBs?
How Does Front-Running in DeFi Compare to ‘Insider Trading’ in Traditional Finance?
Is All MEV Considered Harmful or Exploitative?
Can MEV Extraction Be Considered a Form of Legitimate Arbitrage in Some Contexts?
How Does Maximal Extractable Value (MEV) Relate to Front-Running in DeFi?
How Does Front-Running Occur in the Context of Smart Contracts?
How Does Front-Running Relate to Information Leakage in Public Crypto Markets?

Glossar