MEV Wiki
  • Introduction
  • Resource List
  • Terms and Concepts
    • DeFi
    • Automated Market Maker
    • Arbitrage
    • Lending Platforms
    • Slippage
    • Liquidations
    • Priority Gas Auctions
    • Transaction Ordering
  • Attack Examples
    • Front-running
    • Sandwich attack
    • Back-running
    • Liquidations
    • Time bandit attack
    • Uncle bandit attack
  • Attempts to trick the bots
    • Salmonella
    • Kattana
    • Other attempts
  • Solutions
    • Front-running as a Service (FaaS) or MEV Auctions (MEVA)
      • Private Transactions
      • BackRunMe by bloXroute
      • Flashbots
      • mistX by alchemist
      • KeeperDAO
      • EDEN Network (ArcherSwap)
      • Optimism
      • MiningDAO
      • BackBone Cabal
    • MEV Minimization
      • Conveyor (Automata Network)
      • SecretSwap (Secret Network)
      • Fair sequencing service (Chainlink)
      • Arbitrum (Offchain Labs)
      • Vega protocol
      • CowSwap
      • Veedo (StarkWare)
      • LibSubmarine
      • Sikka
      • Shutter Network
    • Other solutions
      • B.Protocol
  • Miscellaneous
  • Contributions
Powered by GitBook
On this page

Was this helpful?

  1. Attack Examples

Time bandit attack

What is a time bandit attack?

Time-bandit attacks are attacks where miners rewrite blockchain history to steal funds allocated by smart contracts in the past. If block rewards are small enough compared to MEV, it can be rational for miners to destabilize consensus.

Imagine there are two miners, Sam and Dan, who are paid a $100 reward for each block they find. Sam has found 3 blocks, the first of which contained a $10,000 arbitrage opportunity.

Now Dan has a choice: he can either mine on top of Sam’s 3 blocks, or he can attempt to re-mine the first block in order to take the Uniswap arbitrage for himself. The $10,000 is much more lucrative than the $100 block reward, and Dan is more rational than honest, so he decides to re-mine the first block. While Dan’s at it, since the current longest chain is height 3, he also re-mines the second and third blocks (and captures any MEV that was in those, too). After the re-organization, Dan owns the longest chain and he and Sam can progress from the third block.

PreviousLiquidationsNextUncle bandit attack

Last updated 3 years ago

Was this helpful?