This repository serves as a PoC demonstrating the steps taken to perform the hack which lost Euler Finance ~$197M.
This PoC is supplementary to the following article that gives a breakdown of the hack, the vulnerabilities which allowed the hack to occur and how to avoid similar hacks: Euler Finance Hack Analysis
To use this proof of concept, first clone the repository.
$ git clone https://github.com/ciaranightingale/euler.git
Then, install the dependencies:
$ forge install
$ forge build
$ forge test -vvv