2025/05/08 by Punam Bedi, Vinita Jindal, Ningyao Ningshen +1 · 1 voice
Computer Science · #Advanced Malware Detection Techniques #Blockchain Technology Applications and Security #Cybercrime and Law Enforcement Studies
paper · doi:10.1016/j.bcra.2025.100304
openalex publication_date 2025/05/08 · openalex created_date 2025/10/10 · openalex updated_date 2026/06/14
Smart contracts represent a predefined set of rules invoked when specific conditions are met within blockchain networks, eliminating the need for centralized authority to validate transactions. The absence of central authority can potentially expose smart contracts to fraudulent behavior. Moreover, implementation flaws in smart contracts can be exploited to cause unintended behavior, resulting in security or financial risks. Traditionally, the identification of vulnerabilities in smart contracts has relied on methods such as pattern matching, data flow analysis, and input testing. While these techniques are foundational, they are constrained by human limitations and may not comprehensively address the full spectrum of potential issues. This necessitates more advanced approaches to ensure robust security and reliability. Therefore, in the literature, numerous researchers have leveraged different Machine Learning (ML) and Deep Learning (DL) techniques to classify normal and malicious smart contracts. However, existing literature either grapples with class imbalance issues or relies on conventional methods. Moreover, existing research often falls short of locating the exact location of malicious code within the smart contracts. Therefore, to address these gaps, this paper proposes a novel model called the Dual-Branch Encoder Siamese Network (DBESN) for detecting malicious smart contracts. Furthermore, this model is extended to precisely identify the region of the vulnerable code fragment within the smart contract using the Local Interpretable Model-Agnostic Explanations (LIME) algorithm. Experimental results demonstrated a performance Accuracy of 98.62% and 99.30% F1-Score with an inference time of 0.296 seconds. Given the high performance coupled with the low inference time of the proposed DBESN model, it is suitable for deployment within blockchain networks to detect and identify malicious smart contracts effectively and efficiently.