Custom Lending Pool Hack
Incident Overview
Custom lending pool on Binance Smart Chain exploited due to approval issue, resulting in a loss of 366,058 USDT.
A custom lending pool running on the Binance Smart Chain was exploited on November 12, 2023, due to an approval issue in the smart contract. The attacker was able to drain approved funds from the victim contract, totaling 366,058 USDT. The exact cause of the exploit is hard to define, as the contract is not verified and the source code is not available.
The stolen funds were bridged to the Ethereum mainnet via Stargate Bridge and swapped for DAI and WETH. These funds were then deposited into Railgun Relay, a private wallet on the Ethereum network.
Attacker Address:
https://bscscan.com/address/0x69e068eb…21cea0
Malicious Contract Addresses:
https://bscscan.com/address/0x69e068eb…21cea0
https://bscscan.com/address/0x3918e0d2…006108
Victim Contract Address:
https://bscscan.com/address/0x8c2d4ed9…95ffe7
Malicious Transaction:
https://bscscan.com/tx/0x3dcb26a1…c8c9b3
Bridging Transactions:
https://bscscan.com/tx/0x9f2cc9f6…b02532
https://etherscan.io/tx/0xd4d7f80f…124310
Railgun Deposit Transactions:
https://etherscan.io/tx/0xae1ad836…095b7f
https://etherscan.io/tx/0xc55b3285…3e8322
Incident Report
Protocol Information
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.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Custom Lending Pool, these are the critical security checks that could have prevented this incident (November 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 TrialSources & References
Learn to Prevent the Next Custom Lending Pool
The Custom Lending Pool 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.