Attacking the DeFi Ecosystem with Flash Loans for Fun and Profit

03/08/2020
by   Kaihua Qin, et al.
0

Credit allows a lender to loan out surplus capital to a borrower. In the traditional economy, credit bears the risk that the borrower may default on its debt, the lender hence requires an upfront collateral from the borrower, plus interest fee payments. Due to the atomicity of blockchain transactions, lenders can offer flash loans, i.e. loans that are only valid within one transaction and must be repaid by the end of that transaction. This concept has lead to a number of interesting attack possibilities, some of which have been exploited recently (February 2020). This paper is the first to explore the implication of flash loans for the nascent decentralized finance (DeFi) ecosystem. We analyze two existing attacks vectors with significant ROIs (beyond 500k finding flash loan-based attack parameters as an optimization problem over the state of the underlying Ethereum blockchain as well as the state of the DeFi ecosystem. Specifically, we show how two previously executed attacks can be “boosted” to result in a profit of 829.5k USD and 1.1M USD, respectively, which is a boost of 2.37x and 1.73x, respectively.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/22/2022

SoK: Preventing Transaction Reordering Manipulations in Decentralized Finance

User transactions on Ethereum's peer-to-peer network are at risk of bein...
research
06/21/2022

FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation

In decentralized finance (DeFi) ecosystem, lenders can offer flash loans...
research
07/31/2022

ERC-20R and ERC-721R: Reversible Transactions on Ethereum

Blockchains are meant to be persistent: posted transactions are immutabl...
research
05/17/2022

F3B: A Low-Latency Commit-and-Reveal Architecture to Mitigate Blockchain Front-Running

Front-running attacks, which benefit from advanced knowledge of pending ...
research
10/23/2020

Towards understanding flash loan and its applications in defi ecosystem

Flash Loan, as an emerging service in the decentralized finance ecosyste...
research
07/02/2018

Mining Bad Credit Card Accounts from OLAP and OLTP

Credit card companies classify accounts as a good or bad based on histor...
research
10/05/2019

Constrained Credit Networks

The Credit Network is a model for transactions across a network of agent...

Please sign up or login with your details

Forgot password? Click here to reset