{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,2]],"date-time":"2026-05-02T07:13:23Z","timestamp":1777706003997,"version":"3.51.4"},"reference-count":30,"publisher":"SAGE Publications","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IFS"],"published-print":{"date-parts":[[2023,7,2]]},"abstract":"<jats:p>The smart contract, a self-executing program on the blockchain, is key to programmable finance. However, the rise of smart contract use has also led to an increase in vulnerabilities that attract illegal activity from hackers. Traditional manual approaches for vulnerability detection, relying on domain experts, have limitations such as low automation and weak generalization. In this paper, we propose a deep learning approach that leverages domain-specific features and an attention mechanism to accurately detect vulnerabilities in smart contracts. Our approach reduces the reliance on manual input and enhances generalization by continuously learning code patterns of vulnerabilities, specifically detecting various types of vulnerabilities such as reentrancy, integer overflow, forced Ether injection, unchecked return value, denial of service, access control, short address attack, tx.origin, call stack overflow, timestamp dependency, random number dependency, and transaction order dependency vulnerabilities. In order to extract semantic information, we present a semantic distillation approach for detecting smart contract vulnerabilities. This approach involves using a syntax parser, Slither, to segment the code into smaller slices and word embedding to create a matrix for model training and prediction. Our experiments indicate that the BILSTM model is the best deep learning model for smart contract vulnerability detection task. We looked at how domain features and self-attentiveness mechanisms affected the ability to identify 12 different kinds of smart contract vulnerabilities. Our results show that by including domain features, we significantly increased the F1 values for 8 different types of vulnerabilities, with improvements ranging from 7.35% to 48.58%. The methods suggested in this study demonstrate a significant improvement in F1 scores ranging from 4.18% to 38.70% when compared to conventional detection tools like Oyente, Mythril, Osiris, Slither, Smartcheck, and Securify. This study provides developers with a more effective method of detecting smart contract vulnerabilities, assisting in the prevention of potential financial losses. This research provides developers with a more effective means of detecting smart contract vulnerabilities, thereby helping to prevent potential financial losses.<\/jats:p>","DOI":"10.3233\/jifs-224489","type":"journal-article","created":{"date-parts":[[2023,5,9]],"date-time":"2023-05-09T18:38:42Z","timestamp":1683657522000},"page":"1513-1525","source":"Crossref","is-referenced-by-count":1,"title":["Research on smart contract vulnerability detection method based on domain features of solidity contracts and attention mechanism"],"prefix":"10.1177","volume":"45","author":[{"given":"Changjing","family":"Wang","sequence":"first","affiliation":[{"name":"School of Computer Information Engineering, Jiangxi Normal University, China"},{"name":"Management Science and Engineering Research Center, Jiangxi Normal University, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Huiwen","family":"Jiang","sequence":"additional","affiliation":[{"name":"School of Computer Information Engineering, Jiangxi Normal University, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yuxin","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Digital Industry, Jiangxi Normal University, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Qing","family":"Huang","sequence":"additional","affiliation":[{"name":"School of Computer Information Engineering, Jiangxi Normal University, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhengkang","family":"Zuo","sequence":"additional","affiliation":[{"name":"School of Computer Information Engineering, Jiangxi Normal University, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"179","reference":[{"key":"10.3233\/JIFS-224489_ref1","doi-asserted-by":"crossref","first-page":"93","DOI":"10.1109\/ICIIBMS.2018.8550004","article-title":"Research on network trading system usingblockchain technology","volume":"3","author":"Wanjun","year":"2018","journal-title":"2018 International Conference onIntelligent Informatics and Biomedical Sciences (ICIIBMS)"},{"issue":"1","key":"10.3233\/JIFS-224489_ref2","doi-asserted-by":"crossref","first-page":"19","DOI":"10.4018\/JCIT.2019010102","article-title":"Understanding a revolutionary and flawed grand experiment in block chain: the dao attack","volume":"21","author":"Mehar","year":"2019","journal-title":"Journal of Cases on Information Technology (JCIT)"},{"issue":"5","key":"10.3233\/JIFS-224489_ref3","doi-asserted-by":"crossref","first-page":"276","DOI":"10.1109\/MNET.001.1900656","article-title":"Smart contract vulnerability analysis and security audit","volume":"34","author":"He","year":"2020","journal-title":"IEEE Network"},{"issue":"3","key":"10.3233\/JIFS-224489_ref4","first-page":"78","article-title":"A survey of smart contract vulnerabilityresearch","volume":"5","author":"Ni","year":"2020","journal-title":"Journal of Cyber Security"},{"key":"10.3233\/JIFS-224489_ref5","first-page":"67","article-title":"Securify: Practical security analysis of smart contracts","author":"Tsankov","year":"2018","journal-title":"Proceedings of the 2018 ACM SIGSAC Conference on Computerand Communications Security"},{"key":"10.3233\/JIFS-224489_ref6","doi-asserted-by":"crossref","first-page":"254","DOI":"10.1145\/2976749.2978309","article-title":"Making smartcontracts smarter","author":"Luu","year":"2016","journal-title":"Proceedings of the 2016 ACM SIGSACconference on computer and communications security"},{"issue":"3","key":"10.3233\/JIFS-224489_ref7","first-page":"100","article-title":"Dc-hunter: Detecting dangerous smart contracts via bytecode matching","volume":"5","author":"Han","year":"2020","journal-title":"Journal of Cyber Security"},{"key":"10.3233\/JIFS-224489_ref8","first-page":"359","article-title":"Generalized vulnerabilityextrapolation using abstract syntax trees","author":"Yamaguchi","year":"2012","journal-title":"Proceedings ofthe 28th Annual Computer Security Applications Conference"},{"key":"10.3233\/JIFS-224489_ref9","doi-asserted-by":"crossref","first-page":"150184","DOI":"10.1109\/ACCESS.2019.2946988","article-title":"Smart contractsecurity: A software lifecycle perspective","volume":"7","author":"Huang","year":"2019","journal-title":"IEEE Access"},{"key":"10.3233\/JIFS-224489_ref10","first-page":"2022","article-title":"Systematic review of security vulnerabilities in ethereum blockchain smart contract","author":"Kushwaha","journal-title":"IEEE Access"},{"key":"10.3233\/JIFS-224489_ref11","first-page":"300","article-title":"Word embedding evaluation and combination","author":"Ghannay","year":"2016","journal-title":"Proceedings of the TenthInternational Conference on Language Resources and Evaluation(LREC\u201916)"},{"issue":"3","key":"10.3233\/JIFS-224489_ref12","doi-asserted-by":"crossref","first-page":"1045","DOI":"10.21437\/Interspeech.2010-343","article-title":"Recurrent neural network based language model","volume":"2","author":"Mikolov","year":"2010","journal-title":"Interspeech"},{"key":"10.3233\/JIFS-224489_ref13","first-page":"799","volume-title":"International conference on artificial neural networks","author":"Graves","year":"2005"},{"key":"10.3233\/JIFS-224489_ref14","unstructured":"Yashavant C.S. , Kumar S. and Karkare A. , Scrawld: A dataset of realworld ethereum smart contracts labelled with vulnerabilities, arXiv preprint arXiv:2202.11409, 2022."},{"key":"10.3233\/JIFS-224489_ref15","doi-asserted-by":"crossref","first-page":"829","DOI":"10.1109\/INFOCOM.2019.8737490","article-title":"Corking by forking: Vulnerability analysis of blockchain","author":"Wang","year":"2019","journal-title":"IEEE INFOCOM 2019-IEEE Conference on Computer Communications"},{"key":"10.3233\/JIFS-224489_ref16","doi-asserted-by":"crossref","unstructured":"Shobana J. and Murali M. , Improving feature engineering by finetuning the parameters of skip gram model, Materials Today:Proceedings, 2021.","DOI":"10.1016\/j.matpr.2021.01.536"},{"key":"10.3233\/JIFS-224489_ref17","first-page":"267","article-title":"Xplore word embedding using cbow modeland skip-gram model","author":"Choudhary","year":"2021","journal-title":"2021 7th International Conference onSignal Processing and Communication (ICSC)"},{"issue":"1","key":"10.3233\/JIFS-224489_ref18","doi-asserted-by":"crossref","first-page":"58","DOI":"10.1007\/s00221-005-0131-x","article-title":"The attentional mechanism oftemporal orienting: Determinants and attributes","volume":"169","author":"Correa","year":"2006","journal-title":"Experimental Brain Research"},{"key":"10.3233\/JIFS-224489_ref19","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1016\/j.neucom.2021.03.091","article-title":"A review on the attention mechanism ofdeep learning","volume":"452","author":"Niu","year":"2021","journal-title":"Neurocomputing"},{"key":"10.3233\/JIFS-224489_ref20","doi-asserted-by":"crossref","first-page":"180558","DOI":"10.1109\/ACCESS.2019.2957510","article-title":"Self-attention-basedbilstm model for short text fine-grained sentiment classification","volume":"7","author":"Xie","year":"2019","journal-title":"IEEE Access"},{"key":"10.3233\/JIFS-224489_ref21","doi-asserted-by":"crossref","first-page":"73992","DOI":"10.1109\/ACCESS.2020.2988550","article-title":"Sentiment classification using asingle-layered bilstm model","volume":"8","author":"Hameed","year":"2020","journal-title":"Ieee Access"},{"key":"10.3233\/JIFS-224489_ref22","first-page":"345","volume-title":"European conference on information retrieval","author":"Goutte","year":"2005"},{"key":"10.3233\/JIFS-224489_ref23","doi-asserted-by":"crossref","first-page":"520","DOI":"10.1007\/978-3-319-70278-0_33","article-title":"Defining the ethereum virtual machine for interactive theorem provers","author":"Hirai","year":"2017","journal-title":"International Conference on Financial Cryptography and Data Security"},{"key":"10.3233\/JIFS-224489_ref24","first-page":"259","article-title":"Contractfuzzer: Fuzzing smartcontracts for vulnerability detection","author":"Jiang","year":"2018","journal-title":"2018 33rd IEEE\/ACMInternational Conference on Automated Software Engineering (ASE)"},{"issue":"6","key":"10.3233\/JIFS-224489_ref25","doi-asserted-by":"crossref","first-page":"617","DOI":"10.1007\/s00500-008-0339-3","article-title":"Testing fuzzy hypotheses based on fuzzytest statistic","volume":"13","author":"Taheri","year":"2009","journal-title":"Soft Computing"},{"key":"10.3233\/JIFS-224489_ref26","doi-asserted-by":"crossref","unstructured":"P. Tsankov, A. Dan, D. Drachsler-Cohen, et al. Securify: Practical security analysis of smart contracts[C]\/\/Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security. 2018:67\u201382.","DOI":"10.1145\/3243734.3243780"},{"key":"10.3233\/JIFS-224489_ref27","doi-asserted-by":"crossref","unstructured":"Y. Hirai, Defining the ethereum virtual machine for interactive theorem provers[C]\/\/International Conference on Financial Cryptography and Data Security. Springer, Cham, 2017: 520\u2013535.","DOI":"10.1007\/978-3-319-70278-0_33"},{"key":"10.3233\/JIFS-224489_ref28","doi-asserted-by":"crossref","unstructured":"B. Jiang, Y. Liu, W.K. Chan, Contractfuzzer: Fuzzing smart contracts for vulnerability detection[C]\/\/2018 33rd IEEE\/ACM International Conference on Automated Software Engineering (ASE). IEEE, 2018: 259\u2013269.","DOI":"10.1145\/3238147.3238177"},{"key":"10.3233\/JIFS-224489_ref29","unstructured":"Y. NI, C. ZHANG, T. YIN, A Survey of Smart Contract Vulnerability Research[J]. Journal of Cyber Security, 5(3) (2020), 78\u201399."},{"key":"10.3233\/JIFS-224489_ref30","doi-asserted-by":"crossref","unstructured":"Y. Zhuang, Z. Liu, P. Qian, et al. Smart Contract Vulnerability Detection using Graph Neural Network[C]\/\/IJCAI. 2020: 3283\u20133290.","DOI":"10.24963\/ijcai.2020\/454"}],"container-title":["Journal of Intelligent &amp; Fuzzy Systems"],"original-title":[],"link":[{"URL":"https:\/\/content.iospress.com\/download?id=10.3233\/JIFS-224489","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T09:45:48Z","timestamp":1777455948000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/full\/10.3233\/JIFS-224489"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,7,2]]},"references-count":30,"journal-issue":{"issue":"1"},"URL":"https:\/\/doi.org\/10.3233\/jifs-224489","relation":{},"ISSN":["1064-1246","1875-8967"],"issn-type":[{"value":"1064-1246","type":"print"},{"value":"1875-8967","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,7,2]]}}}