arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.00626q-fin.CPq-fin.TR
收藏

Flashot:闪贷攻击DeFi生态的一个快照

Flashot: A Snapshot of Flash Loan Attack on DeFi Ecosystem

Yixin Cao, Chuanwei Zou, Xianfeng Cheng

摘要:

闪电贷款攻击可以在一笔交易中从分散的金库中窃取数百万美元,引起了分散金融(DeFi)玩家越来越多的关注。它也展示了一个令人兴奋的机会,即通过组合DeFi的构建模块和探索套利变化可以创造巨大的财富。然而,研究DeFi领域的基本框架尚未达成共识,并且缺乏标准工具或语言来帮助更好地描述,设计和改进婴儿DeFi系统的运行过程,这自然使得更难理解Flash Loan攻击复杂性背后的基本原理。在本文中,我们是第一个提出Flashot的人,这是一个原型,能够透明地说明每个Flash Loan事件的标准化图表中与智能合约交织在一起的精确资产流。文中给出了一些使用案例,并基于Flashot,研究了一个典型的Pump和Arbitrage案例,对攻击者的行为进行了深入的经济学解释。最后总结了Flash Loan攻击的发展趋势,并讨论了Flash Loan对DeFi生态系统的巨大影响。我们设想一个全新的量化金融行业,由基于区块链的高效自动风险和利润检测系统提供支持。

英文摘要:

Flash Loan attack can grab millions of dollars from decentralized vaults in one single transaction, drawing increasing attention from the Decentralized Finance (DeFi) players. It has also demonstrated an exciting opportunity that a huge wealth could be created by composing DeFi's building blocks and exploring the arbitrage change. However, a fundamental framework to study the field of DeFi has not yet reached a consensus and there's a lack of standard tools or languages to help better describe, design and improve the running processes of the infant DeFi systems, which naturally makes it harder to understand the basic principles behind the complexity of Flash Loan attacks. In this paper, we are the first to propose Flashot, a prototype that is able to transparently illustrate the precise asset flows intertwined with smart contracts in a standardized diagram for each Flash Loan event. Some use cases are shown and specifically, based on Flashot, we study a typical Pump and Arbitrage case and present in-depth economic explanations to the attacker's behaviors. Finally, we conclude the development trends of Flash Loan attacks and discuss the great impact on DeFi ecosystem brought by Flash Loan. We envision a brand new quantitative financial industry powered by highly efficient automatic risk and profit detection systems based on the blockchain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑