Bug Hunting in Smart-Contracts:
Where to Begin
Nikita Stupin
nikita@openzeppelin.com
Our mission is to protect �the open economy
�OpenZeppelin is a software company that provides security audits and products for decentralized systems.
Projects from any size - from new startups to established organizations - trust OpenZeppelin to build, inspect and connect to the open economy.
How I got into
smart-contract bug hunting
Where to begin (theory)
Where to begin (practice)
Decentralized Application stack
https://www.notonlyowner.com/learn/what-happens-when-you-send-one-dai
The vulnerability landscape
What are the main focus areas
Area | Example technologies | Example program |
Smart-contracts | Solidity and Vyper | |
Wallets and DApp front-end | JavaScript and browser extensions | |
Nodes | Golang, Rust, and consensus algorithms | |
Cryptography | Zero-knowledge cryptography |
DASP Top 10 (2018)
DASP Top 10 (2022)
How I personally see DASP Top 10 now
Dynamically adapting to a changing landscape
How to increase chances of finding a bug?
The bug hunting process
Recon
Manual analysis
Automated analysis
Crafting a proof of concept
Where to apply this knowledge?
Bug bounty platforms
The bounty amounts are dynamic
The process is built on top of smart-contracts
Time-framed contests
If you have reported a valid vulnerability, you will be paid
CTFs
Other blockchains and layer 2s
Conclusion
OpenZeppelin.com
forum.openzeppelin.com
docs.openzeppelin.com
Thank you!
. @_nikitastupin
/nikita-stupin-2457b1177
nikita@openzeppelin.com