An elegant intellectual engine towards automation of blockchain smart contract vulnerability detection.

Journal: Scientific reports
Published Date:

Abstract

To prevent vulnerabilities and ensure app security, smart contract vulnerability detection identifies flaws in blockchain code. To overcome the limitations of traditional detection methods, this study introduces a novel approach that combines Explainable Artificial Intelligence (XAI) with Deep Learning (DL) to detect vulnerabilities in smart contracts. The proposed intellectual engine operates in multiple stages. First, a smart contract is created, and the user provides a value during the runtime phase. XAI and DL then analyze the opcodes in high-value contracts to detect potentially risky processes. If violations such as security protocol failures, insufficient funds, or account restrictions are found, the engine halts the transaction and generates an error report. If the contract passes this vulnerability assessment, it continues executing without interruption. This ensures flagged transactions remain functional while being assessed. Our proposed Hybrid Boot Branch and Bound Long Short-Term Memory (HBLSTM) approach achieves outstanding performance, with an accuracy of 99.68%, precision of 99.43%, recall of 99.54%, and an F1-score of 99.40%, which surpasses the performance of existing methods.

Authors

  • Balachandar Raju
    Department of Computer Science and Engineering, Pollachi Institute of Engineering and Technology, Pollachi, India. balachandarraju.j@gmail.com.
  • Gayathri Devi K
    Department of Electronics and Communication Engineering, Dr. N.G.P Institute of Technology, Coimbatore, India.

Keywords

No keywords available for this article.