EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

LookAhead: Preventing DeFi Attacks via Unveiling Adversarial Contracts

Shoupeng Ren, Lipeng He, Tianyu Tu, Di Wu, Jian Liu, Kui Ren, Chun Chen

Proceedings of the ACM on Software Engineering · 19.06.2025 · 2 (FSE) · 1847-1869

DOI: 10.1145/3729353 ↗

Kurz gefasst

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

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The exploitation of smart contract vulnerabilities in Decentralized Finance (DeFi) has resulted in financial losses exceeding 3 billion US dollars. Existing defense mechanisms primarily focus on detecting and reacting to adversarial transactions executed by attackers that target victim contracts. However, with the emergence of private transaction pools where transactions are sent directly to miners without first appearing in public mempools, current detection tools face significant challenges in identifying attack activities effectively. Based on the fact that most attack logic rely on deploying intermediate contracts as supporting components to the exploitation of victim contracts, novel detection methods have been proposed that focus on identifying these adversarial contracts instead of adversarial transactions. However, previous state-of-the-art approaches in this direction have failed to produce results satisfactory enough for real-world deployment. In this paper, we propose L ook A head , a new framework for detecting DeFi attacks via unveiling adversarial contracts. L ook A head leverages common attack patterns, code semantics and intrinsic characteristics found in adversarial contracts to train Machine Learning (ML)-based classifiers that can effectively distinguish adversarial contracts from benign ones and make timely predictions of different types of potential attacks. Experiments on our labeled datasets show that L ook A head achieves an F1-score of 0.8966, which represents an improvement of over 44.4% compared to the previous state-of-the-art solution, with a False Positive Rate at only 0.16%.

Zitieren

APA

Ren, S., He, L., Tu, T., Wu, D., Liu, J., Ren, K., & Chen, C. (2025). LookAhead: Preventing DeFi Attacks via Unveiling Adversarial Contracts. Proceedings of the ACM on Software Engineering, 2(FSE), 1847-1869. https://doi.org/10.1145/3729353

Vancouver

Ren S, He L, Tu T, Wu D, Liu J, Ren K, et al. LookAhead: Preventing DeFi Attacks via Unveiling Adversarial Contracts. Proceedings of the ACM on Software Engineering. 2025;2(FSE):1847-1869. doi:10.1145/3729353

BibTeX
@article{Ren2025,
  author = {Ren, Shoupeng and He, Lipeng and Tu, Tianyu and Wu, Di and Liu, Jian and Ren, Kui and Chen, Chun},
  title = {LookAhead: Preventing DeFi Attacks via Unveiling Adversarial Contracts},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2025},
  volume = {2},
  number = {FSE},
  pages = {1847--1869},
  doi = {10.1145/3729353}
}
Kostenlos starten →