Coindesk Logo

'Flash Loans' Have Made Their Way to Manipulating Protocol Elections

'Flash Loans' Have Made Their Way to Manipulating Protocol Elections

'Flash Loans' Have Made Their Way to Manipulating Protocol Elections

BProtocol used a flash loan to speed up election results on MakerDAO. The DeFi platform is now weighing changes to its voting process.

BProtocol used a flash loan to speed up election results on MakerDAO. The DeFi platform is now weighing changes to its voting process.

BProtocol used a flash loan to speed up election results on MakerDAO. The DeFi platform is now weighing changes to its voting process.

AccessTimeIconOct 29, 2020, 5:45 PM
Updated Aug 19, 2021, 5:22 AM

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

Flash loans can be used for more than just siphoning funds out of poorly put-together decentralized finance (DeFi) protocols.

That’s one lesson investors can learn from Israel-based startup BProtocol’s manipulation of flash loans to sway election results on DeFi legacy project MakerDAO earlier this week.

According to the MakerDAO community forum, on October 26, BProtocol borrowed 13,000 MKR tokens worth some $7 million through a flash loan from derivatives platform dYdX swapped for MKR on lending platform Aave. Voting with the flash-loaned MKR tokens enabled BProtocol to speed up desired election results for its project built on MakerDAO.

The “attack” was less an attack than yet another unexpected consequence of flash loans, a crypto-first product that made its debut in early 2020 with DeFi platform Aave.

Read more: Everything You Ever Wanted to Know About the DeFi ‘Flash Loan’ Attack

Flash loans enable an in-the-know trader to amass mad leverage behind a trade by providing a temporary loan that must execute and settle in one block space. Here – and perhaps for the first time – BProtocol borrowed millions of MKR tokens to sway a protocol election and hand back the money in one block.

Other DeFi degens have used flash loans to perform what is commonly known as an oracle attack. In these situations a project’s funds are at risk due to poor project infrastructure – typically, shoddy pricing feeds. This happened last Sunday with $1 billion protocol Harvest Finance, which had prices for its stablecoin pools swayed by a flash loan, resulting in a haircut for Harvest traders.

Flash votes

The ability to use flash loans to exploit governance events is fairly new, however. Holders of MakerDAO’s governance token typically decide how the platform changes. 

But here BProtocol showed that if there are enough MKR tokens up for borrowing on DeFi markets, a flash loan can be used by just about anyone to sway Maker’s election results. All someone needs to do is wait to be last in line at the ballot and drop in the borrowed tokens, BProtocol CEO Yaron Velner said in a WhatsApp call.

Velner added he thinks the Maker Foundation was aware of the unlocked door BProtocol went through with its flash loan, and that the outcome of the vote would have likely been the same.

He said the team had been waiting extra days to be whitelisted for using MakerDAO’s pricing oracles and had become “curious” after months of studying Maker’s infrastructure to see if the flash loan was possible. So they decided to play a bit.

Now MakerDAO community members and the Maker Foundation are considering options for “disincentivizing large MKR Holders from providing MKR Liquidity on Lending Platforms and AMM Platforms” until MakerDAO can blacklist votes using flash loans, according to the MakerDAO forum

In lieu of comment, the Maker Foundation pointed CoinDesk to a community forum discussion from October 6 on limiting the use of flash loans for governance procedures.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information have been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.