
Demystifying Exploitable Bugs in Smart Contracts

This project aims to provide a valuable resource for Web3 developers and security analysts by facilitating their understanding of exploitable bugs in smart contracts. We conduct a thorough analysis of exploitable bugs extracted from code4rena and classify each bug according to its nature.
Our initial research suggests that a notable proportion of exploitable bugs in smart contracts are functional bugs, which cannot be detected using simple and general oracles like reentrancy. We aim to raise awareness about the significance of such bugs and encourage practitioners to develop more sophisticated and nuanced automatic semantical oracles to detect them.
π° πππππππππππ ππππππ ππ ππ‘πππππππππ ππππ ππ πππππ πππππππππ ππππ πππππ πππ ππππππππ’ ππ ππππππππππ ππππ, π ππππ ππππππ ππ ππππππππ πππππ ππππππ πππ πππππππ πππππππ.
Please be aware that this repository is currently undergoing active development, and the data may change over time due to ongoing code4rena contests.
The dataset is organized into four folders:
We classify the surveyed bugs into three main categories based on their nature:
As classifying functional bugs can be ambiguous, we welcome suggestions to improve our classification standards. You can find more detailed label information in our documentation, and we encourage you to refer to our current classification guidelines for more information.
Our goal is to create a comprehensive list of vulnerability detection techniques that will be a valuable resource for Web3 developers and security analysts. We will focus on two main categories:
We warmly welcome any additional suggestions or contributions from the community to help expand and improve the list.
We believe that future web3 security efforts will prioritize identifying functional bugs and developing corresponding oracles. To this end, we intend to compile a list of techniques that provide guidance in the creation of automatic semantic oracles. These techniques will be sourced from various materials, such as peer-reviewed research papers, pre-prints, industry tools, and online resources.
This section will include open-source techniques that are publicly available and currently in active development. These techniques can be used either directly by Web3 developers and security analysts or as building blocks for other tools. We give priority to source-code level techniques, which are better suited for Web3 development and auditing contexts.