LendHub Hack

TOTAL LOST $6.0M
Medium Other

Summarize with AI

Affected Chain 2023 Incident surface
Recovered - No recovery reported
All-Time Rank #398 By amount stolen
Auditors 3 Prior security audits

Incident Overview

The LendHub lending protocol on the Heco network was exploited for about $6M USD.

The vulnerability was in lBSV contract duplication. Both versions of it were active, thus the hacker after depositing to the old version was able to borrow in the new market. It allows the flow of the minting and redemption process to be exploited and brings a profit worth 6M USD.

After that, the attacker started bridging assets to other chains like Ethereum and Optimism.

Scammer address:

https://www.hecoinfo.com/en-us/address/0x9d0163e7…53ab03?tab=Transactions

Incident Report

Protocol / Project LendHub
Date of Incident
Attack Technique Other
Classification Borrowing and Lending

Protocol Information

Protocol Type Lending
Affected Token LHT
Official Website www.lendhub.online/en
Protocol Twitter/X @LendHubDefi
Team Anonymous
Source Code Unverified

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in LendHub's contract logic - root cause: borrowing and lending
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Likely — with a thorough Other audit checklist and test coverage
Audited by Audit Report 1, Audit Report 2, Audit Report 3 — still lost $6.0M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to LendHub, these are the critical security checks that could have prevented this incident (January 2023).

  • Verify all logic paths related to Other are guarded by proper access controls and input validation
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Security Audit History

Sources & References

Learn to Prevent the Next LendHub

The LendHub hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial