/DeFiHackAnalysis

Analysis of DeFi hack incidents.

Primary LanguageSolidity

DeFiHackAnalysis

Just analyze for fun! 😀

This repository is a personal analysis of DeFi incidents collected from the DeFiHackLabs, designed for learning purposes only.

Intoduction

Objective: The primary goal of this project is to enhance understanding and knowledge regarding historical DeFi incidents.

Project Structure:

  • contracts: Smart contracts associated with the documented incidents.
  • src: Exploit scripts specific to each incident.
  • analysis: Personal analysis notes and insights into the attack incidents.
  • reference: Code from notable projects for reference.

You can execute the exploit script using the following command:

forge test --contracts ./src/test/xxx_exp.sol -vvv

Please note that the analysis notes provided in this repository have been translated into English using the ChatGPT. You are welcome to modify or refine the text. Additionally, as a continuously learning novice, I acknowledge that my expertise may have limitations. If you encounter any areas of misunderstanding or analysis errors, please feel free to open an issue to provide constructive criticism or corrections.

You can visit the website for a better reading experience.

Incident Analysis

240415_ChaingeFinance

231206_TIME

231018_MicDao

230905_HeavensGate_JumpFarm_QuantumWN

230905_FloorDAO

230415_HundredFinance

230126_TINU

230119_SHOCO

221129_MBC

221025_ULME

Disclaimer

This project is intended purely for learning and educational purposes and to promote understanding of DeFi incidents. It does not endorse or encourage any form of unethical or illegal activities. Please use this knowledge responsibly and ethically.