Skip to main content
Erschienen in: Empirical Software Engineering 2/2024

01.03.2024

An empirical study of attack-related events in DeFi projects development

verfasst von: Dongming Xiang, Yuanchang Lin, Liming Nie, Yaowen Zheng, Zhengzi Xu, Zuohua Ding, Yang Liu

Erschienen in: Empirical Software Engineering | Ausgabe 2/2024

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Decentralized Finance (DeFi) offers users decentralized financial services that are associated with the security of their assets. If DeFi is attacked, it could lead to considerable losses. Unfortunately, there is a lack of research on how DeFi developers respond to attacks during the development process. This lack of knowledge makes it difficult to identify which attacks to protect against and to create a comprehensive attack response system. This paper presents an empirical study to understand the current state of developers’ response to attacks during the development process. In addition, we conduct an analytical framework to help developers take preventive measures against attacks. Our research has revealed that Overflow Attack-related events are the most frequent (63, 19.75% of all attack-related events), and high-value DeFi projects tend to have more feedback and active development activities. We have observed that most of the attack instances (61, 85.92%) do not have corresponding attack-related development events, which can lead to a lack of trust between project teams and users if it is unclear whether the team responds to attacks. Furthermore, we have noticed that after the resolution of the same attack-related event, some attacks may recur, even though they could have been prevented. Consequently, we suggest some future research directions and provide some advice for DeFi project developers.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Literatur
Zurück zum Zitat Ahmadjee S, Mera-G’omez C, Bahsoon R (2021) Assessing smart contracts security technical debts. 2021 IEEE/ACM International Conference on Technical Debt (TechDebt), pp 6–15 Ahmadjee S, Mera-G’omez C, Bahsoon R (2021) Assessing smart contracts security technical debts. 2021 IEEE/ACM International Conference on Technical Debt (TechDebt), pp 6–15
Zurück zum Zitat Alzoubi YI, Al-Ahmad A, Kahtan H, Jaradat A (2022) Internet of things and blockchain integration: security, privacy, technical, and design challenges. Future Internet 14(7):216CrossRef Alzoubi YI, Al-Ahmad A, Kahtan H, Jaradat A (2022) Internet of things and blockchain integration: security, privacy, technical, and design challenges. Future Internet 14(7):216CrossRef
Zurück zum Zitat Barbereau T, Smethurst R, Papageorgiou O, Rieger A, Fridgen G (2022) Defi, not so decentralized: the measured distribution of voting rights Barbereau T, Smethurst R, Papageorgiou O, Rieger A, Fridgen G (2022) Defi, not so decentralized: the measured distribution of voting rights
Zurück zum Zitat Berg JA, Fritsch R, Heimbach L, Wattenhofer R (2022) An empirical study of market inefficiencies in uniswap and sushiswap. arXiv:2203.07774 Berg JA, Fritsch R, Heimbach L, Wattenhofer R (2022) An empirical study of market inefficiencies in uniswap and sushiswap. arXiv:​2203.​07774
Zurück zum Zitat Carapella F, Dumas E, Gerszten J, Swem N, Wall L (2022) Decentralized finance (defi): transformative potential & associated risks Carapella F, Dumas E, Gerszten J, Swem N, Wall L (2022) Decentralized finance (defi): transformative potential & associated risks
Zurück zum Zitat Carter N, Jeng L (2021) Defi protocol risks: the paradox of defi. Regtech, suptech and beyond: innovation and technology in financial services” riskbooks–forthcoming Q 3 Carter N, Jeng L (2021) Defi protocol risks: the paradox of defi. Regtech, suptech and beyond: innovation and technology in financial services” riskbooks–forthcoming Q 3
Zurück zum Zitat Chen J, Xia X, Lo D, Grundy J, Luo X, Chen T (2019) Defining smart contract defects on ethereum. IEEE Trans Softw Eng 48:327–345CrossRef Chen J, Xia X, Lo D, Grundy J, Luo X, Chen T (2019) Defining smart contract defects on ethereum. IEEE Trans Softw Eng 48:327–345CrossRef
Zurück zum Zitat Ellis S, Juels A, Nazarov S (2017) Chainlink: a decentralized oracle network. Retrieved March 11, 2018 Ellis S, Juels A, Nazarov S (2017) Chainlink: a decentralized oracle network. Retrieved March 11, 2018
Zurück zum Zitat Gao J, Liu H, Liu C, Li Q, Guan Z, Chen Z (2019) Easyflow: keep ethereum away from overflow. In: 2019 IEEE/ACM 41st international conference on software engineering: companion proceedings (ICSE-Companion), IEEE, pp 23–26 Gao J, Liu H, Liu C, Li Q, Guan Z, Chen Z (2019) Easyflow: keep ethereum away from overflow. In: 2019 IEEE/ACM 41st international conference on software engineering: companion proceedings (ICSE-Companion), IEEE, pp 23–26
Zurück zum Zitat Han J, Huang S, Zhong Z (2021) Trust in defi: an empirical study of the decentralized exchange. Available at SSRN 3896461 Han J, Huang S, Zhong Z (2021) Trust in defi: an empirical study of the decentralized exchange. Available at SSRN 3896461
Zurück zum Zitat He D, Wu R, Li X, Chan S, Guizani M (2023) Detection of vulnerabilities of blockchain smart contracts. IEEE Internet of Things J He D, Wu R, Li X, Chan S, Guizani M (2023) Detection of vulnerabilities of blockchain smart contracts. IEEE Internet of Things J
Zurück zum Zitat Hu L, Wong WE, Kuhn DR, Kacker RN, Li S (2022) Ct-iot: a combinatorial testing-based path selection framework for effective iot testing. Empir Softw Eng 27:1–38CrossRef Hu L, Wong WE, Kuhn DR, Kacker RN, Li S (2022) Ct-iot: a combinatorial testing-based path selection framework for effective iot testing. Empir Softw Eng 27:1–38CrossRef
Zurück zum Zitat Hu X, Zhuang Y, Lin SW, Zhang F, Kan S, Cao Z (2021) A security type verifier for smart contracts. Comput Secur 108:102343CrossRef Hu X, Zhuang Y, Lin SW, Zhang F, Kan S, Cao Z (2021) A security type verifier for smart contracts. Comput Secur 108:102343CrossRef
Zurück zum Zitat Ivanov N, Li C, Yan Q, Sun Z, Cao Z, Luo X (2023) Security threat mitigation for smart contracts: a comprehensive survey. ACM Comput Surv Ivanov N, Li C, Yan Q, Sun Z, Cao Z, Luo X (2023) Security threat mitigation for smart contracts: a comprehensive survey. ACM Comput Surv
Zurück zum Zitat Jensen JR, von Wachter V, Ross O (2021) An introduction to decentralized finance (defi). Complex Syst Inf Model Q 26:46–54 Jensen JR, von Wachter V, Ross O (2021) An introduction to decentralized finance (defi). Complex Syst Inf Model Q 26:46–54
Zurück zum Zitat Kaur G, Habibi Lashkari A, Sharafaldin I, Habibi Lashkari Z (2023) Smart contracts and defi security and threats. In: Understanding cybersecurity management in decentralized finance: challenges, strategies, and trends, Springer, pp 91–111 Kaur G, Habibi Lashkari A, Sharafaldin I, Habibi Lashkari Z (2023) Smart contracts and defi security and threats. In: Understanding cybersecurity management in decentralized finance: challenges, strategies, and trends, Springer, pp 91–111
Zurück zum Zitat Keele S, et al. (2007) Guidelines for performing systematic literature reviews in software engineering Keele S, et al. (2007) Guidelines for performing systematic literature reviews in software engineering
Zurück zum Zitat Khan MQ, Shahid A, Uddin MI, Roman M, Alharbi A, Alosaimi W, Almalki J, Alshahrani SM (2022) Impact analysis of keyword extraction using contextual word embedding. PeerJ Comput Sci 8:e967CrossRef Khan MQ, Shahid A, Uddin MI, Roman M, Alharbi A, Alosaimi W, Almalki J, Alshahrani SM (2022) Impact analysis of keyword extraction using contextual word embedding. PeerJ Comput Sci 8:e967CrossRef
Zurück zum Zitat Krupa T, Ries M, Kotuliak I, Bencel R et al (2021) Security issues of smart contracts in ethereum platforms. In: 2021 28th Conference of Open Innovations Association (FRUCT), IEEE, pp 208–214 Krupa T, Ries M, Kotuliak I, Bencel R et al (2021) Security issues of smart contracts in ethereum platforms. In: 2021 28th Conference of Open Innovations Association (FRUCT), IEEE, pp 208–214
Zurück zum Zitat Liu B, Szalachowski P, Zhou J (2021) A first look into defi oracles. In: 2021 IEEE international conference on decentralized applications and infrastructures (DAPPS), IEEE, pp 39–48 Liu B, Szalachowski P, Zhou J (2021) A first look into defi oracles. In: 2021 IEEE international conference on decentralized applications and infrastructures (DAPPS), IEEE, pp 39–48
Zurück zum Zitat Maouchi Y, Charfeddine L, El Montasser G (2022) Understanding digital bubbles amidst the covid-19 pandemic: evidence from defi and nfts. Finance Res Lett 47:102584 Maouchi Y, Charfeddine L, El Montasser G (2022) Understanding digital bubbles amidst the covid-19 pandemic: evidence from defi and nfts. Finance Res Lett 47:102584
Zurück zum Zitat McKight PE, Najab J (2010) Kruskal-wallis test. The corsini encyclopedia of psychology pp 1–1 McKight PE, Najab J (2010) Kruskal-wallis test. The corsini encyclopedia of psychology pp 1–1
Zurück zum Zitat Metelski D, Sobieraj J (2022) Valuations of decentralised finance (defi) protocols: a panel data study investigating defi’s key performance indicators Metelski D, Sobieraj J (2022) Valuations of decentralised finance (defi) protocols: a panel data study investigating defi’s key performance indicators
Zurück zum Zitat Nath K (2022) Evolution of the internet from web 1.0 to metaverse: the good, the bad and the ugly Nath K (2022) Evolution of the internet from web 1.0 to metaverse: the good, the bad and the ugly
Zurück zum Zitat Oliva GA, Hassan AE, Jiang ZM (2020) an exploratory study of smart contracts in the ethereum blockchain platform. Empir Softw Eng 25:1864–1904CrossRef Oliva GA, Hassan AE, Jiang ZM (2020) an exploratory study of smart contracts in the ethereum blockchain platform. Empir Softw Eng 25:1864–1904CrossRef
Zurück zum Zitat Pal O, Alam B, Thakur V, Singh S (2021) Key management for blockchain technology. ICT Express 7(1):76–80CrossRef Pal O, Alam B, Thakur V, Singh S (2021) Key management for blockchain technology. ICT Express 7(1):76–80CrossRef
Zurück zum Zitat Qin K, Zhou L, Afonin Y, Lazzaretti L, Gervais A (2021) Cefi vs. defi–comparing centralized to decentralized finance. arXiv:2106.08157 Qin K, Zhou L, Afonin Y, Lazzaretti L, Gervais A (2021) Cefi vs. defi–comparing centralized to decentralized finance. arXiv:​2106.​08157
Zurück zum Zitat Qin K, Zhou L, Gamito P, Jovanovic P, Gervais A (2021) An empirical study of defi liquidations: incentives, risks, and instabilities. In: Proceedings of the 21st ACM internet measurement conference, pp 336–350 Qin K, Zhou L, Gamito P, Jovanovic P, Gervais A (2021) An empirical study of defi liquidations: incentives, risks, and instabilities. In: Proceedings of the 21st ACM internet measurement conference, pp 336–350
Zurück zum Zitat QuillAudits (2022) Stader nearx attacked incident. https://medium.com/quillhash/decoding-a-830-000-exploit-quillaudits-c70d1ecfd562 QuillAudits (2022) Stader nearx attacked incident. https://​medium.​com/​quillhash/​decoding-a-830-000-exploit-quillaudits-c70d1ecfd562
Zurück zum Zitat Raikwar M, Gligoroski D (2022) Dos attacks on blockchain ecosystem. Euro-Par 2021: parallel processing workshops: Euro-Par 2021 international workshops, Lisbon, Portugal, August 30–31, 2021. Springer, Revised Selected Papers, pp 230–242 Raikwar M, Gligoroski D (2022) Dos attacks on blockchain ecosystem. Euro-Par 2021: parallel processing workshops: Euro-Par 2021 international workshops, Lisbon, Portugal, August 30–31, 2021. Springer, Revised Selected Papers, pp 230–242
Zurück zum Zitat Said KS, Nie L, Ajibode AA, Zhou X (2020) Gui testing for mobile applications: objectives, approaches and challenges. In: Proceedings of the 12th Asia-Pacific Symposium on Internetware, pp 51–60 Said KS, Nie L, Ajibode AA, Zhou X (2020) Gui testing for mobile applications: objectives, approaches and challenges. In: Proceedings of the 12th Asia-Pacific Symposium on Internetware, pp 51–60
Zurück zum Zitat Sifra EM (2022) Security vulnerabilities and countermeasures of smart contracts: a survey. In: 2022 IEEE international conference on blockchain (Blockchain), IEEE, pp 512–515 Sifra EM (2022) Security vulnerabilities and countermeasures of smart contracts: a survey. In: 2022 IEEE international conference on blockchain (Blockchain), IEEE, pp 512–515
Zurück zum Zitat Tolmach P, Li Y, Lin SW, Liu Y (2021) Formal analysis of composable defi protocols. In: International conference on financial cryptography and data security, Springer, pp 149–161 Tolmach P, Li Y, Lin SW, Liu Y (2021) Formal analysis of composable defi protocols. In: International conference on financial cryptography and data security, Springer, pp 149–161
Zurück zum Zitat Torres CF, Schütte J, State R (2018) Osiris: hunting for integer bugs in ethereum smart contracts. In: Proceedings of the 34th annual computer security applications conference, pp 664–676 Torres CF, Schütte J, State R (2018) Osiris: hunting for integer bugs in ethereum smart contracts. In: Proceedings of the 34th annual computer security applications conference, pp 664–676
Zurück zum Zitat Treleaven P, Greenwood A, Pithadia H, Xu J (2022) Web 3.0 tokenization and decentralized finance (defi). Available at SSRN 4037471 Treleaven P, Greenwood A, Pithadia H, Xu J (2022) Web 3.0 tokenization and decentralized finance (defi). Available at SSRN 4037471
Zurück zum Zitat Vivar AL, Orozco ALS, Villalba LJG (2021) A security framework for ethereum smart contracts. Comput Commun 172:119–129CrossRef Vivar AL, Orozco ALS, Villalba LJG (2021) A security framework for ethereum smart contracts. Comput Commun 172:119–129CrossRef
Zurück zum Zitat Wan Z, Xia X, Lo D, Chen J, Luo X, Yang X (2021) Smart contract security: a practitioners’ perspective. In: 2021 IEEE/ACM 43rd international conference on software engineering (ICSE), IEEE, pp 1410–1422 Wan Z, Xia X, Lo D, Chen J, Luo X, Yang X (2021) Smart contract security: a practitioners’ perspective. In: 2021 IEEE/ACM 43rd international conference on software engineering (ICSE), IEEE, pp 1410–1422
Zurück zum Zitat Wang D, Wu S, Lin Z, Wu L, Yuan X, Zhou Y, Wang H, Ren K (2020) Towards understanding flash loan and its applications in defi ecosystem. arXiv:2010.12252 Wang D, Wu S, Lin Z, Wu L, Yuan X, Zhou Y, Wang H, Ren K (2020) Towards understanding flash loan and its applications in defi ecosystem. arXiv:​2010.​12252
Zurück zum Zitat Wang H, Wang Y, Cao Z, Li Z, Xiong G (2018) An overview of blockchain security analysis. China cyber security annual conference. Springer, Singapore, pp 55–72 Wang H, Wang Y, Cao Z, Li Z, Xiong G (2018) An overview of blockchain security analysis. China cyber security annual conference. Springer, Singapore, pp 55–72
Zurück zum Zitat Wang Y, Chen X, Huang Y, Zhu HN, Bian J, Zheng Z (2023) An empirical study on real bug fixes from solidity smart contract projects. J Syst Softw 111787 Wang Y, Chen X, Huang Y, Zhu HN, Bian J, Zheng Z (2023) An empirical study on real bug fixes from solidity smart contract projects. J Syst Softw 111787
Zurück zum Zitat Wen Y, Lu F, Liu Y, Huang X (2021) Attacks and countermeasures on blockchains: a survey from layering perspective. Comput Netw 191:107978CrossRef Wen Y, Lu F, Liu Y, Huang X (2021) Attacks and countermeasures on blockchains: a survey from layering perspective. Comput Netw 191:107978CrossRef
Zurück zum Zitat Wu S, Wang D, He J, Zhou Y, Wu L, Yuan X, He Q, Ren K (2021) Defiranger: detecting price manipulation attacks on defi applications. arXiv:2104.15068 Wu S, Wang D, He J, Zhou Y, Wu L, Yuan X, He Q, Ren K (2021) Defiranger: detecting price manipulation attacks on defi applications. arXiv:​2104.​15068
Zurück zum Zitat Wu T, Shen L, Peng X, Shen B, Li Z (2020) Group activity matching with blockchain backed credible commitment. In: Proceedings of the 12th Asia-pacific symposium on internetware, pp 81–90 Wu T, Shen L, Peng X, Shen B, Li Z (2020) Group activity matching with blockchain backed credible commitment. In: Proceedings of the 12th Asia-pacific symposium on internetware, pp 81–90
Zurück zum Zitat Yuan Y, Wang FY et al (2016) Blockchain: the state of the art and future trends. Acta Autom Sin 42(4):481–494 Yuan Y, Wang FY et al (2016) Blockchain: the state of the art and future trends. Acta Autom Sin 42(4):481–494
Zurück zum Zitat Zhang H, Merino LH, Estrada-Galinanes V, Ford B (2022) Flash freezing flash boys: countering blockchain front-running. In: 2022 IEEE 42nd international conference on distributed computing systems workshops (ICDCSW), IEEE, pp 90–95 Zhang H, Merino LH, Estrada-Galinanes V, Ford B (2022) Flash freezing flash boys: countering blockchain front-running. In: 2022 IEEE 42nd international conference on distributed computing systems workshops (ICDCSW), IEEE, pp 90–95
Zurück zum Zitat Zhou L, Xiong X, Ernstberger J, Chaliasos S, Wang Z, Wang Y, Qin K, Wattenhofer R, Song D, Gervais A (2023) Sok: decentralized finance (defi) attacks. In: 2023 IEEE symposium on security and privacy (SP), IEEE, pp 2444–2461 Zhou L, Xiong X, Ernstberger J, Chaliasos S, Wang Z, Wang Y, Qin K, Wattenhofer R, Song D, Gervais A (2023) Sok: decentralized finance (defi) attacks. In: 2023 IEEE symposium on security and privacy (SP), IEEE, pp 2444–2461
Metadaten
Titel
An empirical study of attack-related events in DeFi projects development
verfasst von
Dongming Xiang
Yuanchang Lin
Liming Nie
Yaowen Zheng
Zhengzi Xu
Zuohua Ding
Yang Liu
Publikationsdatum
01.03.2024
Verlag
Springer US
Erschienen in
Empirical Software Engineering / Ausgabe 2/2024
Print ISSN: 1382-3256
Elektronische ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-024-10447-7

Weitere Artikel der Ausgabe 2/2024

Empirical Software Engineering 2/2024 Zur Ausgabe

Premium Partner