SODA: A Generic Online Detection Framework for Smart Contracts
Ting Chen, Rong Cao, Ting Li, Xiapu Luo, Guofei Gu, Yufei Zhang, Zhou Liao, Hang Zhu, Gang Chen, Zheyuan He, Yuxing Tang, Xiaodong Lin, Xiaosong Zhang
摘要
—Smart contracts have become lucrative and profitable targets for attackers because they can hold a great amount of money. Unfortunately, existing offline approaches for discovering the vulnerabilities in smart contracts or checking the correctness of smart contracts cannot conduct online detection of attacking transactions. Besides, existing online approaches only focus on specific attacks and cannot be easily extended to detect other attacks. Moreover, developing a new online detection system for smart contracts from scratch is time-consuming and requires deep understanding of blockchain internals, thus making it difficult to quickly implement and deploy mechanisms to detect new attacks. In this paper, we propose a novel generic online detection framework named SODA for smart contracts on any blockchains that support Ethereum virtual machine (EVM). SODA distinguishes itself from existing online approaches through its capability, efficiency, and compatibility. First, SODA empowers users to easily develop apps for detecting various attacks online (i.e., when attacks happen) by separating information collection and attack detection with layered design. At the higher layer, SODA provides unified interfaces to develop detection apps against various attacks. At the lower layer, SODA instruments EVM to collect all primitive information necessary to detect various attacks and constructs 11 kinds of structural information for the ease of developing apps. Based on SODA , users can develop new apps in a few
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Safeguarding Blockchain Ecosystem: Understanding and Detecting Attack Transactions on Cross-chain Bridges 引用了 Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks 引用了 Making Smart Contracts Smarter
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks 引用了 Securify: Practical Security Analysis of Smart Contracts
- An empirical study of blockchain system vulnerabilities: modules, types, and patterns 引用了 Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- An empirical study of blockchain system vulnerabilities: modules, types, and patterns 引用了 ZEUS: Analyzing Safety of Smart Contracts
- An empirical study of blockchain system vulnerabilities: modules, types, and patterns 引用了 Making Smart Contracts Smarter
- An empirical study of blockchain system vulnerabilities: modules, types, and patterns 引用了 Securify: Practical Security Analysis of Smart Contracts
- ZEUS: Analyzing Safety of Smart Contracts 引用了 Making Smart Contracts Smarter
- 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 引用了 Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 ZEUS: Analyzing Safety of Smart Contracts
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Making Smart Contracts Smarter
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Securify: Practical Security Analysis of Smart Contracts
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts 引用了 Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts 引用了 Making Smart Contracts Smarter
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
- WASAI: uncovering vulnerabilities in Wasm smart contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- WASAI: uncovering vulnerabilities in Wasm smart contracts 引用了 Making Smart Contracts Smarter
- WASAI: uncovering vulnerabilities in Wasm smart contracts 引用了 EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
- Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
引用它的顶会 Paper22
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng 等S&P 2022 · 142 次引用
- EVMPatch: Timely and Automated Patching of Ethereum Smart ContractsMichael Rodler, Wenting Li, Ghassan O. Karame, Lucas DaviUSENIX Security 2021 · 103 次引用
- WASAI: uncovering vulnerabilities in Wasm smart contractsWeimin Chen, Zihan Sun, Haoyu Wang, Xiapu Luo 等ISSTA 2022 · 43 次引用
- An empirical study of blockchain system vulnerabilities: modules, types, and patternsXiao Yi, Daoyuan Wu, Lingxiao Jiang, Yuzhou Fang 等FSE 2022 · 22 次引用
- Safeguarding Blockchain Ecosystem: Understanding and Detecting Attack Transactions on Cross-chain BridgesJiajing Wu, Kaixin Lin, Dan Lin, Bozhao Zhang 等WWW 2025 · 20 次引用
它引用的 Paper8
- Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 次引用
- teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用
- Sereum: Protecting Existing Smart Contracts Against Re-Entrancy AttacksMichael Rodler, Wenting Li, Ghassan O. Karame, Lucas DaviNDSS 2019 · 298 次引用
相关 Paper
- Enhancing Smart Contract Security Analysis with Execution Property GraphsKaihua Qin, Zhe Ye, Zhun Wang, Weilin Li 等ISSTA 2025 · 1 次引用
- SmartDagger: a bytecode-based static analysis approach for detecting cross-contract vulnerabilityZeqin Liao, Zibin Zheng, Xiao Chen, Yuhong NanISSTA 2022 · 64 次引用
- COBRA: Interaction-Aware Bytecode-Level Vulnerability Detector for Smart ContractsWenkai Li, Xiaoqi Li, Zongwei Li, Yuqing ZhangASE 2024 · 4 次引用
- Phishing in Wonderland: Evaluating Learning-Based Ethereum Phishing Transaction Detection and PitfallsAhod Alghuried, David MohaisenNDSS 2026 · 4 次引用
- EOSAFE: Security Analysis of EOSIO Smart ContractsNingyu He, Ruiyi Zhang, Haoyu Wang, Lei Wu 等USENIX Security 2021 · 69 次引用
