Cryptocurrencies

$10.8M Stolen, Developers Implicated in Alleged Smart Contract ‘Rug Pull’

Another decentralized finance (DeFi) project was rug-pulled Tuesday, with some $10.8 million in investor funds stolen due to a hidden backdoor in the project’s smart contracts.

Compounder Finance – a self-described clone of Harvest and Yearn Finance built by pseudonymous programmers – had its contracts drained of $750,000 worth of wrapped bitcoin (WBTC), $4.8 million ether, $5 million dai and a small assortment of other tokens, according to an address associated with the exploit.

And while the attack looks similar to other DeFi rug-pulls or exploits, performed time and time again in 2020, this act of thievery is different because of the apparent con Compounder’s developers were playing, according to Robert Leshner, founder of lending protocol Compound Finance.

Related: Valuing Open Source: Principles for Acquiring DeFi Projects

Read more: DeFi Exploits Can’t Be Pinned on Flash Loans, Industry Leaders Say

In a phone interview, Leshner told CoinDesk Compounder looked like any other yield farming DeFi project that took the cryptocurrency industry by storm this past summer. But the developers had snuck in a call function that allowed them to withdraw all funds from the project – an action a decentralized finance project should never allow – whenever they deemed the booty large enough. 

Rug pull

That threshold was apparently met Tuesday, even though Compounder’s token contracts were only created Nov. 10, according to Etherscan.

Leshner called the rug-pull “one of the largest ” purposeful cryptocurrency exploits in recent memory; an exploit categorically different from other DeFi exploits because of its patient endgame. He also alleges that Compounder “impersonated [Compound Finance’s] name” in order to lure in more victims.

Related: Aave Launches V2 in Bid to Make Borrowing Against Volatile Assets Less Risky

A Telegram group of investors is currently investigating legal moves against the developers, although little information is known about the faces behind Compounder. One investor who claims to have lost $1 million in funds is offering a $50,000 bounty for information leading to the seizure of stolen funds. 

Compounder’s native token, CP3R, is down 98.8% in the last 24 hours and is now trading hands at $0.24, according to CoinGecko.

Smart contract audits not enough

Compounder was audited by Solidity Finance. Audits are typically seen as an act of good faith in the wild west of DeFi. Solidity Finance told CoinDesk it found the time-locked contract in question as early as mid-November and flagged it to the project’s developers. It offered documentation as well.

Unfortunately, Compounder not only knew about the function, but apparently had plans for it. 

“The Compounder team swapped the safe and audited Strategy contracts and replaced them with malicious ‘Evil Strategy’ contracts that allowed them to steal users funds,” Solidity Finance told CoinDesk in a Telegram message, adding:

“They did this through a public, though clearly unmonitored, 24-hour timelock. This issue of centralized control by the C3PR team was raised in our audit report and our discussions with their team. The team had the power to update strategy pools and they did so maliciously here to steal users’ funds.” In other words, the time lock in question was flagged by the audit, but was not communicated outside of the developer team.

Many DeFi investors are learning audits don’t necessarily equate to a secure protocol. Akropolis Finance stands as another recent example. It was hacked earlier last month for $2 million worth of dai, even though its contracts had been audited by two firms. 

Indeed, audits come in different flavors. Solidity Finance told CoinDesk it was mainly looking for “external attackers.” The firm plans on providing more information on possible “risks stemming from developers’ control” going forward.

Related Stories

The views and opinions expressed herein are the views and opinions of the author and do not necessarily reflect those of Nasdaq, Inc.

Latest Cryptocurrencies Videos

    CoinDesk

    CoinDesk is the leading digital media, events and information services company for the crypto asset and blockchain technology community. Its mandate is to inform, educate and connect the global community as the authoritative daily news provider dedicated to chronicling the space. Founded in May 2013, CoinDesk reaches millions interested in blockchain technology thru its website, social media, newsletters, podcasts and video. CoinDesk created the original reference rate known as the Bitcoin Price Index which is widely sourced in the media including The Wall Street Journal, Financial Times, CNBC and many others on a daily basis.

    Learn More