What are the risks of DeFi? (2024)

In decentralised finance there is often little recourse if things go wrong. Here, we explore some of the technology risks.

The DeFi industry has only emerged in the past few years. Yet in that short time there has been rapid innovation in decentralised business models and technologies.

There is little material risk associated with experimenting with free tokens in the world of DeFi through testnets. But if you decide to purchase and trade some real digital assets then it is critical that you understand the technology risks you are exposed to.

A unique set of risks

When technologies fail in centralised finance those problems can generally be resolved through banks, the police or the courts. In decentralised finance there is often little recourse if things go wrong.

Want to keep learning?This content is taken from RMIT University online course, Decentralised Finance: Blockchain, Ethereum, and The Future of BankingView Course

In this article we explore some of the technology risks in this nascent industry: first, on the risks of smart contracts, and second, on the risk of miner extractable value (MEV).

Smart contract risks

DeFi projects are often complex webs of smart contracts. Smart contracts are agreements (or parts of agreements) that are digitally coded and execute automatically on a blockchain network.

One benefit of smart contracts is to reduce (or entirely mitigate) counterparty risk. You can be reasonably sure that some trades (such as swapping one token for another token in a decentralised exchange) will execute simultaneously.

But smart contracts raise other technology risks. If you make sloppy decisions, such as transferring to the wrong address or across the wrong network, your funds may be irretrievable. There is no centralised third party, such as a bank, that can reverse the smart contract and return your funds.

Another technology risk for smart contracts is oracles. Oracles are necessary to execute many smart contracts that rely on external data, providing information such as price feeds. But when those oracles falter, or are compromised through malicious activity, it presents a risk to the intended execution of a smart contract.

Smart contracts themselves can also have bugs. As entrepreneurs push the boundaries of DeFi innovation, smart contracts are combined and deployed in novel and unprecedented ways. They are mixed and matched together to provide new products and services. Some bugs are inevitable. While some bugs are revealed unintentionally, others are the result of deliberate attacks.

One common characteristic of DeFi is open source code – that is, anyone can view the code and observe bugs. Transparent code means that bugs might be discovered and corrected quickly. As Eric S. Raymond famously noted in his essay The Cathedral and the Bazaar, “Given enough eyeballs, all bugs are shallow.”

See Also
DeFi's

But that openness also extends to malicious actors. They can observe bugs in the code and exploit them. Hacks are an ever-present technology risk for DeFi users.

While smart contract risk is an inevitable DeFi technology risk, there are some ways to mitigate it. Extensive testing and code audits, for instance, can reveal some bugs before the code is released to the mainnet.

Miner extractable value

One important technology risk is Miner Extractable Value (MEV). Also known as Maximal Extractible Value, this is the profit or advantage that stems from miners (or other bots) “arbitrarily reordering, including or excluding transactions within a block”. Blockchains are chains of blocks. While the network must come to agreement over the state of the blocks, individual miners initially propose new blocks. They take unconfirmed transactions and make decisions about which transactions, and in what order, they include in that block.

Miners have some ability to change the ordering of a block, or include their own transactions, to their advantage. For instance, one potential MEV tactic is front-running, where individuals profit by observing unconfirmed transactions in the mempool (e.g., a very large swap on a decentralised exchange that is likely to shift the price), and place their transaction before it to profit. Other MEV tactics include back-running and sandwiching.

It’s not just humans taking advantage of the transparency of the mempool. Arbitrage bots can observe unconfirmed transactions, copy them, and submit them with a higher gas fee (so that they are more likely picked up by a miner and placed earlier in a block).

MEV is in its infancy, but has been described as “an invisible tax that miners can collect from users”. While there are various debates about how bad MEV is for DeFi (including the long-term effects), it is nevertheless a technology risk in DeFi.

There are many efforts to mitigate some of the technology risks we have explored in this article. For instance, best practice code audits, bounties for bugs, and obscuring unconfirmed transactions to suppress MEV. Nevertheless, whenever you are engaging in the DeFi ecosystem you must be aware of the potential technology risks.

© RMIT 2021

Want to keep learning?This content is taken from RMIT University online courseDecentralised Finance: Blockchain, Ethereum, and The Future of BankingView Course
What are the risks of DeFi? (2024)

FAQs

What is the risk of DeFi? ›

1 Smart contract bugs. One of the main risks of DeFi is that smart contracts may contain bugs or vulnerabilities that can be exploited by malicious actors or cause unintended consequences.

What are the risks of DeFi in finance? ›

DeFi's vulnerabilities are severe because of high leverage, liquidity mismatches, built-in interconnectedness and the lack of shock-absorbing capacity. The term DeFi refers to the financial applications run by smart contracts on a blockchain, typically a permissionless (ie public) chain.

What is the effect of DeFi? ›

As more users embrace DeFi, traditional banks may face a decline in their role as financial intermediaries. Access to Financial Services: DeFi promotes financial inclusion by providing access to financial services to individuals who are underserved or unbanked by traditional banking systems.

What are the risks of DeFi in Coinbase? ›

DeFi Risks for Lenders

DeFi also presents potential risks for lenders. The volatility of crypto means a bigger risk for lending protocols. If a participant's collateral is liquidated, there's a potential risk that nobody will want to buy those assets, leaving the protocol unable to recoup their agreement.

Is DeFi worth the risk? ›

Most financial experts categorize DeFi as speculative, recommending only to invest 3-5% of your net worth into crypto. Without a central authority, DeFi offers many benefits. Improved accessibility, lower transaction fees, and higher interest rates, to name a few.

What is the weakness of DeFi? ›

Another major disadvantage of DeFi is the high number of risks associated with it. These include market volatility, smart contract failures, and hacking threats.

Is DeFi risk free? ›

DeFi lending is subject to counterparty risk and credit risk, but because lending is automated through the DeFi protocol, rather than individual decisions made by an adviser on behalf of an investor, such risks may be exacerbated, particularly if there are flaws in DeFi protocol's code or operation.

What are the opportunities and threats of DeFi? ›

While the important opportunities emerging with DeFi are accessibility, globality, cost effectiveness and transparency, the main threats are listed as exclusion of the central financial system, volatility, legal problems and security risk.

How will DeFi affect banks? ›

Improve Financial Inclusion: DeFi can provide access to financial services to the unbanked and underbanked, promoting financial inclusion and economic growth. Reduce Costs and Increase Efficiency: DeFi can reduce transaction costs and increase efficiency by automating processes and eliminating intermediaries.

What's the hardest thing about using DeFi apps? ›

Concerns About DeFi

Decentralized finance is constantly evolving. It is unregulated, and its ecosystem is vulnerable to faulty programming, hacks, and scams. For example, one of the main ways hackers and thieves steal cryptocurrency is through weaknesses in DeFi applications.

What is the effect of DeFi on economy? ›

By eliminating intermediaries and fostering more efficient, transparent, and accessible markets, DeFi has the potential to democratize financial services and bridge the gap for the unbanked and underbanked populations.

Is DeFi mining safe? ›

The answer, unfortunately, is yes – you can lose money in liquidity mining. It is no different from every investment strategy that has benefits and risks, and investors need to carefully consider these risks before investing.

Is investing in DeFi safe? ›

Software security vulnerabilities can also destroy your DeFi investments. Many relatively reputable DeFi protocols, including Yearn Finance and Pickle Finance, have been victimized by hackers exploiting security vulnerabilities in their software to steal investors' funds.

Is it safe to keep crypto in DeFi wallet? ›

However, since the issuer of a DeFi wallet does not have access to their user's seed phrases/private keys, crypto held on DeFi wallets will be safe even in the event of bankruptcy. As long as you have the seed phrase for a DeFi wallet, you can access the crypto within the wallet using any DeFi self-custody wallet.

Why is DeFi safer? ›

Unlike traditional finance, which relies on intermediaries such as banks and service providers, DeFi operates based on a transparent set of rules programmed into smart contracts and public blockchain technology.

Can you lose money on DeFi? ›

Failed transactions are yet another way to lose money while swapping in DeFi. Many failed transactions are caused by the token rate dropping below the allotted slippage tolerance for a swap. A transaction can also fail if it was sent with too little gas.

Why is DeFi staking high risk? ›

Staking rewards comes with risks. The value of crypto assets could go down while they are staked. This can result in loss of staked assets if the DeFi platform is hacked or goes offline. The crypto assets may be subject to inflation if the network's inflation rate is high.

Top Articles
Latest Posts
Article information

Author: Msgr. Benton Quitzon

Last Updated:

Views: 5855

Rating: 4.2 / 5 (43 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Msgr. Benton Quitzon

Birthday: 2001-08-13

Address: 96487 Kris Cliff, Teresiafurt, WI 95201

Phone: +9418513585781

Job: Senior Designer

Hobby: Calligraphy, Rowing, Vacation, Geocaching, Web surfing, Electronics, Electronics

Introduction: My name is Msgr. Benton Quitzon, I am a comfortable, charming, thankful, happy, adventurous, handsome, precious person who loves writing and wants to share my knowledge and understanding with you.