Lune

S&P2021顶会

Compositional Security for Reentrant Applications

Ethan Cecchetti, Siqiu Yao, Haobin Ni, Andrew C. Myers

摘要

The disastrous vulnerabilities in smart contracts sharply remind us of our ignorance: we do not know how to write code that is secure in composition with malicious code. Information flow control has long been proposed as a way to achieve compositional security, offering strong guarantees even when combining software from different trust domains. Unfortunately, this appealing story breaks down in the presence of reentrancy attacks. We formalize a general definition of reentrancy and introduce a security condition that allows software modules like smart contracts to protect their key invariants while retaining the expressive power of safe forms of reentrancy. We present a security type system that provably enforces secure information flow; in conjunction with run-time mechanisms, it enforces secure reentrancy even in the presence of unknown code; and it helps locate and correct recent high-profile vulnerabilities.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic Execution 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic Execution 引用了 Ethainter: a smart contract security analyzer for composite vulnerabilities
  • Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic Execution 引用了 Making Smart Contracts Smarter
  • Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic Execution 引用了 SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
  • Securing smart contract with runtime validation 引用了 Making Smart Contracts Smarter
  • Enhancing Smart Contract Security Analysis with Execution Property Graphs 引用了 Making Smart Contracts Smarter
  • Enhancing Smart Contract Security Analysis with Execution Property Graphs 引用了 SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Making Smart Contracts Smarter
  • Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts 引用了 Making Smart Contracts Smarter
  • Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart Contracts 引用了 SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
  • Making Smart Contracts Smarter 引用了 Town Crier: An Authenticated Data Feed for Smart Contracts
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Making Smart Contracts Smarter
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng 等S&P 2022 · 142 次引用
  2. Efficiently Detecting Reentrancy Vulnerabilities in Complex Smart ContractsZexu Wang, Jiachi Chen, Yanlin Wang, Yu Zhang 等FSE 2024 · 27 次引用
  3. Lanturn: Measuring Economic Security of Smart Contracts Through Adaptive LearningKushal Babel, Mojan Javaheripi, Yan Ji, Mahimna Kelkar 等CCS 2023 · 18 次引用
  4. Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic ExecutionYinxi Liu, Wei Meng, Yinqian ZhangFSE 2025 · 1 次引用
  5. Enhancing Smart Contract Security Analysis with Execution Property GraphsKaihua Qin, Zhe Ye, Zhun Wang, Weilin Li 等ISSTA 2025 · 1 次引用

它引用的 Paper7

  1. Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
  2. Town Crier: An Authenticated Data Feed for Smart ContractsFan Zhang, Ethan Cecchetti, Kyle Croman, Ari Juels 等CCS 2016 · 668 次引用
  3. teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用
  4. Ethainter: a smart contract security analyzer for composite vulnerabilitiesLexi Brent, Neville Grech, Sifis Lagouvardos, Bernhard Scholz 等PLDI 2020 · 163 次引用
  5. Securing smart contract with runtime validationAo Li, Jemin Andrew Choi, Fan LongPLDI 2020 · 60 次引用

相关 Paper

  1. AdvSCanner: Generating Adversarial Smart Contracts to Exploit Reentrancy Vulnerabilities Using LLM and Static AnalysisYin Wu, Xiaofei Xie, Chenyang Peng, Dijun Liu 等ASE 2024 · 9 次引用
  2. SmartIFSyn: Automated Information Flow Security Policy Synthesis for Smart ContractsYinghao Wu, Miaomiao Zhang, Fu Song, John W. Baugh Jr.FSE 2026
  3. Uncover the Premeditated Attacks: Detecting Exploitable Reentrancy Vulnerabilities by Identifying Attacker ContractsShuo Yang, Jiachi Chen, Mingyuan Huang, Zibin Zheng 等ICSE 2024 · 24 次引用
  4. Sereum: Protecting Existing Smart Contracts Against Re-Entrancy AttacksMichael Rodler, Wenting Li, Ghassan O. Karame, Lucas DaviNDSS 2019 · 298 次引用
  5. Verifying Smart Contract Security against Re-entrancy Attacks through Relational Value AnalysisDivya Rathore, Kartik NagarFSE 2026
黄昏的海面,两侧是细线勾勒的悬崖