BiFi BTC Collateral Exploit
What happened
On July 8, 2022, an attacker used an exposed BiFi address-issuing server key to register a BTC deposit address they controlled. BiFi treated a transfer to that address as collateral and allowed the attacker to borrow 1,852 ETH. The team suspended native Bitcoin lending and announced that the BIFROST Foundation would cover the losses.
An exposed address-issuing server key allowed attacker-controlled BTC addresses to be accepted as protocol deposit addresses.
How it happened
- The exposed server key let the attacker sign and register their own BTC deposit address.
- The attacker transferred 312 BTC to that address, which remained under their control.
- BiFi's relayer accepted the registered-address deposit and the system credited BTC collateral.
- The attacker borrowed 1,852 ETH against the falsely recognized deposit.
- The team rotated the exposed key and suspended BTC lending.
Protocol details
Evidence
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.