Litcius/Paper detail

The State of Ethereum Smart Contracts Security: Vulnerabilities, Countermeasures, and Tool Support

Haozhe Zhou, Amin Milani Fard, Adetokunbo Makanju

2022Journal of Cybersecurity and Privacy89 citationsDOIOpen Access PDF

Abstract

Smart contracts are self-executing programs that run on the blockchain and make it possible for peers to enforce agreements without a third-party guarantee. The smart contract on Ethereum is the fundamental element of decentralized finance with billions of US dollars in value. Smart contracts cannot be changed after deployment and hence the code needs to be verified for potential vulnerabilities. However, smart contracts are far from being secure and attacks exploiting vulnerabilities that have led to losses valued in the millions. In this work, we explore the current state of smart contracts security, prevalent vulnerabilities, and security-analysis tool support, through reviewing the latest advancement and research published in the past five years. We study 13 vulnerabilities in Ethereum smart contracts and their countermeasures, and investigate nine security-analysis tools. Our findings indicate that a uniform set of smart contract vulnerability definitions does not exist in research work and bugs pertaining to the same mechanisms sometimes appear with different names. This inconsistency makes it difficult to identify, categorize, and analyze vulnerabilities. We explain some safeguarding approaches and best practices. However, as technology improves new vulnerabilities may emerge. Regarding tool support, SmartCheck, DefectChecker, contractWard, and sFuzz tools are better choices in terms of more coverage of vulnerabilities; however, tools such as NPChecker, MadMax, Osiris, and Sereum target some specific categories of vulnerabilities if required. While contractWard is relatively fast and more accurate, it can only detect pre-defined vulnerabilities. The NPChecker is slower, however, can find new vulnerability patterns.

Topics & Concepts

Computer securitySecure codingVulnerability (computing)Computer scienceSmart contractSoftware deploymentState (computer science)SafeguardingRisk analysis (engineering)BusinessBlockchainSoftware security assuranceSecurity serviceInformation securitySoftware engineeringNursingMedicineAlgorithmBlockchain Technology Applications and SecurityAdvanced Malware Detection TechniquesSecurity and Verification in Computing