Damn Vulnerable DeFi (v1)

The offensive security playground for decentralized finances

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.

Challenges

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.

⚠️⚠️⚠️ Beware! You're seeing an old version of Damn Vulnerable DeFi. To play the most up-to-date version, click here

# Name
1 Unstoppable
2 Naive receiver
3 Truster
4 Side entrance
5 The rewarder
6 Selfie
7 Compromised
8 Puppet

How to Hack

  1. Clone the repository
  2. Install dependencies with npm install
  3. Code your solutions in the provided *.challenge.js files (inside each challenge's folder in the test folder)
  4. Run your exploit for a challenge with npm run challenge-name. If the challenge is executed successfully, you've passed!

Tips and tricks

Participate

Were you able to solve all challenges ? Did you get stuck ? Have some feedback ?

Join the Discord server!