BearnFi Hack

Reported loss $10.9M
BNB Chain
Flashloan Withdraw Logic Exploit

What happened

BvaultsBank was exploited through a flash loan attack, resulting in a loss of 8,016,006.09 BUSD.

The attacker initiated the exploit by borrowing a flash loan of 7,804,239.11 BUSD from CREAM. This was deposited into BvaultsBank and sent to the associated BvaultsStrategy strategy, then to Alpaca Vault for yield. The Alpaca Vault minted 7,598,066.58 ibBUSD back to BvaultsStrategy.

The attacker then farmed with the received ibBUSD via the Alpaca FairLaunch. The attacker withdrew the BUSD from BvaultsBank, which was interpreted as withdrawing ibBUSD, equivalent to 8,016,006.09 BUSD. The attacker repeated these steps to accumulate credit and finally drained the pool.

The flash loan was returned with 7,806,580.38 BUSD.

The attacker's address:

Address 0x47f3…d089

The transaction behind the attack:

Tx 0x603b…a36c

Protocol details

Classification Ecosystem / Protocol Logic / Yield Aggregator
Protocol Type Yield
Affected asset / contract BFI
Protocol links Website @BearnFi

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.