'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.

AccessTimeIconOct 29, 2020 at 5:45 p.m. UTC
Updated Sep 14, 2021 at 10:25 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

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.


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

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

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.