Lune

CCS2023顶会

Lanturn: Measuring Economic Security of Smart Contracts Through Adaptive Learning

Kushal Babel, Mojan Javaheripi, Yan Ji, Mahimna Kelkar, Farinaz Koushanfar, Ari Juels

摘要

We introduce Lanturn: a general purpose adaptive learning-based framework for measuring the cryptoeconomic security of composed decentralized-finance (DeFi) smart contracts. Lanturn discovers strategies comprising of concrete transactions for extracting economic value from smart contracts interacting with a particular transaction environment. We formulate the strategy discovery as a black-box optimization problem and leverage a novel adaptive learning-based algorithm to address it. Lanturn features three key properties. First, it needs no contractspecific heuristics or reasoning, due to our black-box formulation of cryptoeconomic security. Second, it utilizes a simulation framework that operates natively on blockchain state and smart contract machine code, such that transactions returned by Lanturn's learning-based optimization engine can be executed on-chain without modification. Finally, Lanturn is scalable in that it can explore strategies comprising a large number of transactions that can be reordered or subject to insertion of new transactions. We evaluate Lanturn on the historical data of the biggest and most active DeFi Applications: Sushiswap, UniswapV2, UniswapV3, and AaveV2. Our results show that Lanturn not only rediscovers existing, well-known strategies for extracting value from smart contracts, but also discovers new strategies that are previously undocumented. Lanturn also consistently discovers higher value than evidenced in the wild, surpassing a natural baseline computed using value extracted by bots and other strategic agents.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Decentralization of Ethereum's Builder Market 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • Decentralization of Ethereum's Builder Market 引用了 High-Frequency Trading on Decentralized On-Chain Exchanges
  • Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 Rollups 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 Rollups 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
  • On the Just-In-Time Discovery of Profit-Generating Transactions in DeFi Protocols 引用了 High-Frequency Trading on Decentralized On-Chain Exchanges
  • Stealing Trust: Unraveling Blind Message Attacks in Web3 Authentication 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • Stealing Trust: Unraveling Blind Message Attacks in Web3 Authentication 引用了 On the Just-In-Time Discovery of Profit-Generating Transactions in DeFi Protocols
  • Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain 引用了 High-Frequency Trading on Decentralized On-Chain Exchanges
  • MEVisor: High-Throughput MEV Discovery in DEXs with GPU Parallelism 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • MEVisor: High-Throughput MEV Discovery in DEXs with GPU Parallelism 引用了 Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 Rollups
  • MEVisor: High-Throughput MEV Discovery in DEXs with GPU Parallelism 引用了 On the Just-In-Time Discovery of Profit-Generating Transactions in DeFi Protocols
  • MEVisor: High-Throughput MEV Discovery in DEXs with GPU Parallelism 引用了 Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain
  • MEVisor: High-Throughput MEV Discovery in DEXs with GPU Parallelism 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
  • Quantifying Blockchain Extractable Value: How dark is the forest? 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • Quantifying Blockchain Extractable Value: How dark is the forest? 引用了 On the Just-In-Time Discovery of Profit-Generating Transactions in DeFi Protocols
  • Quantifying Blockchain Extractable Value: How dark is the forest? 引用了 High-Frequency Trading on Decentralized On-Chain Exchanges
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 RollupsChristof Ferreira Torres, Albin Mamuti, Ben Weintraub, Cristina Nita-Rotaru 等CCS 2024 · 12 次引用
  2. Stealing Trust: Unraveling Blind Message Attacks in Web3 AuthenticationKailun Yan, Xiaokuan Zhang, Wenrui DiaoCCS 2024 · 5 次引用
  3. MEVisor: High-Throughput MEV Discovery in DEXs with GPU ParallelismWeimin Chen, Xiapu LuoNDSS 2026 · 1 次引用
  4. Decentralization of Ethereum's Builder MarketSen Yang, Kartik Nayak, Fan ZhangS&P 2025
  5. Elastic Restaking Networks: United we fall, (partially) divided we standRoi Bar Zur, Ittay EyalCCS 2025

它引用的 Paper7

  1. Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus InstabilityPhilip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li 等S&P 2020 · 607 次引用
  2. Quantifying Blockchain Extractable Value: How dark is the forest?Kaihua Qin, Liyi Zhou, Arthur GervaisS&P 2022 · 336 次引用
  3. High-Frequency Trading on Decentralized On-Chain ExchangesLiyi Zhou, Kaihua Qin, Christof Ferreira Torres, Duc Viet Le 等S&P 2021 · 243 次引用
  4. Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum BlockchainChristof Ferreira Torres, Ramiro Camino, Radu StateUSENIX Security 2021 · 179 次引用
  5. On the Just-In-Time Discovery of Profit-Generating Transactions in DeFi ProtocolsLiyi Zhou, Kaihua Qin, Antoine Cully, Benjamin Livshits 等S&P 2021 · 148 次引用

相关 Paper

  1. Clockwork Finance: Automated Analysis of Economic Security in Smart ContractsKushal Babel, Philip Daian, Mahimna Kelkar, Ari JuelsS&P 2023
  2. Verifying Economic Security of Smart Contracts via Unintended ReturnYi Rong, Xupeng Li, Ronghui GuOOPSLA 2026
  3. FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven ApproximationZhiyang Chen, Sidi Mohamed Beillahi, Fan LongICSE 2024 · 21 次引用
  4. HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi ProtocolsDongyu Meng, Fabio Gritti, Robert McLaughlin, Nicola Ruaro 等NDSS 2026 · 2 次引用
  5. FORAY: Towards Effective Attack Synthesis against Deep Logical Vulnerabilities in DeFi ProtocolsHongbo Wen, Hanzhi Liu, Jiaxin Song, Yanju Chen 等CCS 2024 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖