Skip to content

abdulsamijay/Rari-Capital-Exploit-POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rari-Capital Fuse Hack Analysis & POC

Getting Started

This repo contains a POC of a hack that took place on Ethereum Block 14684685, where the hacker ran away with around $79M in different assests. You can find more details in the links below.

  1. In depth Analysis

Prerequisites

You will need to install foundry to run the exploit. Link for installtion foundry.

How to exploit, Anon ?

  1. Clone the repo
    git clone https://github.com/abdulsamijay/Rari-Capital-Exploit-POC.git
  2. Build the example to install all packages
    forge build
  3. Run the test
    forge test -vv --fork-url <YOUR_API_PROVIDER> --fork-block-number 14684684

Key takeway

This is an example of a classic re-entrancy attack. The main reason behind the infamous DAO hack was re-entrancy where the hacker repeatedly called withdraw() function before the balance was updated.

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published