Vulnerability Detection on Solidity Smart Contracts by Using Convolutional Neural Networks

2023-2-01
BEKTAŞ, Barış Cem
Smart contracts, which are self executing contracts with the terms of the agreement between buyer and seller being directly written into lines of code, have the potential to revolutionize many industries by automating complex processes and reducing the need for intermediaries. However, the immutability of smart contracts also means that vulnerabilities cannot be easily fixed once they are deployed, making it crucial to detect and prevent vulnerabilities before deployment. In this project, we focus on the problem of vulnerability detection in smart contracts, specifically the reentrancy vulnerability, which allows an attacker to repeatedly call an external contract in a malicious manner. To address this problem, we introduce four-layer convolutional neural network (CNN) for reentrancy vulnerability scanning. We compare our method to other vulnerability scanning tools which are using machine learning approaches, including long short-term memory (LSTM) and graph neural network (GNN), and show that our method outperforms on dataset of real-world smart contracts. Our results demonstrate the effectiveness of using deep learning for vulnerability detection in smart contracts and provide a promising direction for further research in this area.

Suggestions

BIM integrated smart contract for construction project progress payment administration
Sönmez, Rifat; Ahmadisheykhsarmast, Salar; Güngör, Aslı Akçamete (2022-07-01)
© 2022 Elsevier B.V.In recent years few blockchain based progress payment methods have been proposed to improve the traditional payment process for construction projects. The blockchain based methods require the off-chain real world information to be connected to the blockchain which could be challenging for construction projects. This paper presents a novel building information modeling (BIM) integrated smart contract progress payment administration system, in which as-constructed BIM is used to link the r...
Flexibility modelling of natural gas contracts
Kestel, Sevtap Ayşe; Kalaycı, Erkan (null; 2015-05-16)
This paper aims to develop a novel algorithm based on all contractual and technical real-world constraints for a gas import/wholesale company in the concept of flexibility. The Mixed Integer Linear Program (MILP) is applied to a portfolio of contracts to produce the optimal amount of purchases pipeline natural gas (PNG) agreements, spot natural gas purchases, natural gas storage use levels and Session IV (16:00-17:30) – ENERGY & FINANCE 18 LNG purchases based on a real life case under various commitments s...
AiOLoS: A model for assessing organizational learning in software development organizations
Chouseinoglou, Oumout; Iren, Deniz; Karagöz, Nuri Alpay; Bilgen, Semih (2013-11-01)
Context: In an industry in which technological developments are rapid, in order to keep up with the continuously increasing competition and to obtain competitive advantage, the software development organizations (SDOs) need to obtain the correct knowledge, use it efficiently and pass it to future projects evolving it accordingly.
Contract Management Behavior and Practices of Turkish Contractors at International Contracts
Yiğit, Ma; Birgönül, Mustafa Talat; Dikmen Toker, İrem (null; 2009-05-22)
Contract management starts with the contract negotiations and lasts until the end of the contract, and is the process that covers three fundamental functions required to compensate the goals of the project; Relationship Management, Project Delivery, and Administration of the contract. This paper briefly discusses contract management behavior of Turkish construction companies in international projects; factors influencing contractors’ behaviors, key success factors for contract management, company contract m...
Analysing Opportunities and Challenges of Integrated Blockchain Technologies in Healthcare
Gökalp, Ebru; Gökalp, Mert Onuralp; Eren, Pekin Erhan (2018-09-20)
Blockchain is a disruptive technology with the potential to have a significant impact on business models and industries, similar to the adoption of Internet. Blockchain promotes distributed, open, inclusive, immutable, and secure architectural approaches, instead of centralized, hidden, exclusive, and alterable alternatives. The adoption of blockchain in the healthcare domain offers promising solutions for securing communications among stakeholders, efficient delivery of clinical reports, and integrating va...
Citation Formats
B. C. BEKTAŞ, “Vulnerability Detection on Solidity Smart Contracts by Using Convolutional Neural Networks,” M.S. - Master Of Science Without Thesis, Middle East Technical University, 2023.