Buggy DeFi update mistakenly issues $90m worth of COMP coins to users

Someone checking online crypto markets while holding a coin

Around $90 million has been mistakenly sent to users of popular DeFi staking protocol Compound following a bug in a recent upgrade.

The company's founder took to Twitter to plead with users to return the platform's crypto tokens, while also threatening those refusing to do so.

"If you received a large, incorrect amount of COMP from the Compound protocol error: Please return it," Robert Leshner, founder of Compound Labs, tweeted on Thursday. "Keep 10% as a white-hat. Otherwise, it's being reported as income to the IRS, and most of you are doxxed."

Compound is a decentralised finance (DeFi) platform with a liquidity mining program that rewards depositors and borrowers, but usually at a rate of a single-digit for annual percentage yield (APY).

A user known as 'napgener' first noticed an issue with Compound payouts, flagging three Ethereum transactions where users received around $15 million in COMP tokens in exchange for borrowing and supplying small token quantities for the likes of USDC, ETH and DAI.

DeFi protocols like Compound are designed to recreate traditional financial systems, such as banks and exchanges, but with blockchain powered by automated smart contracts. On Wednesday Compound attempted to roll out an upgrade, but it appears to have included an error.

"The new Comptroller contract contains a bug, causing some users to receive far too much COMP," Leshner said. "There are no admin controls or community tools to disable the COMP distribution; any changes to the protocol require a 7-day governance process to make their way into production."


Pharma transactions during the COVID-19 pandemic

How resilient were they?


More and more users began reporting over payments after Leshner tweeted about the bug: $29 million worth of COMP has been claimed in one transaction, while another has said they received 70 million COMP tokens (thought to be worth about $28m).

Leshner didn't specify the issue with the update, however a developer from another DeFi crypto exchange, SushiSwap, tweeted that the fault could be blamed on a "one-letter bug" in the code.

Bobby Hellard

Bobby Hellard is ITPro's Reviews Editor and has worked on CloudPro and ChannelPro since 2018. In his time at ITPro, Bobby has covered stories for all the major technology companies, such as Apple, Microsoft, Amazon and Facebook, and regularly attends industry-leading events such as AWS Re:Invent and Google Cloud Next.

Bobby mainly covers hardware reviews, but you will also recognize him as the face of many of our video reviews of laptops and smartphones.