Back to the list

Solana-Based Liquidity Protocol CremaFinance Hacked for $8.7M


blockworks.co 04 July 2022 06:33, UTC
Reading time: ~2 m

Solana-based liquidity protocol CremaFinance has become the latest DeFi (decentralized finance) platform to fall victim to hackers.

First brought to attention to users on Saturday, CremaFinance said it was temporarily suspending service and investigating the exploit, believed to have totaled more than $6.4 million in digital assets at the time.

That figure was later revised to stand at over $8.7 million, Solana blockchain explorer SolanaFM said in a tweet. The hacker exploited a vulnerability in the protocol’s tick account, CremaFinance said.

A tick is a dedicated account that stores price “tick data” from a centralized liquidity market maker (CLMM). In DeFi, CLMMs typically calculate transaction fees based on data in the tick account.

In CremaFinance’s case, the authentic transaction fee data was replaced by the hacker’s faked data. This allowed the attacker to claim a “huge fee amount” out of CremaFinance’s liquidity pool, resulting in epic losses.

The hacker deployed a malicious contract and used it to activate six flash loans from Solana lending platform Solend in order to add liquidity on Crema and open their positions, CremaFinance said.

Millions of dollars in various cryptocurrencies, including tether and lido staked solana, were taken. Stolen funds are being held in the hacker’s Ethereum and Solana wallets, which have since been flagged by SolanaFM. CremaFinance is yet to confirm exactly how much crypto was left in its pools.

The firm announced it had raised $5.4 million in a private fundraising round just two weeks ago. CremaFinance is not to be confused with DeFi’s Cream Finance, which has suffered multiple “flash loan exploits” in the last year, including a $130 million hack in October.

But the incident is the latest in a string of DeFi exploits that have plagued the sector this year. Last month, a hacker stole 20 million governance tokens from Ethereum scaling solution Optimism, worth around $30 million at the time, that were intended for a loan deployed by major market maker Wintermute.

In the same month, smart contracts platform Elrond Network witnessed around $4 million siphoned off its decentralized exchange.

Still, those pale in comparison to digital asset bridge Wormhole’s $320-million hack in February and April’s $625-million attack on Axie Infinite’s Ronin bridge — the two largest DeFi thefts to date.

Get the day’s top crypto news and insights delivered to your inbox every evening. Subscribe to Blockworks’ free newsletter now.

Back to the list