ZongZi Hack
Incident Overview
ZongZiFa token has been exploited with losses of about ~230K USD.
ZongZiFa token has been attacked with a hacker's profit of 383BNB or $227,607.
1,904 BNBs were taken as a flashloan from the Pancake USDT/WBNB pool and used for a mathematic attack over ZongZi contract logic which led to losses of about 230k USD,
Attacker:
Pair address:
https://bscscan.com/address/0xd695c08a…1219fe
Exploit tx:
https://bscscan.com/tx/0x247f4b3d…9cd79f
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 ZongZi, these are the critical security checks that could have prevented this incident (March 2024).
- Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans Attacks 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 TrialRelated Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next ZongZi
The ZongZi 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.