Coder Social home page Coder Social logo

0237h / damn-vulnerable-defi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinchoabbate/damn-vulnerable-defi

0.0 1.0 0.0 236 KB

Part three of my Solidity and smart contracts learning journey, solving challenges !

Home Page: https://damnvulnerabledefi.xyz/

License: MIT License

JavaScript 37.88% Solidity 61.35% Python 0.77%
challs ethereum smart-contracts solidity web3

damn-vulnerable-defi's Introduction

damn-vulnerable-defi

Part three of my Solidity and smart contracts learning journey, solving challenges !

Previously...

Taking up the Ethernaut and Capture the Ether challenges tought me a lot about smart contracts security and Solidity/EVM tricks. It took me around a week to finish each one. However, I expect these challs to be a bit more demanding in terms of blockchain, EVM and DeFi protocol knowledge.

Why ?

The increase in difficulty comes with the added benefit of interacting with less common or more subtle vulnerabilities which is great for being more efficient during security audits of smart contracts. The more you encounter, the more you're being aware and pay attention to certain patterns that could indicate severe flaws in the code.

Also certain challs requires you to be familiar and learn about some widely used protocols such as Uniswap, flash loans, NFTs, etc...

What ?

All solutions can be found in the test folder, inside the Exploit test function and in the contracts/attacker-contracts folder. Took me around 5 full days to solve them all and learned quite a lot during this time about Uniswap, Flash loans, Gnosis safes, etc.

Next ?

Start reading smart contracts audits and figure out the vulnerabilities by myself. Get more familiar with hardhat and start to fork mainnet/testnet for replaying vulnerabilites.


Forked original README.md

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!

Play

Visit damnvulnerabledefi.xyz

Disclaimer

All Solidity code, practices and patterns in this repository are DAMN VULNERABLE and for educational purposes only.

DO NOT USE IN PRODUCTION.

damn-vulnerable-defi's People

Contributors

0237h avatar tinchoabbate avatar mpetrone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.