Skip to content
CityAM
Main navigation
  • News
    • News
      • Latest Business News
      • Economics
      • Politics
      • Tech
      • Banking
      • FTSE 100 Live
      • Retail
      • Insurance
      • Legal
      • Property
      • Transport
      • Markets
    • From our partners
      • AON
      • Bayes Business School
      • Canada BIDs
      • Central London Alliance CIC
      • Destination City
      • Halkin
      • Olympia
      • Inside Saudi
      • Tottenham Hotspur Stadium
      • Santander X
      • YEAR SIX Dividend
    • Featured

      Ryanair hands O’Leary six-year extension

      Michael OLeary speaking at a Ryanair press conference, dressed in a suit, discussing the airlines latest business updates

      Submit a story

      Tell us your story.

      Submit
  • Opinion
  • Sport
    • Latest Sports News
      • Sport
      • Sport Business
    • From our partners
      • The Morning Briefing: SBS x CityAM
      • Aramco Team Series
      • LIV Golf
    • Featured

      F*** f*** f***: Tennis star Moutet fined £4k per F-bomb for Queen’s Club outburst on BBC

      News article image with diverse professionals in a corporate meeting discussing business strategy and innovation trends.

      Submit a story

      Tell us your story.

      Submit
  • Life&Style
    • Life&Style
      • Life&Style
      • Toast the City Awards
      • The Magazine
      • Travel
      • Culture
      • Motoring
      • Wellness
      • The RED BULLETiN
      • Do it with Shared Ownership
      • Media Speak Hub
    • Featured

      Fogo de Chao nominated for Best Casual Dining Toast award

      Fogo de Chão restaurant exterior with vibrant signage and bustling entrance at popular city location

      Submit a story

      Tell us your story.

      Submit
  • Investec
  • Events
  • Latest Paper
Wednesday 28 October 2020 10:21 am  |  Updated:  Wednesday 28 October 2020 11:18 am

DeFi Hacks: A Cybersecurity Perspective

By: Crypto AM: Definitively DeFi

Add as a preferred source on Google

The decentralized finance market (DeFi) has been one of the most explosive trends in the crypto industry since the ICO boom of 2017. Crypto-assets locked away in DeFi protocols over 2020 have increased by a staggering 1,740%, from $676 million to a peak of $12.44 billion – according to figures from Defipulse.

This dramatic rise in value held on the market coupled with the fact that all DeFi platforms are largely run autonomously has made it a vulnerable, lucrative target for malicious hackers.
The research we’ve conducted at Hacken shows there have been at least 11 high-profile security breaches including the recent Harvest Finance (FARM) hack, since January 1st. The collective amount stolen in US dollars at the time of each cyberattack, excluding recovered funds, now exceeds $78.3 million. 

Why are they happening?

While no two DeFi protocol hacks are ever completely the same, they typically occur from one of three recurring issues. Business logic errors, coding mistakes, and problems arising from management override controls. Let’s take a look at the Harvest Finance (FARM) exploit as the most recent example. The ‘hack’ involved a user taking advantage of an unchecked arbitrage opportunity on the platform using a $50 million flash loan. $10m USDT was swapped to USDC via a DeFi exchange liquidity pool named Curve to decrease the value of USDT, and then the following $40m USDT was exchanged for fUSDT at Harvest Finance. The $10m USDC was then swapped back into USDT on Curve to increase the price of USDT, which in turn caused the USDT rate against fUSDT to increase also. The user then simply swapped fUSDT back into USDT and netted an average return of $500,000. After repeating this cycle several times, they were able to generate $24 million before their activities were noticed.


This is a classic example of what we mean by a business logic error, where an exploitable opportunity is created in a platform’s infrastructure mostly because developers lack the necessary financial knowledge to foresee these types of loopholes.

This case is very similar to the two attacks that happened on the bZx exchange within the same week back in February. Again, this was the result of an unchecked arbitrage opportunity that allowed the hacker(s) to make off with around $1 million in ETH – and there was absolutely nothing anyone could do about it. Coding errors also play a major role in creating additional openings for savvy hackers to exploit and drain liquidity pools. These often arise because of a project’s desire to enter the market as quickly as possible to capitalize on the growing demand without passing through a proper security auditing process first. A good illustration of this was the Lendf.me hack on April 20, whereby a flaw in the ERC-777 token standard allowed a reentrancy attack. Over $25 million was stolen as a result of this coding error, however, interestingly all funds were eventually returned after the hacker accidentally leaked their own IP address. Lucky escape for the DeFi protocol! The bZx exchange also fell victim to this type of security breach on September 14 even though they had previously enlisted the services of external auditors. On this particular occasion, hackers made substantially more than the previous two attacks, amassing $8.1 million from a fatal fault in a smart contract that was missed by independent security firms, Peckshield and Certik.


The final recurring issue which contributes to a number of DeFi security breaches is problems caused by management override controls. What we mean by this is when founders take advantage of their position as an initial liquidity provider and dump an enormous amount of tokens on the community. The Sushiswap saga is perhaps the best example of this type of DeFi vulnerability. Chef Nomi, the anonymous creator of the protocol, sparked huge controversy when they decided to dump his/her founder’s tokens on the market in true Charlie Lee-style. The move caused the price of SUSHI to crash 75% in minutes and was immediately labeled by the DeFi community as an exit scam. Not long after, the head chef decided to return the $14 million worth of ETH they had made from the sell-off back to the project’s treasury.

How to prevent these hacks

Business logic errors can be easily fixed by trialing the DeFi protocol properly in a testnet or beta phase before launching, and ensuring that the arbitrage check function has a lower tolerance value than 2%. At Hacken, we also advise that deposit functions should also not be accessible to 3rd party smart contracts, or at least certain value limits should be in place if they are.


As we’ve seen from the most recent bZx hack, getting audited from third-party contractors does not always guarantee that a protocol will be completely free from coding errors, however, it does go some way towards showing the community that you’re taking every step possible to mitigate those risks. Security audits from respected cybersecurity firms should be routinely carried out to reduce the threat of direct protocol vulnerabilities.
Finally, with regards to mismanagement from DeFi founders, the best way for traders to insulate themselves from falling victim to exit scams and fraud is to perform rigorous due diligence prior to parting with any crypto. Checking a project’s whitepaper, team, community activity, exchange listings, number of security audits, and backing from institutional investors will give you a much clearer idea of whether or not to make an investment.

The future of DeFi hacks

With the current rapid rate of new projects entering the space and the exponentially increasing amount of assets being locked away in decentralized finance protocols, our cybersecurity team at Hacken anticipates 2021 will see a noticeable uptick in the 3 aforementioned types of DeFi hacks, and overall, estimate it will take 2-5 years before we see stable and secure DeFi protocols.

Dyma Budorin, CEO of Hacken Group, Dyma was a top-level executive in Ukraine’s military defense industry. As an ACCA, his other achievements include an eight-year career in Deloitte in accounting, audit and project management.

Read more

HUI (HUI:VSE) Merges Traditional and Crypto Finance: Commences Continuous Trading in Vienna With Leading Market Maker and Announces Impending Token Listing on Major Global Exchange

Share this article

  • Facebook
  • X
  • LinkedIn
  • WhatsApp
  • Email

Similarly tagged content:

Sections

  • Blockbeat

Trending Articles

  • As it happened: Stocks sink after Fed and Bank of England opt for hawkish hold; Oil price tumbles

  • More Big Four blues as Deloitte plans to slash UK audit roles

  • FTSE 100 Live: Pound dips and stocks slip as Andy Burnham victory triggers political uncertainty

  • Baillie Gifford in line for Anthropic windfall just months after £3.6bn SpaceX bonanza

  • City investors raise alarm on Burnham’s Chancellor pick

More from CityAM

  • HUI (HUI:VSE) Merges Traditional and Crypto Finance: Commences Continuous Trading in Vienna With Leading Market Maker and Announces Impending Token Listing on Major Global Exchange

    Business Wire
  • Money20/20 Europe Celebrates Ten Years of Industry Leadership as AI, Digital Assets and Financial Sovereignty Take Centre Stage

    Business Wire
  • Money20/20 Europe Announces Powerhouse Speaker Lineup Featuring Leaders from Klarna, BBVA, ABN AMRO, Mastercard, eToro, and Revolut

    Business Wire
  • Elliptic Secures $120 Million Investment From Nasdaq Ventures, Deutsche Bank, One Peak and the British Business Bank

    Business Wire
  • Variational Secures ~$50M to Bring Liquidity from Traditional Markets To Crypto

    Business Wire
  • ICE Brent and ICE WTI Perpetual Futures to Launch on OKX

    Business Wire
  • Blockworks Acquires Messari, Combining the Two Largest Crypto Data Platforms

    Business Wire
  • WhiteBIT enters the UK with dedicated crypto platform for local users

    Partner
    Breaking news coverage with a focus on current events, featuring an engaging visual element for a business audience

CityAM Canada — business, markets and opinion for Canadian readers.

Sections

  • Business
  • Markets
  • Tech
  • AI
  • Economics
  • Opinion
  • Cities

Company

  • About
  • Contact

Legal

  • Terms of Use
  • Privacy Policy
  • Cookie Policy
© 2026 CityAM Canada. All rights reserved.
Terms · Privacy · Cookies