Powered by
Sponsored by

Coding bug in DeFi platform sends crypto worth $90 million to users by mistake

Compound CEO threatens to tell the IRS if users don’t return their tokens, apologises

coding-bug-pixabay

A $90 million bug now tests the goodwill of users of a popular decentralised finance (DeFi) protocol, after a technical glitch resulted in an erroneous disbursement of 280,000 COMP tokens worth around $342 each as of publishing.

The bug, triggered by a recent update, affected users of the “Compound” DeFi protocol, which allows users to lend out cryptocurrencies and earn interest payments on deposits. The bug in particular affected the Compound Comptroller Contract, which distributes liquidity mining rewards earned over time.

Compund Finance founder Robert Leshner called this the “worst day in the history of the Compound protocol”, after he was forced to ask users to return approximately $90 million worth of tokens.

Leshner’s approach has been based on the goodwill of Compound users, with a hint of generosity (users can keep 10 per cent of their gains) as well as a dash of implicit threat (he said he would report the transactions to the United States’ Internal Revenue Service, which would see such amounts as income and could audit and tax users).

Leshner swiftly apologised for the IRS “threat”. The Twitter user who pointed out the bug, @napgener, pointed out that Leshner had in the past criticised those who would take matters of decentralised finance to “meatspace” (a derogatory term for real-world affairs) courts.

For Leshner, there appears little he can do. Since Compound is managed by a decentralised community, changes have to be approved by vote and can take time. He recently tweeting suggesting he would take up an idea by a Twitter user that he create a non-fungible token (a contract asserting ownership of a digital asset), distribute it between the first five users to return their accidentally-got COMP tokens, and allow the users to “summon” him if they combine their pieces.

Several users have already started returning their tokens, with Leshner thanking them on Twitter. But some have already made use of the bug. One user appears to have gotten away with $27 million worth.

📣 The Week is now on Telegram. Click here to join our channel (@TheWeekmagazine) and stay updated with the latest headlines