There has been an exploit in the Rari Capital ETH Pool related to our @AlphaFinanceLab integration.
— Rari Capital DAO (@RariCapital) May 8, 2021
The rebalancer has removed all funds from Alpha in response.
We are currently investigating the situation and a full report will be shared once everything is assessed.
The hacker was able to use an âevil contractâ exploit to gain access to the funds. This is where the attacker creates a hostile contract and tricks the protocol into believing it belongs there, giving them access to protocol funds. Rari Capital listed out how the hacker was able to do this.
The attacker repeatedly executed the following steps inside of `ibETH.work`:
- Flashloan ETH from dYdX.
- Deposit that ETH into the Rari Capital Ethereum Pool.
- Manipulate the value of `ibETH.totalETH()` by pushing it artificially high.
- Withdraw more ETH from the Rari Capital Ethereum Pool than the attacker deposited because the Rari Capital Ethereum Poolâs balances are artificially inflated (because `ibETH.totalETH()` is artificially inflated).
- At the end of `ibETH.work`, the value of `ibETH.totalETH()` returns to its true value, leading the Rari Capital Ethereum Poolâs balances to values lower than they were before the attack as a result of the attacker withdrawing more than they deposited while their balance was artificially inflated.
Also, Twitter user Igor Igamberdiev pointed out that the same address was responsible for the value exploit. This hacker man was able to deploy the first cross-chain exploit successfully. The hackerâs wallet currently holds 4,005 ETH from both exploits. Click the thread below to see an in-depth account of how this was pulled off.Â
1/7
— Igor Igamberdiev (@FrankResearcher) May 8, 2021
Rari Capital lost a lot of funds as a result of a complex exploit, right?
However, things are far from simple, and we witnessed the first cross-chain exploit, so letâs see how it wentđ pic.twitter.com/ybqW6lGHTg
The hackerman did consider sending a message but canceled the transaction before it went through. In the message, the hacker wrote ârari=rektâ and âalpha=ok # saved rari 6m.â It is presumed the hacker was saying Alpha Finance Lab prevented $6 million more from being drained.
The hacker has left a base64-encoded message saying
— banteg (@bantg) May 8, 2021
rari=REKT
alpha=ok # saved rari 6mhttps://t.co/WQpiPksDOX pic.twitter.com/ruMH8Wam5s
There has been some backlash towards the Rari Capital team. Specifically, how young the team working on the project is; one of the developers is said to be 15 years old. Thereâs also backlash that the protocol was audited for security flaws, but this situation still occurred.
why don't you mention how the team constantly "advertised" this pool as protected and audited. and you constantly said: âyou can put ETH into our pool for 20 years at 10%â. Now, just write âsorry, we had an audit. the auditors do not bear RESPONSIBILITY and we too. "
— Blockmechain (@blockmechain) May 9, 2021