We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Electrical Engineering/Towards Auto Contract Generation and Ensemble-based Smart Contract Vulnerability Detection
PeriodicalsElectrical Engineering

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

Checking your access to this record.

Abstract & Overview

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) tool to solve the first and second limitations of the SC respectively. Attackers are drawn to attention because of the popularity and fragility of the Solidity language. Once smart contracts have been launched, they can’t be changed. If that smart contract is vulnerable, attackers may then cash it. BPMN is used to represent business rules or contracts in graphical notation, so everyone involved in the business can understand 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 average of 2% using the XGBoost model based on the ensemble technique to detect vulnerabilities of SCs, which are: Denial of Service (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 this record

Kodavali Lakshmi Narayana, K. Sathiyamurthy (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

Copy in another style

Narayana, K. L., & 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
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.