DeFi lending protocol Cream Finance has reportedly lost $25 million in a flash loan attack, the second in the past six months.
The decentralized finance (DeFi) lending and borrowing platform reported that its CREAM V1 market had been targeted on Monday.
According to Cream Finance, the attack was executed via reentrancy on the AMP token contract, a Consensys-backed digital collateral token listed within the dApp. The hacker used a flash loan before exploiting the reentrancy bug.
Vulnerabilities that stem from reentrancy are one of the most common types of security bugs in smart contracts. Meanwhile, blockchain security company PeckShield led the initial analysis revealing that the exploit began when the hacker took out a flash loan of 500 ETH and deposited it as collateral to borrow 19 million AMP tokens. He then re-borrowed 355 ETH by leveraging the reentrancy bug before self-liquidating the loan and repeating the process multiple times to extract funds.
41.8 million AMP tokens and 1308.09 ETH, currently worth about $25 million were stolen during the exploit. Following the attack, the supply and borrowing of AMP tokens have been suspended on the platform.
In February, Cream suffered a similar flash loan attack that led to the loss of roughly $37.5 million worth of cryptocurrency.
While the price of AMP appears to have fallen by 15% since the news broke, Ethereum remains relatively unaffected.