Papers1 provider Ā· 1 record
December 19, 2025Ā· Proceedings of the 2025 6th International Conference on Big Data Economy and Information Management
conference-paper
Open access

Risk prediction of financial smart contracts based on machine learning algorithms

Authors:Li J *

Abstract

The in-depth application of blockchain technology in the financial sector has made smart contracts the core execution carrier for various decentralized financial businesses. Their security performance is directly related to the safety of financial assets and the stable development of the blockchain financial ecosystem. The immutability of smart contract code makes it difficult to fix vulnerabilities once they occur, which can easily lead to serious risks such as the theft of financial assets and transaction defaults. Moreover, the severity of different vulnerabilities varies significantly. Therefore, accurately defining the risk level of vulnerabilities and predicting the risk level in advance have become the core requirements for the security protection of blockchain applications in the financial field. This paper first explores the distribution patterns and correlation characteristics of the vulnerability features of smart contracts through correlation analysis and violin graph analysis. Then, multiple mainstream machine learning algorithms are introduced to conduct comparative experiments. The results show that the Transformer-LSTM-KELM algorithm proposed in this paper has the best comprehensive performance, with an accuracy rate of 71%. It is 5 percentage points higher than the suboptimal CatBoost and 25 percentage points higher than AdaBoost. With an precision rate of 77%, it is significantly better than all comparison algorithms. Its F1 value of 70% and recall rate of 71% are both at the leading level. This algorithm provides an efficient solution for the precise prevention and control of vulnerability risks in smart contracts in financial scenarios, and has significant practical value in ensuring the safe and compliant operation of blockchain financial business.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.