IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2312.00033.html
   My bibliography  Save this paper

DeFi Security: Turning The Weakest Link Into The Strongest Attraction

Author

Listed:
  • Ravi Kashyap

Abstract

The primary innovation we pioneer -- focused on blockchain information security -- is called the Safe-House. The Safe-House is badly needed since there are many ongoing hacks and security concerns in the DeFi space right now. The Safe-House is a piece of engineering sophistication that utilizes existing blockchain principles to bring about greater security when customer assets are moved around. The Safe-House logic is easily implemented as smart contracts on any decentralized system. The amount of funds at risk from both internal and external parties -- and hence the maximum one time loss -- is guaranteed to stay within the specified limits based on cryptographic fundamentals. To improve the safety of the Safe-House even further, we adapt the one time password (OPT) concept to operate using blockchain technology. Well suited to blockchain cryptographic nuances, our secondary advancement can be termed the one time next time password (OTNTP) mechanism. The OTNTP is designed to complement the Safe-House making it even more safe. We provide a detailed threat assessment model -- discussing the risks faced by DeFi protocols and the specific risks that apply to blockchain fund management -- and give technical arguments regarding how these threats can be overcome in a robust manner. We discuss how the Safe-House can participate with other external yield generation protocols in a secure way. We provide reasons for why the Safe-House increases safety without sacrificing the efficiency of operation. We start with a high level intuitive description of the landscape, the corresponding problems and our solutions. We then supplement this overview with detailed discussions including the corresponding mathematical formulations and pointers for technological implementation. This approach ensures that the article is accessible to a broad audience.

Suggested Citation

  • Ravi Kashyap, 2023. "DeFi Security: Turning The Weakest Link Into The Strongest Attraction," Papers 2312.00033, arXiv.org.
  • Handle: RePEc:arx:papers:2312.00033
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2312.00033
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Donald J. Brown & Jan Werner, 1995. "Arbitrage and Existence of Equilibrium in Infinite Asset Markets," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 62(1), pages 101-114.
    2. Fabian Schär, 2021. "Decentralized Finance: On Blockchain- and Smart Contract-Based Financial Markets," Review, Federal Reserve Bank of St. Louis, vol. 103(2), pages 153-174, April.
    3. Ravi Kashyap, 2023. "Arguably Adequate Aqueduct Algorithm: Crossing A Bridge-Less Block-Chain Chasm," Papers 2311.10717, arXiv.org.
    4. Dorien Herremans & Kah Wee Low, 2022. "Forecasting Bitcoin volatility spikes from whale transactions and CryptoQuant data using Synthesizer Transformer models," Papers 2211.08281, arXiv.org.
    5. Carmen M. Reinhart & Kenneth S. Rogoff, 2009. "Varieties of Crises and Their Dates," Introductory Chapters, in: This Time Is Different: Eight Centuries of Financial Folly, Princeton University Press.
    6. Calvo, Guillermo, 2012. "Financial crises and liquidity shocks a bank-run perspective," European Economic Review, Elsevier, vol. 56(3), pages 317-326.
    7. Vijay Mohan, 2022. "Automated market makers and decentralized exchanges: a DeFi primer," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-48, December.
    8. Cynthia Weiyi Cai, 2018. "Disruption of financial intermediation by FinTech: a review on crowdfunding and blockchain," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 58(4), pages 965-992, December.
    9. Franklin R. Edward, 1999. "Hedge Funds and the Collapse of Long-Term Capital Management," Journal of Economic Perspectives, American Economic Association, vol. 13(2), pages 189-210, Spring.
    10. Satya Prakash Yadav & Krishna Kant Agrawal & Bhoopesh Singh Bhati & Fadi Al-Turjman & Leonardo Mostarda, 2022. "Blockchain-Based Cryptocurrency Regulation: An Overview," Computational Economics, Springer;Society for Computational Economics, vol. 59(4), pages 1659-1675, April.
    11. Klaus Grobys, 2021. "When the blockchain does not block: on hackings and uncertainty in the cryptocurrency market," Quantitative Finance, Taylor & Francis Journals, vol. 21(8), pages 1267-1279, August.
    12. Nadine Kathrin Ostern & Johannes Riedel, 2021. "Know-Your-Customer (KYC) Requirements for Initial Coin Offerings," Business & Information Systems Engineering: The International Journal of WIRTSCHAFTSINFORMATIK, Springer;Gesellschaft für Informatik e.V. (GI), vol. 63(5), pages 551-567, October.
    13. Uhlig, Harald, 2010. "A model of a systemic bank run," Journal of Monetary Economics, Elsevier, vol. 57(1), pages 78-96, January.
    14. Ye Guo & Chen Liang, 2016. "Blockchain application and outlook in the banking industry," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 2(1), pages 1-12, December.
    15. Martin Brown & Stefan T. Trautmann & Razvan Vlahu, 2017. "Understanding Bank-Run Contagion," Management Science, INFORMS, vol. 63(7), pages 2272-2282, July.
    16. Lyons, Richard K. & Viswanath-Natraj, Ganesh, 2023. "What keeps stablecoins stable?," Journal of International Money and Finance, Elsevier, vol. 131(C).
    17. Laura Grassi & Davide Lanfranchi & Alessandro Faes & Filippo Maria Renga, 2022. "Do we still need financial intermediation? The case of decentralized finance – DeFi," Qualitative Research in Accounting & Management, Emerald Group Publishing Limited, vol. 19(3), pages 323-347, February.
    18. Jiahua Xu & Yebo Feng, 2022. "Reap the Harvest on Blockchain: A Survey of Yield Farming Protocols," Papers 2210.04194, arXiv.org, revised Dec 2022.
    19. Ante, Lennart & Fiedler, Ingo & Strehle, Elias, 2021. "The influence of stablecoin issuances on cryptocurrency markets," Finance Research Letters, Elsevier, vol. 41(C).
    20. Peter Yeoh, 2017. "Regulatory issues in blockchain technology," Journal of Financial Regulation and Compliance, Emerald Group Publishing Limited, vol. 25(2), pages 196-208, May.
    21. Corbet, Shaen & Cumming, Douglas J. & Lucey, Brian M. & Peat, Maurice & Vigne, Samuel A., 2020. "The destabilising effects of cryptocurrency cybercriminality," Economics Letters, Elsevier, vol. 191(C).
    22. Kashyap, Ravi, 2023. "Arguably Adequate Aqueduct Algorithm: Crossing A Bridge-Less Block-Chain Chasm," Finance Research Letters, Elsevier, vol. 58(PB).
    23. Carol Alexander, 2005. "The Present and Future of Financial Risk Management," Journal of Financial Econometrics, Oxford University Press, vol. 3(1), pages 3-25.
    24. Bumblauskas, Daniel & Mann, Arti & Dugan, Brett & Rittmer, Jacy, 2020. "A blockchain use case in food distribution: Do you know where your food has been?," International Journal of Information Management, Elsevier, vol. 52(C).
    25. Rana Alabdan, 2020. "Phishing Attacks Survey: Types, Vectors, and Technical Approaches," Future Internet, MDPI, vol. 12(10), pages 1-37, September.
    26. Shleifer, Andrei & Vishny, Robert W, 1997. "The Limits of Arbitrage," Journal of Finance, American Finance Association, vol. 52(1), pages 35-55, March.
    27. Philippe Jorion, 2000. "Risk management lessons from Long‐Term Capital Management," European Financial Management, European Financial Management Association, vol. 6(3), pages 277-300, September.
    28. Ouriemmi, Oussama & Gérard, Benoît, 2023. "Control dynamics in rogue trading: Sovereignty and exception-to-the-rule attitudes in the contemporary financial sphere," CRITICAL PERSPECTIVES ON ACCOUNTING, Elsevier, vol. 91(C).
    29. Chen, Yu-Lun & Chang, Yung Ting & Yang, J. Jimmy, 2023. "Cryptocurrency hacking incidents and the price dynamics of Bitcoin spot and futures," Finance Research Letters, Elsevier, vol. 55(PB).
    30. Robin Hanson, 2007. "Logarithmic Market Scoring Rules for Modular Combinatorial Information Aggregation," Journal of Prediction Markets, University of Buckingham Press, vol. 1(1), pages 3-15, February.
    31. Giulio Caldarelli, 2022. "Overview of Blockchain Oracle Research," Future Internet, MDPI, vol. 14(6), pages 1-38, June.
    32. Daniel J. Bernstein & Tanja Lange, 2017. "Post-quantum cryptography," Nature, Nature, vol. 549(7671), pages 188-194, September.
    33. Briola, Antonio & Vidal-Tomás, David & Wang, Yuanrong & Aste, Tomaso, 2023. "Anatomy of a Stablecoin’s failure: The Terra-Luna case," Finance Research Letters, Elsevier, vol. 51(C).
    34. Bertsimas, Dimitris & Lo, Andrew W., 1998. "Optimal control of execution costs," Journal of Financial Markets, Elsevier, vol. 1(1), pages 1-50, April.
    35. Ana-Maria Fuertes & Gulnur Muradoglu & Belma Ozturkkal, 2014. "A behavioral analysis of investor diversification," The European Journal of Finance, Taylor & Francis Journals, vol. 20(6), pages 499-523, June.
    36. Joshua Ofoeda & Richard Boateng & John Effah, 2019. "Application Programming Interface (API) Research: A Review of the Past to Inform the Future," International Journal of Enterprise Information Systems (IJEIS), IGI Global, vol. 15(3), pages 76-95, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Patel, Ritesh & Migliavacca, Milena & Oriani, Marco E., 2022. "Blockchain in banking and finance: A bibliometric review," Research in International Business and Finance, Elsevier, vol. 62(C).
    2. Bessler, Wolfgang & Drobetz, Wolfgang & Henn Overbeck, Jacqueline, 2005. "Hedge Funds: Die Königsdisziplin" der Kapitalanlage," Working papers 2005/04, Faculty of Business and Economics - University of Basel.
    3. Bennett, Donyetta & Mekelburg, Erik & Williams, T.H., 2023. "BeFi meets DeFi: A behavioral finance approach to decentralized finance asset pricing," Research in International Business and Finance, Elsevier, vol. 65(C).
    4. Mathias S. Kruttli & Phillip J. Monin & Lubomir Petrasek & Sumudu W. Watugala, 2021. "Hedge Fund Treasury Trading and Funding Fragility: Evidence from the COVID-19 Crisis," Finance and Economics Discussion Series 2021-038, Board of Governors of the Federal Reserve System (U.S.).
    5. Garg, Poonam & Gupta, Bhumika & Chauhan, Ajay Kumar & Sivarajah, Uthayasankar & Gupta, Shivam & Modgil, Sachin, 2021. "Measuring the perceived benefits of implementing blockchain technology in the banking sector," Technological Forecasting and Social Change, Elsevier, vol. 163(C).
    6. Teck Ming Tan & Jari Salo, 2023. "Ethical Marketing in the Blockchain-Based Sharing Economy: Theoretical Integration and Guiding Insights," Journal of Business Ethics, Springer, vol. 183(4), pages 1113-1140, April.
    7. Gregory Connor & Lisa R. Goldberg & Robert A. Korajczyk, 2010. "Portfolio Risk Analysis," Economics Books, Princeton University Press, edition 1, number 9224.
    8. Roy, Saktinil & Kemme, David M., 2012. "Causes of banking crises: Deregulation, credit booms and asset bubbles, then and now," International Review of Economics & Finance, Elsevier, vol. 24(C), pages 270-294.
    9. Stijn Claessens & M. Ayhan Kose, 2013. "Financial Crises: Explanations, Types and Implications," CAMA Working Papers 2013-06, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    10. Schoeneborn, Torsten & Schied, Alexander, 2007. "Liquidation in the Face of Adversity: Stealth Vs. Sunshine Trading, Predatory Trading Vs. Liquidity Provision," MPRA Paper 5548, University Library of Munich, Germany.
    11. Adrian, Tobias & Borowiecki, Karol Jan & Tepper, Alexander, 2022. "A leverage-based measure of financial stability," Journal of Financial Intermediation, Elsevier, vol. 51(C).
    12. Gromb, Denis & Vayanos, Dimitri, 2002. "Equilibrium and welfare in markets with financially constrained arbitrageurs," Journal of Financial Economics, Elsevier, vol. 66(2-3), pages 361-407.
    13. Andrei Shleifer & Robert Vishny, 2011. "Fire Sales in Finance and Macroeconomics," Journal of Economic Perspectives, American Economic Association, vol. 25(1), pages 29-48, Winter.
    14. Abbassi, Puriya & Iyer, Rajkamal & Peydró, José-Luis & Tous, Francesc R., 2016. "Securities trading by banks and credit supply: Micro-evidence from the crisis," Journal of Financial Economics, Elsevier, vol. 121(3), pages 569-594.
    15. Alan Kirman, 2010. "The Economic Crisis is a Crisis for Economic Theory ," CESifo Economic Studies, CESifo Group, vol. 56(4), pages 498-535, December.
    16. Wenxin Du & Jesse Schreger, 2013. "Local Currency Sovereign Risk," International Finance Discussion Papers 1094, Board of Governors of the Federal Reserve System (U.S.).
    17. Tandon, Anushree & Kaur, Puneet & Mäntymäki, Matti & Dhir, Amandeep, 2021. "Blockchain applications in management: A bibliometric analysis and literature review," Technological Forecasting and Social Change, Elsevier, vol. 166(C).
    18. Raphael Auer & Bernhard Haslhofer & Stefan Kitzler & Pietro Saggese & Friedhelm Victor, 2023. "The Technology of Decentralized Finance (DeFi)," BIS Working Papers 1066, Bank for International Settlements.
    19. Riza Demirer & David Gabauer & Rangan Gupta & Joshua Nielsen, 2023. "Gold-to-Platinum Price Ratio and the Predictability of Bubbles in Financial Markets," Working Papers 202317, University of Pretoria, Department of Economics.
    20. Craig H. Furfine & Eli M. Remolona, 2005. "Price discovery in a market under stress: the U.S. Treasury market in fall 1998," Working Paper Series WP-05-06, Federal Reserve Bank of Chicago.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2312.00033. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.