Impacto do Paradigma de Separação Proponente-Construtor em Ataques Sanduíche na Rede Ethereum
Resumo
A Máxima Extração de Valor em Blocos (MEV) surgiu como uma questão de extrema importância, particularmente no ecossistema Ethereum DeFi. As práticas de MEV permitem que os traders maximizem seus lucros ao reordenar, inserir ou bloquear transações dentro de um bloco. Recentemente, a rede Ethereum implementou o Paradigma de Separação Proponente-Construtor (PBS), dividindo a função dos mineradores em nós construtores e validadores. Apesar deste novo design, o fenômeno MEV permanece. Neste artigo, investigamos o ataque sanduíche, uma prática especial de MEV baseada na manipulação de preços por meio de técnicas de front-running na rede Ethereum sob o paradigma PBS. Nossa análise abrangeu mais de 1 milhão de blocos ao longo de 2023, onde identificamos aproximadamente 1,5 milhão de ataques sanduíche, com um lucro médio de US$ 3,2 mil para os atacantes. Nossos resultados mostram que o PBS contribuiu para encorajar as atividades de sanduíche, uma vez que os atacantes geralmente pagam as taxas mais altas aos construtores de blocos, cerca de 60% dos blocos, de acordo com nossas medições. Além disso, identificamos que poucos construtores se beneficiam dos ataques sanduíche. Neste caso, apenas 4 nós construtores receberam mais de 70% das taxas dos atacantes em 2023.
Palavras-chave:
Ataque Sanduíche, Blockchain, Ethereum, MEV, PBS
Referências
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.
Publicado
19/05/2025
Como Citar
CAMPOS, Josué N.; OLIVEIRA, Isdael R.; FONTINELE, Alexandre; GONÇALVES, Glauber D.; VIEIRA, Alex B.; NACIF, José Augusto M..
Impacto do Paradigma de Separação Proponente-Construtor em Ataques Sanduíche na Rede Ethereum. In: SIMPÓSIO BRASILEIRO DE REDES DE COMPUTADORES E SISTEMAS DISTRIBUÍDOS (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.