Some loans on Maker are never liquidated, prompting debt auction overhaul

Published at: Nov. 16, 2020

The Maker community is looking for solutions after an analysis by B.Protocol suggests that it is possible to exploit the liquidation system to create under-collateralized debt. 

The researchers created small vaults for $128, just above Maker’s “dust” parameter that defines the minimum size for new vaults. As Maker’s oracles updated to new prices that made these vaults eligible for liquidation, B.Protocol found that the debt remained unclaimed for several hours.

While the researchers later closed the bad debt loans on their own, the mechanism could be abused to create a Dai position that would never be liquidated. Splitting a $1 million loan in small tranches of slightly more than $100 would cost about $5,000 in gas — a small price to pay for the possibility of completely avoiding liquidation, the analysts assert.

The reason why these vaults are not liquidated likely has to do with gas prices. Each liquidation process costs approximately 500,000 gas, about 10 times higher than the cost of opening each vault or sending a token transaction. Given that liquidation auctions are often extremely heated and rely on keepers outbidding each other with very large gas fees, small vaults are unlikely to be worthwhile to liquidate.

Yaron Velner, the founder of B.Protocol, told Cointelegraph that this was most likely because liquidation bots are instructed to ignore vaults below a certain threshold “based on some gut feeling.”

In response to the findings, the Maker community began researching ways of limiting the potential attack vector. If it were to be exploited on a large scale, it could lead to similar consequences as the Black Thursday incident. Bad vaults could eventually fall decisively below the 100% collateralization threshold, meaning that even if they were liquidated, they would still leave the system with unbacked Dai. Alternatively, high gas costs could mean that the largest profitable bid would not return enough Dai to cover the debt.

The Maker community is studying a quick remedy of raising the minimum vault size, but Velner is skeptical of this solution, as it is unclear if a higher minimum would suddenly make these vaults attractive to liquidator bots. A longer-term solution is "Liquidations 2.0," where the protocol would directly pay liquidators for securing debt.

Velner believes this is largely an issue of incentives, noting that the cutthroat competition between liquidators introduces uncertainty in the expected profits that cannot be estimated analytically. B.Protocol aims to reduce the extent to which liquidators compete with each other, limiting it to periodic auctions where they bid for the right to engage in liquidations undisturbed. B.Protocol was also responsible for bringing to light Maker's critical weakness regarding flash loans.

Other protocols relying on liquidation auctions could also be vulnerable to this issue, Velner noted.

Alex Melikhov, CEO of Equilibrium — a cross-chain lending protocol similar to MakerDAO — argued in a conversation with Cointelegraph that Maker's complex auction mechanism has resulted in a “poor track record of maintaining normal operations during times of market pressure.”

The solution adopted by Equilibrium relies on “bailsmen” that continuously commit liquidity, which is then automatically drawn by the protocol to patch up bad debt. According to Melikhov, the system suffers “none of the drawbacks we’re learning about MakerDAO’s auction mechanics.”

Victims of the Black Thursday crash were ultimately not refunded by the Maker community, partially due to the belief that it was a market failure, not an issue with the system. Nonetheless, given the current efforts to overhaul debt auctions, it appears that the community is beginning to recognize its limitations.

Tags
Dai
Related Posts
Compound liquidator makes $4M as oracles post inflated Dai price
The crypto market suffered a powerful crash on Thursday morning UTC, which sent prices of major currencies such as Bitcoin (BTC) and Ether (ETH) tumbling in excess of 10%. When traders rush for the exits, the price of stablecoins generally increase as the demand for stability rises. In today’s crash, however, the effect became particularly pronounced on Dai, which briefly traded for $1.3 between 7 am and 8 am UTC. Most notably, Dai traded at this inflated valuation only on Coinbase and Uniswap, while other exchanges including Kraken and Bitfinex seem to have maintained a relatively stable price. Coinbase and …
Technology / Nov. 26, 2020
Finance Redefined: You get hacked, they get hacked, everyone gets hacked, Nov. 11–18
If people actually used insurance against hacks, this week would definitely have bankrupted a great many insurers. In the span of one week, a total of four flash loan-enabled exploits were registered (one actually happened the week before, but wasn’t noticed until later). We have, in order, Cheese Bank with a $3.3 million theft, Akropolis with its $2 million loss, Value DeFi with a whopping $6 million exploit and finally Origin Protocol’s loss of $7 million. In total, the hackers stole $18.3 million, which admittedly, is not that much — less than the single October exploit of Harvest Finance. As …
Technology / Nov. 19, 2020
MakerDAO Takes New Measures to Prevent Another ‘Black Swan’ Collapse
The decentralized finance lending platform Maker, like many crypto participants, suffered losses during the price collapse of “Black Thursday” on March 12. The price of Ether (ETH) declined by about 50% within 24 hours, triggering opportunistic profiteering as the Maker system became swamped with a huge volume of liquidations. In the aftermath of the crisis, Maker recorded losses totaling 6.65 million Dai (about $6.65 million) and has been forced to make sweeping changes to its governance and auction parameters. The project also added the stablecoin USD Coin (USDC) to its collateral pool. Amid the losses incurred by the project, Maker …
Technology / May 4, 2020
Chicago DeFi Alliance Launches to Save Decentralized Finance
Amid the apparent ongoing collapse in decentralized finance (DeFi) lending, a group of major trading and cryptocurrency companies in the United States are launching an alliance to support the sector. Introduced on April 7, the Chicago DeFi Alliance (CDA) aims to provide DeFi-focused startups and entrepreneurs with support and guidance in complying with trading regulations and other applicable requirements. Chicago DeFi Alliance to share its expertise to boost DeFi liquidity and markets According to a blog post by crypto fund Volt Capital, a founding member the CDA initiative, the alliance also includes major brokerage firm TD Ameritrade, crypto investment firms …
Decentralization / April 8, 2020
MakerDAO goes ahead with $500M investment in treasuries and bonds
MakerDAO, the governing body of the Maker Protocol, has taken the first step of its plan to reallocate $500 million of its stablecoin Dai (DAI) collateral reserves into short-term United States Treasuries and corporate bonds. The decentralized autonomous organization (DAO) voted on Oct. 6 to approve a pilot transaction of $1 million following an executive vote from Maker (MKR) token holders, with the rest of the funds soon to be reallocated following confirmation from the community. A majority, 80% of the $500 million, will be invested in short-term U.S. Treasuries, with $160 million allocated to the 0-1y US Treasury iShares …
Etf / Oct. 7, 2022