• Home
  • News
  • About
  • Contact Us
Newsletter
Cryptoinsiders24.Com — news about the cryptocurrency market
  • Home
  • News
  • About
  • Contact Us
No Result
View All Result
  • Home
  • News
  • About
  • Contact Us
No Result
View All Result
Cryptoinsiders24.Com — news about the cryptocurrency market
No Result
View All Result
Home News

The development of blockchain industry and how to defend against attacks on DeFi

Kevin Whitley by Kevin Whitley
September 28, 2022
in News
0
The development of blockchain industry and how to defend against attacks on DeFi
3
SHARES
20
VIEWS
Share on FacebookShare on Twitter

The DeFi market is a highly promising venture where the main struggling issue is a lack of qualified blockchain developers.

Nowadays, the blockchain market as a whole is in its infancy, and the decentralized finance (DeFi) market is its most promising part. According to DefiLlama data, in 2021, the DeFi market had around $200 billion of liquidity locked in smart contracts. If we view this capital as an initial investment, this market looks like a highly promising venture. Not too many global companies can boast of such a capitalization. But any young market has its teething problems. With DeFi, the main issue is a lack of qualified blockchain developers.

Related articles

Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

May 11, 2026
Don't Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

Don’t Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

March 12, 2024

This industry is very young and has a relatively small user base. Most people have at best heard about DeFi without having any idea about what it is. But as it happens with every new promising venture, it quickly creates a lot of speculative interest. Unfortunately, preparing personnel takes much longer, especially when it comes to such knowledge-intense spheres as blockchain and smart contract development. This means that some project teams will have to compromise and hire less experienced personnel.

This problem inevitably creates a growing risk of security loopholes in the code of these projects. And then we have to deal with its consequences in lost user capital. For just a brief understanding of how big this problem is, I can say that about 10% of DeFi’s total liquidity locked has been stolen by hackers. It should not surprise anyone that the mainstream public would prefer to stay away from a financial system that poses such dangers to their funds.

Related: How do DeFi protocols get hacked?

How have DeFi exploits changed recently?

Attacks on DeFi have long been centered around reentrancy attacks. We can recall the famous The DAO hack of 2016 that resulted in the loss of $150 million in investor capital and led to Ethereum’s hard fork. Since then, this vulnerability has been exploited many times in different smart contracts.

The callback function is actively utilized by lending protocols: It allows smart contracts to check users’ collateral balance before giving out a loan. All this process happens within one transaction, which has given hackers a workaround to steal money from such smart contracts. When you send a request to borrow funds, the callback function first checks the collateral balance, then gives out the loan if the collateral was sufficient and then changes the user’s collateral balance inside the smart contract.

To fool the smart contract, hackers return the call to the callback function to initiate this process from the beginning. Since the transaction has not been finalized on the blockchain, the function gives out another loan for the same collateral balance. Even though the solution to this problem has been on the scene long enough, many projects still fall victim to it.

Sometimes, project teams with little skill in writing smart contracts decide to borrow the codebase of another open-source DeFi project to deploy their own smart contract. They normally do so with reputable projects that have been audited and have large user bases and have proved to be securely built. But they may decide to make minor modifications to the borrowed code to add functionalities they want to have in their smart contract, without even changing the original code. This can damage the logic of the smart contract, which developers often do not realize.

This is what allowed hackers to steal around $19 million from Cream Finance in August 2021. The Cream Finance team borrowed the code from a different DeFi protocol and added a callback token in their smart contract. Even though you can prevent reentrancy attacks by implementing the “checks, effects, interactions” pattern that prioritizes the change of balance over the issuance of funds, some teams still fail to safeguard their platforms from these exploits.

Flash loan attacks allow hackers to steal funds differently and have been growing increasingly popular since the DeFi boom of 2020. The main idea of flash loan attacks is that you do not need to have collateral to borrow funds from a protocol because financial parity is still guaranteed by the fact that the loan is taken and returned within one transaction. And it will not take place if you fail to return the loan with interest in one transaction. But attackers have been able to perform successful flash loan attacks on many protocols.

Related: Needed: A massive education project to fight hacks and scams

In doing them, they use multiple protocols to borrow and drag liquidity through until the final act where they amplify the price of a token through oracles or liquidity pools and use it to swindle a pump-and-dump and be gone with liquidity in an array of some major different cryptocurrencies such as Ether (ETH), Wrapped Bitcoin (wBTC) and others. Some famous flash loan attacks include the Pancake Bunny attack, where the protocol lost $200 million, and another Cream Finance attack, in which over $100 million was stolen.

How to defend against DeFi exploits?

To build a secure DeFi protocol, ideally, you should only trust experienced blockchain developers. They should have a professional team lead with skill in building decentralized applications. It is also wise to remember to use safe code libraries for development. Sometimes, the less up-to-date libraries can be the safest option than the ones with the newest code bases.

Testing is another crucial thing all serious DeFi projects must do. As a CEO of a smart contract audit company, I always try to cover 100% of our clients’ code and stress the importance of decentralized protection of the private keys used to call functions of smart contracts with restricted access. It is best to use decentralization of the public key through a multisignature that prevents one entity from having full control over the contract.

In the end, education is one of the keys that will allow blockchain-based financial systems to become more secure and reliable. And education should be one of the key concerns of those looking for employment in DeFi because it can offer mouthwatering rewards to all who can make a viable contribution.

This article does not contain investment advice or recommendations. Every investment and trading move involves risk, and readers should conduct their own research when making a decision.

The views, thoughts and opinions expressed here are the author’s alone and do not necessarily reflect or represent the views and opinions of Cointelegraph.

Dmitry Mishunin is the founder and CEO of DeFi security and analytics company HashEx and has long-standing expertise in the field of blockchain security. He has devoted a lot of time to scientific activities, such as research into IT systems, blockchain, and vulnerabilities in DeFi. Under Dmitry’s management, HashEx has become one of the leaders in the field of smart contract audits.

Share1Tweet1

Related Posts

Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

by jane
May 11, 2026
0

The Markets in Crypto-Assets Regulation (MiCA), which took full effect on 30 December 2024, introduced a single, EU-wide rulebook for...

Don't Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

Don’t Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

by jane
March 12, 2024
0

The crypto space is a land of opportunity, but it's also riddled with potential pitfalls. Sponsored content can be a...

Bitcoin’s Remarkable Surge: What’s Behind It?

Bitcoin’s Remarkable Surge: What’s Behind It?

by Loretta Williamson
October 25, 2023
0

Bitcoin is once again making headlines as it surges past the $35,000 mark, reaching a level not seen since May...

Bitcoin Dominance Surges as Ether and DeFi Tokens Face Market Headwinds

Bitcoin Dominance Surges as Ether and DeFi Tokens Face Market Headwinds

by Loretta Williamson
October 18, 2023
0

In a day marked by shifting tides in the cryptocurrency market, Bitcoin (BTC) has once again asserted its dominance, outperforming...

JPMorgan’s Tokenization Platform, TCN, Goes Live with BlackRock Leading the Way

JPMorgan’s Tokenization Platform, TCN, Goes Live with BlackRock Leading the Way

by Loretta Williamson
October 12, 2023
0

Blockchain-Based Tokenized Collateral Network Settles First Trade, Revolutionizing Asset Utilization JPMorgan, a major player in the U.S. banking sector, has...

Load More
  • Trending
  • Comments
  • Latest
The Cause Behind Ethereum’s (ETH) Significant Price Drop

The Cause Behind Ethereum’s (ETH) Significant Price Drop

June 29, 2023
Soulbound Tokens: Social credit system or spark for global adoption?

Soulbound Tokens: Social credit system or spark for global adoption?

September 28, 2022
Технический директор CoinW подтвердил, что криптовалютная биржа полностью выплатила компенсацию пользователям, пострадавшим от ненормальных колебаний цен

Технический директор CoinW подтвердил, что криптовалютная биржа полностью выплатила компенсацию пользователям, пострадавшим от ненормальных колебаний цен

September 28, 2022
Play-to-Earn vs. Move-to-Earn explained

Play-to-Earn vs. Move-to-Earn explained

September 28, 2022
Russian tech and political executives denounce crypto ban proposal

Russian tech and political executives denounce crypto ban proposal

0
Illiquid supply ‘going up relentlessly’ — 5 things to watch in Bitcoin this week

Illiquid supply ‘going up relentlessly’ — 5 things to watch in Bitcoin this week

0
Bank of Korea completes first phase of digital currency pilot

Bank of Korea completes first phase of digital currency pilot

0
No regrets for NYC mayor receiving his first Bitcoin paycheck during dip

No regrets for NYC mayor receiving his first Bitcoin paycheck during dip

0
Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

Which EU Jurisdiction Offers the Best Path to a MiCA License in 2026?

May 11, 2026
ORACLE MEME ($OMEME): The Best Meme Project Launched So Far

ORACLE MEME ($OMEME): The Best Meme Project Launched So Far

June 14, 2024
Don't Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

Don’t Get Rekt: Avoiding Sponsored Content Pitfalls in the Cryptosphere

March 12, 2024
Red Sea Crisis Escalates: Houthi Attacks Halt Global Shipping, Sparking Market Volatility

Red Sea Crisis Escalates: Houthi Attacks Halt Global Shipping, Sparking Market Volatility

March 4, 2024
Cryptoinsiders24.Com — news about the cryptocurrency market

cryptoinsiders24.com offers original coverage of the global blockchain and cryptocurrency news, provides opinions, reviews, guides, introduces.

Categories tes

  • News
  • Uncategorized

Tags

bitcoin blockchain nft OnlyFans

Contact us

[email protected]

  • Home
  • News
  • About
  • Contact Us

© 2017 JNews - Crafted with love by Jegtheme.

No Result
View All Result
  • Home
  • News
  • About
  • Contact Us

cryptoinsiders24.com © 2022.