A set of challenges to learn offensive security of smart contracts in Ethereum.
Featuring flash loans, price oracles, governance, NFTs, lending pools, smart contract wallets, timelocks, and more!
Visit damnvulnerabledefi.xyz
For Q&A and troubleshooting running Damn Vulnerable DeFi, go here.
All Solidity code, practices and patterns in this repository are DAMN VULNERABLE and for educational purposes only.
DO NOT USE IN PRODUCTION.
This repo contains the solutions I found so far. Clone the original repo if you want to play.
- Unstoppable
- Naive receiver
- Truster
- Side entrance
- The Rewarder
- Selfie
- Compromised
- Puppet
- Puppet V2
- Free rider
- Backdoor
- Climber
- Wallet Mining
- Puppet V3
- ABI Smuggling