Damn Vulnerable DeFi is the wargame to learn offensive security of DeFi smart contracts.
Throughout numerous challenges you will build the skills to become a bug hunter or security auditor in the space.
Each challenge can be considered standalone. Depending on the challenge, you should either stop the system from working, take as much funds as possible, or do some other unexpected things.
How to play
- Clone the repository
- Checkout the latest version with
git checkout v2.2.0
- Install dependencies with
- Code your solutions in the provided
*.challenge.jsfiles (inside each challenge's folder in the
- Run your exploit for a challenge with
yarn run challenge-name. If the challenge is executed successfully, you've passed!