EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Smart Contract Security in Decentralized Finance: Enhancing Vulnerability Detection with Reinforcement Learning

Jose Juan de Leon, Cenchuan Zhang, Christos-Spyridon Koulouris, Francesca Medda, Rahul

Applied Sciences · 24.05.2025 · 15 (11) · 5924

DOI: 10.3390/app15115924 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 24.05.2025. Verfasst von Jose Juan de Leon und 4 weiteren Autor:innen. Die Arbeit wurde bisher 13-mal zitiert (Crossref) und nennt 40 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The growing interest in decentralized finance (DeFi), driven by advancements in blockchain technologies such as Ethereum, highlights the crucial role of smart contracts. However, the inherent openness of blockchains creates an extensive attack surface, exposing participants’ funds to undetected security flaws. In this work we investigated the use of deep reinforcement learning techniques, specifically Deep Q-Network (DQN) and Proximal Policy Optimization (PPO), for detecting and classifying vulnerabilities in smart contracts. This approach utilizes control flow graphs (CFGs) generated through EtherSolve to capture the semantic features of contract bytecode, enabling the reinforcement learning models to recognize patterns and make more accurate predictions. Experimental results from extensive public datasets of smart contracts revealed that the PPO model performs better than DQN and demonstrates effectiveness in identifying unchecked-call vulnerability. The PPO model exhibits more stable and consistent learning patterns and achieves higher overall rewards. This research introduces a machine learning method for enhancing smart contract security, reducing financial risks for users, and contributing to future developments in reinforcement learning applications.

Zitieren

APA

Leon, J. J. D., Zhang, C., Koulouris, C., Medda, F., & Rahul (2025). Smart Contract Security in Decentralized Finance: Enhancing Vulnerability Detection with Reinforcement Learning. Applied Sciences, 15(11), 5924. https://doi.org/10.3390/app15115924

Vancouver

Leon JJD, Zhang C, Koulouris C, Medda F, Rahul. Smart Contract Security in Decentralized Finance: Enhancing Vulnerability Detection with Reinforcement Learning. Applied Sciences. 2025;15(11):5924. doi:10.3390/app15115924

BibTeX
@article{Leon2025,
  author = {Leon, Jose Juan de and Zhang, Cenchuan and Koulouris, Christos-Spyridon and Medda, Francesca and Rahul},
  title = {Smart Contract Security in Decentralized Finance: Enhancing Vulnerability Detection with Reinforcement Learning},
  journal = {Applied Sciences},
  year = {2025},
  volume = {15},
  number = {11},
  pages = {5924},
  doi = {10.3390/app15115924}
}
Kostenlos starten →