Impact of Proposer-Builder Separation Paradigm on Sandwich Attacks in Ethereum Blockchain
Abstract
Maximal Extractable Value (MEV) has emerged as a important practice in Ethereum DeFi ecosystem. MEV practices allow traders to maximize their profits by reordering, inserting, or blocking transactions within a block. Recently, the Ethereum implemented the Proposer-Builder Separation (PBS) paradigm, splitting the role of miners into builder and validator nodes. Despite this new design, the MEV phenomenon persists. In this paper, we investigate the sandwich attack, a special MEV practice based on price manipulation through front-running techniques, in Ethereum Blockchain under the PBS paradigm. Our analysis covered over 1 million blocks throughout 2023, where we identified approximately 1.5 million sandwich attacks, with an average profit of $3.2K for the attackers. Our results show that PBS has contributed to encouraging sandwiching activities, as attackers typically pay the highest fees to block builders, around 60% of blocks according to our measurements. Furthermore, we found that few builders benefit from sandwich attacks. In this case, only 4 builder nodes received more than 70% of the attackers’ fees in 2023.
Keywords:
Sandwich Attack, Blockchain, Ethereum, MEV, PBS
References
Alchemy. (2025). Alchemy documentation: Web3 development made easy. Website. Accessed: 2025-01-06.
Buterin, V., et al. (2013). Ethereum white paper. GitHub repository, 1:22–23.
Campos, J. N., Mendonça, R. D., Fontinele, A., de Carvalho, L. H. S., Oliveira, I. R., Cardoso, I. W. F., Coelho, R., Freitas, A. E. S., Gonçalves, G. D., Nacif, J. A. M., & Vieira, A. B. (2024). Finanças descentralizadas em redes blockchain: Perspectivas sobre pesquisa e inovação em aplicações, interoperabilidade e segurança. In Jornada de Atualização em Informática 2024, volume 44 of Congresso da Sociedade Brasileira de Computação, pages 7–56. SBC, Porto Alegre, 43rd edition.
Chi, T., He, N., Hu, X., & Wang, H. (2024). Remeasuring the arbitrage and sandwich attacks of maximal extractable value in ethereum. arXiv preprint arXiv:2405.17944.
Daian, P., Goldfeder, S., Kell, T., Li, Y., Zhao, X., Bentov, I., Breidenbach, L., & Juels, A. (2019). Flash boys 2.0: Frontrunning, transaction reordering, and consensus instability in decentralized exchanges.
DeFiLlama. (2024). Defillama: The leading decentralized finance (DeFi) analytics platform. Website. Accessed: 2024-12-27.
Ferreira Torres, C., Mamuti, A., Weintraub, B., Nita-Rotaru, C., & Shinde, S. (2024). Rolling in the shadows: Analyzing the extraction of MEV across layer-2 rollups. In Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security, pages 2591–2605.
Fontinele, A., Campos, J., Oliveira, I., Gonçalves, G., Nacif, J., Vieira, A., & Soares, A. (2024). Análise de ataques sanduíche sob as transações da blockchain Ethereum. In Anais do XLII Simpósio Brasileiro de Redes de Computadores e Sistemas Distribuídos, pages 728–741, Porto Alegre, RS, Brasil. SBC.
Heimbach, L., Kiffer, L., Ferreira Torres, C., & Wattenhofer, R. (2023). Ethereum’s proposer-builder separation: Promises and realities. In Proceedings of the 2023 ACM on Internet Measurement Conference, pages 406–420.
Heimbach, L., & Wattenhofer, R. (2022). Eliminating sandwich attacks with the help of game theory. In Proceedings of the 2022 ACM on Asia Conference on Computer and Communications Security, ASIA CCS ’22. ACM.
Li, Z., Li, J., He, Z., Luo, X., Wang, T., Ni, X., Yang, W., Chen, X., & Chen, T. (2023). Demystifying DeFi MEV activities in Flashbots bundle. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security, pages 165–179.
Lyu, X., Zhang, M., Zhang, X., Niu, J., Zhang, Y., & Lin, Z. (2022). An empirical study on Ethereum private transactions and the security implications. arXiv preprint arXiv:2208.02858.
Qin, K., Zhou, L., & Gervais, A. (2021). Quantifying blockchain extractable value: How dark is the forest? CoRR, abs/2101.05511.
QuickNode. (2025). Quicknode documentation: Blockchain infrastructure for developers. Website. Accessed: 2024-12-27.
Torres, C. F., Camino, R., & State, R. (2021). Frontrunner Jones and the raiders of the dark forest: An empirical study of frontrunning on the Ethereum blockchain. In 30th USENIX Security Symposium (USENIX Security 21), pages 1343–1359. USENIX Association.
Varun, M., Palanisamy, B., & Sural, S. (2022). Mitigating frontrunning attacks in Ethereum. In Proceedings of the Fourth ACM International Symposium on Blockchain and Secure Critical Infrastructure, BSCI ’22, pages 115–124, New York, NY, USA. Association for Computing Machinery.
Weintraub, B., Torres, C. F., Nita-Rotaru, C., & State, R. (2022). A flash(bot) in the pan: Measuring maximal extractable value in private pools. In Proceedings of the 22nd ACM Internet Measurement Conference, IMC ’22, pages 458–471, New York, NY, USA. Association for Computing Machinery.
Wood, G. (2014). Ethereum: A secure decentralised generalised transaction ledger EIP150 revision.
Yang, S., Zhang, F., Huang, K., Chen, X., Yang, Y., & Zhu, F. (2022). SOK: MEV countermeasures: Theory and practice. arXiv preprint arXiv:2212.05111.
Zhou, L., Qin, K., Torres, C. F., Le, D. V., & Gervais, A. (2021). High-frequency trading on decentralized on-chain exchanges. In 2021 IEEE Symposium on Security and Privacy (SP), pages 428–445. IEEE.
Buterin, V., et al. (2013). Ethereum white paper. GitHub repository, 1:22–23.
Campos, J. N., Mendonça, R. D., Fontinele, A., de Carvalho, L. H. S., Oliveira, I. R., Cardoso, I. W. F., Coelho, R., Freitas, A. E. S., Gonçalves, G. D., Nacif, J. A. M., & Vieira, A. B. (2024). Finanças descentralizadas em redes blockchain: Perspectivas sobre pesquisa e inovação em aplicações, interoperabilidade e segurança. In Jornada de Atualização em Informática 2024, volume 44 of Congresso da Sociedade Brasileira de Computação, pages 7–56. SBC, Porto Alegre, 43rd edition.
Chi, T., He, N., Hu, X., & Wang, H. (2024). Remeasuring the arbitrage and sandwich attacks of maximal extractable value in ethereum. arXiv preprint arXiv:2405.17944.
Daian, P., Goldfeder, S., Kell, T., Li, Y., Zhao, X., Bentov, I., Breidenbach, L., & Juels, A. (2019). Flash boys 2.0: Frontrunning, transaction reordering, and consensus instability in decentralized exchanges.
DeFiLlama. (2024). Defillama: The leading decentralized finance (DeFi) analytics platform. Website. Accessed: 2024-12-27.
Ferreira Torres, C., Mamuti, A., Weintraub, B., Nita-Rotaru, C., & Shinde, S. (2024). Rolling in the shadows: Analyzing the extraction of MEV across layer-2 rollups. In Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security, pages 2591–2605.
Fontinele, A., Campos, J., Oliveira, I., Gonçalves, G., Nacif, J., Vieira, A., & Soares, A. (2024). Análise de ataques sanduíche sob as transações da blockchain Ethereum. In Anais do XLII Simpósio Brasileiro de Redes de Computadores e Sistemas Distribuídos, pages 728–741, Porto Alegre, RS, Brasil. SBC.
Heimbach, L., Kiffer, L., Ferreira Torres, C., & Wattenhofer, R. (2023). Ethereum’s proposer-builder separation: Promises and realities. In Proceedings of the 2023 ACM on Internet Measurement Conference, pages 406–420.
Heimbach, L., & Wattenhofer, R. (2022). Eliminating sandwich attacks with the help of game theory. In Proceedings of the 2022 ACM on Asia Conference on Computer and Communications Security, ASIA CCS ’22. ACM.
Li, Z., Li, J., He, Z., Luo, X., Wang, T., Ni, X., Yang, W., Chen, X., & Chen, T. (2023). Demystifying DeFi MEV activities in Flashbots bundle. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security, pages 165–179.
Lyu, X., Zhang, M., Zhang, X., Niu, J., Zhang, Y., & Lin, Z. (2022). An empirical study on Ethereum private transactions and the security implications. arXiv preprint arXiv:2208.02858.
Qin, K., Zhou, L., & Gervais, A. (2021). Quantifying blockchain extractable value: How dark is the forest? CoRR, abs/2101.05511.
QuickNode. (2025). Quicknode documentation: Blockchain infrastructure for developers. Website. Accessed: 2024-12-27.
Torres, C. F., Camino, R., & State, R. (2021). Frontrunner Jones and the raiders of the dark forest: An empirical study of frontrunning on the Ethereum blockchain. In 30th USENIX Security Symposium (USENIX Security 21), pages 1343–1359. USENIX Association.
Varun, M., Palanisamy, B., & Sural, S. (2022). Mitigating frontrunning attacks in Ethereum. In Proceedings of the Fourth ACM International Symposium on Blockchain and Secure Critical Infrastructure, BSCI ’22, pages 115–124, New York, NY, USA. Association for Computing Machinery.
Weintraub, B., Torres, C. F., Nita-Rotaru, C., & State, R. (2022). A flash(bot) in the pan: Measuring maximal extractable value in private pools. In Proceedings of the 22nd ACM Internet Measurement Conference, IMC ’22, pages 458–471, New York, NY, USA. Association for Computing Machinery.
Wood, G. (2014). Ethereum: A secure decentralised generalised transaction ledger EIP150 revision.
Yang, S., Zhang, F., Huang, K., Chen, X., Yang, Y., & Zhu, F. (2022). SOK: MEV countermeasures: Theory and practice. arXiv preprint arXiv:2212.05111.
Zhou, L., Qin, K., Torres, C. F., Le, D. V., & Gervais, A. (2021). High-frequency trading on decentralized on-chain exchanges. In 2021 IEEE Symposium on Security and Privacy (SP), pages 428–445. IEEE.
Published
2025-05-19
How to Cite
CAMPOS, Josué N.; OLIVEIRA, Isdael R.; FONTINELE, Alexandre; GONÇALVES, Glauber D.; VIEIRA, Alex B.; NACIF, José Augusto M..
Impact of Proposer-Builder Separation Paradigm on Sandwich Attacks in Ethereum Blockchain. In: BRAZILIAN SYMPOSIUM ON COMPUTER NETWORKS AND DISTRIBUTED SYSTEMS (SBRC), 43. , 2025, Natal/RN.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2025
.
p. 756-769.
ISSN 2177-9384.
DOI: https://doi.org/10.5753/sbrc.2025.6357.
