收藏切换
Smart Contract Vulnerability Detection Based on Expert Pattern and Explainable Machine Learning
收藏切换
PDF
Cong TAN, Biao LI, Wenmin LI, Sujuan QIN, Fei GAO
Journal of Beijing University of Posts and Telecommunications | 2025, 48(5) : 55 - 61
Less
收藏切换
Journal of Beijing University of Posts and Telecommunications | 2025, 48(5): 55-61
PAPERS
Smart Contract Vulnerability Detection Based on Expert Pattern and Explainable Machine Learning
Full
Cong TAN, Biao LI, Wenmin LI, Sujuan QIN, Fei GAO
Affiliations
  • School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
doi: 10.13190/j.jbupt.2024-197
Outline
收藏切换

A smart contract is a piece of computer program that runs on the blockchain, which has the characteristics of automatic execution, non-tampering, and publicity. Smart contracts control the flow of large amounts of high-value data, and attackers can exploit vulnerabilities in smart contracts to steal funds or resources. Existing detection methods, such as symbol execution, have problems such as path explosion and high false positive rate, while machine learning methods are black-box and uninterpretable. In order to solve the above problems, an expert mode based on expert mode and explainable machine learning was proposed to detect vulnerabilities in smart contract code, an expert mode for vulnerabilities was designed, and shapley additive explanations (SHAP) was used to explain the weights of multiple features, and the average detection accuracy of four vulnerabilities (re-entrancy vulnerability, timestamp vulnerability, integer overflow vulnerability, and permission control vulnerability) reached 90.36% , which achieved better detection results compared with classic tools such as Oyente and Mythril.

blockchain  /  smart contract  /  vulnerability detection  /  machine learning  /  expert pattern
Cong TAN, Biao LI, Wenmin LI, Sujuan QIN, Fei GAO. Smart Contract Vulnerability Detection Based on Expert Pattern and Explainable Machine Learning[J]. Journal of Beijing University of Posts and Telecommunications, 2025 , 48 (5) : 55 -61 . DOI: 10.13190/j.jbupt.2024-197
Year 2025 volume 48 Issue 5
PDF
130
62
Cite this Article
BibTeX
Article Info
doi: 10.13190/j.jbupt.2024-197
  • Receive Date:2024-10-09
  • Online Date:2026-04-16
Article Data
Affiliations
History
  • Received:2024-10-09
Affiliations
    School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
References
Share
https://castjournals.cast.org.cn/joweb/bjyddxxb/EN/10.13190/j.jbupt.2024-197
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数

Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)

Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT