Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain

Christof Ferreira Torres, Ramiro Camino, Radu State
2/5/2021
cs.CR

Official code: christoftorres/Frontrunner-Jones (34 stars, Jupyter Notebook, last commit 2022-05-13).

Abstract

Ethereum prospered the inception of a plethora of smart contract applications, ranging from gambling games to decentralized finance. However, Ethereum is also considered a highly adversarial environment, where vulnerable smart contracts will eventually be exploited.

Show full abstract

Recently, Ethereum's pool of pending transaction has become a far more aggressive environment. In the hope of making some profit, attackers continuously monitor the transaction pool and try to frontrun their victims' transactions by either displacing or suppressing them, or strategically inserting their transactions. This paper aims to shed some light into what is known as a dark forest and uncover these predators' actions. We present a methodology to efficiently measure the three types of frontrunning: displacement, insertion, and suppression. We perform a large-scale analysis on more than 11M blocks and identify almost 200K attacks with an accumulated profit of 18.41M USD for the attackers, providing evidence that frontrunning is both, lucrative and a prevalent issue.

View on arXivView PDF

Code Implementations(1)

A collection of tools to measure and analyze frontrunning on Ethereum (USENIX 2021).

3414Jupyter Notebook, PythonMay 31, 20214 years ago

Similar Papers

Cite this paper

@article{torres2021frontrunner,
  title  = {Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain},
  author = {Christof Ferreira Torres and Ramiro Camino and Radu State},
  year   = {2021},
  eprint = {2102.03347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.03347}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.03347.svg)](https://codeofpaper.com/paper/2102.03347)

Discussion