Crypto News
3 years ago

Another BSC Project Exploit: $7.2M Drained From BurgerSwap in a Flash Loan Attack

Jordan Lyanchev May 28, 2021 07:38
$7.2 million were drained from the DeFi protocol BurgerSwap in yet another flash loan attack on a project using the Binance Smart Chain.

Another protocol employing the Binance Smart Chain has suffered a security breach. This time, it was the decentralized exchange BurgerSwap, and the perpetrators stole over $7 million through a flash loan attack.

$7.2M Drained From BurgerSwap

Launched earlier this year, BurgerSwap is a DeFi project enabling users to swap between tokens issued on the BSC and earn rewards for providing liquidity. Earlier today, the protocol took it to Twitter to highlight the security breach it had experienced.

It all happened on May 28th, and the perpetrators chose a rather notorious and common way to exploit the protocol – through a flash loan attack. They manage to drain $7.2 million from BurgerSwap via 14 transactions.

They created their own Fake Coin and formed a new trading pair with BURGER – the native crypto token of BurgerSwap. Later, the perpetrators adjusted the routing to – BURGER -> Fake Coin -> Wrapped BNB.

They used the BURGER/Fake Coin trading pair to re-enter BurgerSwap through Fake Coin and manipulated the number of reserve0 and reserve1 in the contract, causing a significant price change.

By re-entering the transaction again and trading back to WBNB, the hackers managed to obtain the extra amount of WBNB inputted. As such, they flash swapped 6,000 WBNB ($2 million) from PancakeSwap and then almost all WBNB to 92,000 BURGER on BurgerSwap.

Ultimately, they stole 4,400 WBNB ($1.6M at the time), 22,000 BUSD, 2.5 ETH ($6.8K), 432,000 BURGER ($3.2M), 142,000 xBURGER ($1M) and 95,000 ROCKS.

The DeFi project has suspended all its services as of now and will “surely work hard to cover users’ loss.”

Not The First

The BSC’s rapid growth since inception caught the attention of bad actors, and the number of attacked protocols using the network has exponentially increased in recent months.

CryptoPotato has reported some of the examples, including Spartan Protocol. The attack transpired earlier in May and resulted in the loss of over $30 million of users’ funds.

Shortly before that one was Uranium Finance’s turn. The BSC-employing automated market maker saw roughly $50 million stolen from its network, but some suggested that it could have actually been a rug pull.

Similar concerns came from Meerkat Finance after $30 million was drained from the protocol in March this year.

Share This Article
Jordan Lyanchev

Jordan got into crypto in 2016 by trading and investing. He began writing about blockchain technology in 2017 and now serves as CryptoPotato's Assistant Editor-in-Chief. He has managed numerous crypto-related projects and is passionate about all things blockchain. Contact Jordan: LinkedIn