Towards Auto Contract Generation and Ensemble-based Smart Contract Vulnerability Detection

5Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.

Abstract

Smart contracts (SC) are computer programs that are major components of Blockchain. The "intelligent contract" is made up of the rules accepted by the parties concerned. When the transactions started by the parties obey these established rules, then only their transactions will be completed without the involvement of a third party. Because of the simplicity and succinct nature of the solidity language, most smart contracts are written in this language. Smart contracts have two limitations, which are vulnerabilities in SC and that smart contracts can't be understood by all stakeholders, especially non-technical people who are involved in the business, since they are written in a programming language. Hence, the proposed paper used the XGBoost model and BPMN (Business Process Modeling Notation) toolto solve the firstandsecondlimitations ofthe SCrespectively. Attackers are drawn to attention because ofthe popularity andfragility of the Solidity language. Once smart contracts have been launched, they can't be changed. Ifthat smart contract is vulnerable, attackers may thencashit. BPMNisusedtorepresentbusinessrulesorcontractsin graphicalnotation, soeveryoneinvolvedinthebusinesscanunderstand the business rules. This BPMN diagram can be converted into a smart contract template through the BPMN-SOL tool. A few publications and existing tools exist on smart contract vulnerability detection, but they require more time to forecast and interpretation of vulnerability causes is also difficult. Thus, the proposed model experimented with several deep learning approaches and improved F1 score results by an averageof2%usingtheXGBoostmodelbasedontheensembletechniquetodetectvulnerabilitiesofSCs, whichare:DenialofService (DOS), Unchecked external call, Re-entrancy, and Origin of Transaction. This paper also combined two important features to construct a data set, which are code snippets and n-grams.

Cite

CITATION STYLE

APA

Lakshminarayana, K., & Sathiyamurthy, K. (2022). Towards Auto Contract Generation and Ensemble-based Smart Contract Vulnerability Detection. International Journal of Electrical and Computer Engineering Systems, 13(9), 747–757. https://doi.org/10.32985/ijeces.13.9.3

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free