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.”

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)
Top Articles
Why is Spring Cleaning Important?
What Are Julian Dates? | All about the Julian Calendar • FamilySearch
Sprinter Tyrone's Unblocked Games
Walgreens Pharmqcy
Alan Miller Jewelers Oregon Ohio
Mileage To Walmart
Otterbrook Goldens
Otis Department Of Corrections
Goteach11
Heska Ulite
Weather In Moon Township 10 Days
Alaska Bücher in der richtigen Reihenfolge
LeBron James comes out on fire, scores first 16 points for Cavaliers in Game 2 vs. Pacers
Delectable Birthday Dyes
Walgreens On Nacogdoches And O'connor
Our Facility
Yesteryear Autos Slang
Skylar Vox Bra Size
Watch TV shows online - JustWatch
24 Hour Walmart Detroit Mi
Bcbs Prefix List Phone Numbers
Connect U Of M Dearborn
Effingham Bookings Florence Sc
Shiftselect Carolinas
Tu Pulga Online Utah
Football - 2024/2025 Women’s Super League: Preview, schedule and how to watch
Sussyclassroom
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Disputes over ESPN, Disney and DirecTV go to the heart of TV's existential problems
48 Oz Equals How Many Quarts
Meta Carevr
Divide Fusion Stretch Hoodie Daunenjacke für Herren | oliv
3 Ways to Drive Employee Engagement with Recognition Programs | UKG
Redding Activity Partners
Syracuse Jr High Home Page
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Staar English 1 April 2022 Answer Key
دانلود سریال خاندان اژدها دیجی موویز
How are you feeling? Vocabulary & expressions to answer this common question!
2007 Peterbilt 387 Fuse Box Diagram
Firestone Batteries Prices
How I Passed the AZ-900 Microsoft Azure Fundamentals Exam
Gas Buddy Il
White County
Random Animal Hybrid Generator Wheel
Minecraft: Piglin Trade List (What Can You Get & How)
Automatic Vehicle Accident Detection and Messageing System – IJERT
Fahrpläne, Preise und Anbieter von Bookaway
Provincial Freeman (Toronto and Chatham, ON: Mary Ann Shadd Cary (October 9, 1823 – June 5, 1893)), November 3, 1855, p. 1
Dinargurus
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6816

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.