Cover Protocol Attack Perpetrated by ‘White Hat,’ Funds Returned, Hacker Claims

hacker
28 December 2020

The decentralized finance (DeFI) insurance project Cover Protocol was hacked earlier Monday in an infinite printing scheme, causing the price of the Cover token to plunge. Hours later, Grape.Finance, a so-called ‘white hacker’ claimed responsibility for the attack via its Twitter account, saying all funds had been returned.

The exploiter has cashed out over $4 million including about 1400 either, one million DAI and 90 WBTC. The attacker earlier created 40 quintillion COVER tokens and sold $5 million worth of them on Monday morning. More than $3 million has been returned.

The price of COVER token has plummeted to $177 by over 75% over the last 24-hour period, according to the data from CoinGecko.

While the development team behind the Cover protocol has not provided any comment on this exploit, Sorawit Suriyakarn, chief technology officer at Band Protocol said the the exploit’s approach appears to be relatively new and have not been spotted in any recent attacks.

“The attack does 4 things: 1. Deposit LP tokens to Blacksmith contract 2. Withdraw *almost* all LP tokens to inflate `accRewardsPerToken` 3. Deposit LP tokens again (this is the interesting bit) 4. Claim COVER rewards and trick the contract to mint quintillion of $COVER tokens,” Suriyakarn said in his tweet.

The hacker tricked the protocol into minting new tokens as rewards by exploiting a bug in the smart contract Solidity, which involves using memory and story incorrectly in the programming language.

This story is developing and will be updated.

Disclosure
The leader in blockchain news, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups.