Skip to content

MJ's Comprehensive Solutions to DamnVulnerableDeFi Offensive DeFi Security Challenges.

License

Notifications You must be signed in to change notification settings

mjkid221/damn-vulnerable-defi

 
 

Repository files navigation

MJ's Comprehensive Solutions to DamnVulnerableDeFi Challenges

Welcome to the repository dedicated to the solutions for the DamnVulnerableDeFi challenges, a series of offensive security challenges on Ethereum smart contracts, spanning from flash loans, price oracles, governance, NFTs, lending pools, smart contract wallets, timelocks and etc. This collection not only includes the exploit scripts and smart contracts but also detailed write-ups and annotated code to guide you through the thought process behind each solution.

All of the exploits have been methodically organised within the test/ directory, corresponding to each challenge. Any additional supplementary materials like smart contracts that has been written for the challenge have been included in each contract challenge folders.

I would like to extend my sincere appreciation to @tinchoabbate for crafting these intricate and educational challenges.

Testing the challenges

To begin, ensure that all necessary dependencies are installed by executing:

yarn install

To execute a specific challenge solution, use the following command structure:

yarn run <CHALLENGE_NAME>

Please replace <CHALLENGE_NAME> with the actual name of the challenge you wish to run.

About

MJ's Comprehensive Solutions to DamnVulnerableDeFi Offensive DeFi Security Challenges.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 51.2%
  • JavaScript 48.8%