/defi-rekt

Reproduction of historical Defi and general hacks on EVM chains using Foundry

Primary LanguageSolidity

DEFI-REKT

Reproduction of historical Defi and general hacks on EVM chains using Foundry



Acknowledgments

  • This repo is inspired by learn-evm-attacks, although the main difference is that this repository focuses primarily on hacks that are historical (some of them very old "parity wallet").

Reproduce

  1. Clone the repo
git clone https://github.com/rodrigoherrerai/defi-rekt.git
  1. Build (inside the repo)
forge build
  1. Reproduce an attack
forge test --match-path test/..