EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine

Jie Ma, Ningyu He, Jinwen Xi, Mingzhe Xing, Haoyu Wang, Ying Gao, Yinliang Yue

Proceedings of the ACM on Software Engineering · 22.06.2025 · 2 (ISSTA) · 1559-1582

DOI: 10.1145/3728946 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 22.06.2025. Verfasst von Jie Ma und 6 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref) und nennt 68 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

As Ethereum continues to thrive, the Ethereum Virtual Machine (EVM) has become the cornerstone powering tens of millions of active smart contracts. Intuitively, security issues in EVMs could lead to inconsistent behaviors among smart contracts or even denial-of-service of the entire blockchain network. However, to the best of our knowledge, only a limited number of studies focus on the security of EVMs. Moreover, they suffer from 1) insufficient test input diversity and invalid semantics; and 2) the inability to automatically identify bugs and locate root causes. To bridge this gap, we propose O p D iffer , a differential testing framework for EVM, which takes advantage of LLMs and static analysis methods to address the above two limitations. We conducted the largest-scale evaluation, covering nine EVMs and uncovering 26 previously unknown bugs, 22 of which have been confirmed by developers and three have been assigned CNVD IDs. Compared to state-of-the-art baselines, O p D iffer can improve code coverage by at most 71.06%, 148.40% and 655.56%, respectively. Through an analysis of real-world deployed Ethereum contracts, we estimate that 7.21% of the contracts could trigger our identified EVM bugs under certain environmental settings, potentially resulting in severe negative impact on the Ethereum ecosystem.

Zitieren

APA

Ma, J., He, N., Xi, J., Xing, M., Wang, H., Gao, Y., & Yue, Y. (2025). OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine. Proceedings of the ACM on Software Engineering, 2(ISSTA), 1559-1582. https://doi.org/10.1145/3728946

Vancouver

Ma J, He N, Xi J, Xing M, Wang H, Gao Y, et al. OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine. Proceedings of the ACM on Software Engineering. 2025;2(ISSTA):1559-1582. doi:10.1145/3728946

BibTeX
@article{Ma2025,
  author = {Ma, Jie and He, Ningyu and Xi, Jinwen and Xing, Mingzhe and Wang, Haoyu and Gao, Ying and Yue, Yinliang},
  title = {OpDiffer: LLM-Assisted Opcode-Level Differential Testing of Ethereum Virtual Machine},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2025},
  volume = {2},
  number = {ISSTA},
  pages = {1559--1582},
  doi = {10.1145/3728946}
}
Kostenlos starten →