ReGuard: finding reentrancy bugs in smart contracts
The DOI matches its Crossref record; 6 of the 6 references it cites were found in a registry or an index.
Abstract
Smart contracts enabled a new way to perform cryptocurrency transactions over blockchains. While this emerging technique introduces free-of-conflicts and transparency, smart contract itself is vulnerable. As a special form of computer program, smart contract can hardly get rid of bugs. Even worse, an exploitable security bug can lead to catastrophic consequences, e.g., loss of cryptocurrency/money. In this demo paper, we focus on the most common type of security bugs in smart contracts, i.e., reentrancy bug, which caused the famous DAO attack with a loss of 60 million US dollars. We presented ReGuard, an fuzzing-based analyzer to automatically detect reentrancy bugs in Ethereum smart contracts. Specifically, ReGuard performs fuzz testing on smart contracts by iteratively generating random but diverse transactions. Based on the runtime traces, ReGuard further dynamically identifies reentrancy vulnerabilities. In the preliminary evaluation, we have analyzed 5 existing Ethereum contracts. ReGuard automatically flagged 7 previously unreported reentrancy bugs. A demo video of ReGuard is at https://youtu.be/XxJ3_-cmUiY.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Making Smart Contracts Smarter
Luu, L., Chu, D.-H., Olickel, H., Saxena, P., & Hobor, A. (2016) · Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2976749.2978309 · Cited by 2,249 · cited 2×
“We used Oyente [11] as a comparison to investigate differences between fuzzing ( ReGuard ) and symbolic execution ( Oyente ) based techniques.”
MethodA Survey of Attacks on Ethereum Smart Contracts (SoK)
Atzei, N., Bartoletti, M., & Cimoli, T. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-54455-6_8 · Cited by 1,553 · cited 1×
“The security of smart contracts has been attracting research concerns as blockchain applications become popular [3, 5, 8, 10, 13].”
BackgroundFormal Verification of Smart Contracts: Short Paper
Bhargavan, K., Delignat-Lavaud, A., Fournet, C., Gollamudi, A., Gonthier, G., Kobeissi, N., Kulatova, N., Rastogi, A., Sibut-Pinote, T., Swamy, N., et al. (2016) · Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security · doi:10.1145/2993600.2993611 · Cited by 626
Step by Step Towards Creating a Safe Smart Contract: Lessons and Insights from a Cryptocurrency Lab
Delmolino, K., Arnett, M., Kosba, A., Miller, A., & Shi, E. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-53357-4_6 · Cited by 505 · cited 1×
“Delmolino et al. show that even a rather simple smart contract ( e.g. , "Rock, Paper, Scissors") may lead to various kinds of flaws [6].”
BackgroundDefining the Ethereum Virtual Machine for Interactive Theorem Provers
Hirai, Y. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-70278-0_33 · Cited by 279 · cited 1×
“The security of smart contracts has been attracting research concerns as blockchain applications become popular [3, 5, 8, 10, 13].”
BackgroundKEVM: A Complete Semantics of the Ethereum Virtual Machine
Hildenbrandt, E., Saxena, M., Zhu, X., Rodrigues, N., Daian, P., Guth, D., & Roşu, G. (2017) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign) · Cited by 101
Cited by
An overview on smart contracts: Challenges, advances and platforms
Zheng, Z., Xie, S., Dai, H.-N., Chen, W., Chen, X., Weng, J., & Imran, M. (2020) · Future Generation Computer Systems · doi:10.1016/j.future.2019.12.019 · Cited by 1,197
Blockchain smart contracts: Applications, challenges, and future trends
Khan, S. N., Loukil, F., Ghedira-Guegan, C., Benkhelifa, E., & Bani-Hani, A. (2021) · Peer-to-Peer Networking and Applications · doi:10.1007/s12083-021-01127-0 · Cited by 841
Smart Contract Development: Challenges and Opportunities
Zou, W., Lo, D., Kochhar, P. S., Le, X.-B. D., Xia, X., Feng, Y., Chen, Z., & Xu, B. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2942301 · Cited by 727
Self-citationSurvey on blockchain based smart contracts: Applications, opportunities and challenges
Hewa, T., Ylianttila, M., & Liyanage, M. (2021) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2020.102857 · Cited by 437
The Roadmap to 6G Security and Privacy
Porambage, P., Gur, G., Osorio, D. P. M., Liyanage, M., Gurtov, A., & Ylianttila, M. (2021) · IEEE Open Journal of the Communications Society · doi:10.1109/ojcoms.2021.3078081 · Cited by 416
Empirical review of automated analysis tools on 47,587 Ethereum smart contracts
Durieux, T., Ferreira, J. F., Abreu, R., & Cruz, P. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380364 · Cited by 409
“tps://github.com/christoftorres/Osiris 19 Oyente [27] https://github.com/melonproject/oyente 20 Porosity [38] https://github.com/comaeio/porosity 21 rattle https://github.com/crytic/rattle 22 ReGuard [25] N/A 23 Remix https://github.com/ethereum/remix 24 SASC [43] N/A 25 sCompile [6] N/A 26 Securify [42] https://githu…”
How should we understand the digital economy in Asia? Critical assessment and research agenda
Li, K., Kim, D. J., Lang, K. R., Kauffman, R. J., & Naldi, M. (2020) · Electronic Commerce Research and Applications · doi:10.1016/j.elerap.2020.101004 · Cited by 404
Systematic Review of Security Vulnerabilities in Ethereum Blockchain Smart Contract
Kushwaha, S. S., Joshi, S., Singh, D., Kaur, M., & Lee, H.-N. (2022) · IEEE Access · doi:10.1109/access.2021.3140091 · Cited by 350
Blockchain smart contracts formalization: Approaches and challenges to address vulnerabilities
Singh, A., Parizi, R. M., Zhang, Q., Choo, K.-K. R., & Dehghantanha, A. (2020) · Computers & Security · doi:10.1016/j.cose.2019.101654 · Cited by 285
The role of blockchain technology in telehealth and telemedicine
Ahmad, R. W., Salah, K., Jayaraman, R., Yaqoob, I., Ellahham, S., & Omar, M. (2021) · International Journal of Medical Informatics · doi:10.1016/j.ijmedinf.2021.104399 · Cited by 282
A Survey on Security Verification of Blockchain Smart Contracts
Liu, J., & Liu, Z. (2019) · IEEE Access · doi:10.1109/access.2019.2921624 · Cited by 261
Attacking the DeFi Ecosystem with Flash Loans for Fun and Profit
Qin, K., Zhou, L., Livshits, B., & Gervais, A. (2021) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-64322-8_1 · Cited by 255
Vacca, A., Di Sorbo, A., Visaggio, C. A., & Canfora, G. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110891 · Cited by 246
SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocols
Xu, J., Paruch, K., Cousaert, S., & Feng, Y. (2023) · ACM Computing Surveys · doi:10.1145/3570639 · Cited by 230
Towards Automated Reentrancy Detection for Smart Contracts Based on Sequential Models
Qian, P., Liu, Z., He, Q., Zimmermann, R., & Wang, X. (2020) · IEEE Access · doi:10.1109/access.2020.2969429 · Cited by 227
“Existing methods for automatically vulnerability detection have applied symbolic execution [9], [10] and dynamic analysis [11], [12].”
BackgroundMethodA Survey of Tools for Analyzing Ethereum Smart Contracts
di Angelo, M., & Salzer, G. (2019) · 2019 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPCON) · doi:10.1109/dappcon.2019.00018 · Cited by 197
“ReGuard [48] is a tool by the company Chieftin Lab for detecting reentrancy vulnerabilities.”
MethodEthereum smart contract security research: survey and future research opportunities
Wang, Z., Jin, H., Dai, W., Choo, K.-K. R., & Zou, D. (2021) · Frontiers of Computer Science · doi:10.1007/s11704-020-9284-9 · Cited by 190
Survey on Blockchain-Based Smart Contracts: Technical Aspects and Future Research
Hewa, T. M., Hu, Y., Liyanage, M., Kanhare, S. S., & Ylianttila, M. (2021) · IEEE Access · doi:10.1109/access.2021.3068178 · Cited by 189
“[94] presented the tool ReGuard, which are usable to identify re-entrency bugs in smart contracts.”
MethodEthereum Smart Contract Analysis Tools: A Systematic Review
Kushwaha, S. S., Joshi, S., Singh, D., Kaur, M., & Lee, H.-N. (2022) · IEEE Access · doi:10.1109/access.2022.3169902 · Cited by 181
“• Reentrancy [24, 25, 26]: It is one of the most famous vulnerabilities related to the Ethereum smart contract.”
BackgroundSmart Contract Vulnerability Detection: The Role of Large Language Model (LLM)
Boi, B., Esposito, C., & Lee, S. (2024) · ACM SIGAPP Applied Computing Review · doi:10.1145/3687251.3687253 · Cited by 41
“To mitigate this, developers use the Checks-Effects-Interactions pattern to ensure all internal state changes are completed before calling external contracts[18].”
Automated Smart Contract Vulnerability Detection using Fine-tuned Large Language Models
Yang, Z., Man, G., & Yue, S. (2023) · Proceedings of the 2023 6th International Conference on Blockchain Technology and Applications · doi:10.1145/3651655.3651658 · Cited by 10
Metadata
- Authors
- Liu, C., Liu, H., Cao, Z., Chen, Z., Chen, B., & Roscoe, B.
- Venue
- Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings
- Publisher
- ACM
- Published
- 2018-05-27
- Pages
- 65-68
- OpenAlex
- W2808815243
- Cited by
- 240
- References
- 6
- FWCI
- 18.34
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.