Midas Capital Hack
Incident Overview
Midas Capital, a lending platform, was exploited resulting in a loss of over 600,000 $USD.
The Midas Capital, a borrowing and lending platform on the Binance Smart Chain, was exploited by a logic flaw in one of its contracts with unverified source code. As a result, the attacker was able to drain over 600,000 $USD worth of various tokens in stablecoins and $BNB. Part of the stolen amount was swapped for 510 $BNB and then transferred through TornadoCash.
The contract misused the redeem counter which, when provided with different amounts of HAY/BUSD AMM tokens, gave back multiple times the token value, behaving much like a free ATM.
Attacker Address:
https://bscscan.com/address/0x4b92cC34…470734
Malicious Transaction:
https://bscscan.com/tx/0x66654f11…ec2537
Funds Transfer Transaction:
https://bscscan.com/tx/0x4ab18c57…735383
Funds Transfer to TornadoCash Transaction:
https://bscscan.com/tx/0x50d2ac94…97edf1
Incident Report
Protocol Information
Market Context at Time of Hack
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 Midas Capital, these are the critical security checks that could have prevented this incident (June 2023).
- Verify all logic paths related to Redeem Rounding Error Exploit / Other are guarded by proper access controls and input validation - see the Arithmetic Overflows Underflows attack class for patterns
- 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 TrialSecurity Audit History
- Audit Report 1 Report
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next Midas Capital
The Midas Capital 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.