Lucky Star Hack
Incident Overview
The Access control issue over the Lucky Star contract led to the approved tokens draining.
A security breach occurred with Lucky Star contracts, where the deployer transferred ownership of the proxy admin to a malicious EOA. This EOA then upgraded to a new implementation with the unverified source code, exploiting users who had previously approved the proxy admin. As a result, approximately $297k worth of LSC and USDT tokens were stolen.
Deployer:
https://bscscan.com/address/0xcde285a5…e4cd01
Transfer ownership:
https://bscscan.com/tx/0xbb2e8abb…7e8d61
Malicious upgrade:
https://bscscan.com/tx/0xb5e79163…8df523
Proxy admin:
https://bscscan.com/address/0x6b2ee199…2b80ca
Proxy contract:
https://bscscan.com/address/0x077e1E0c…E7c9eb#code
Malicious implementation: https://bscscan.com/address/0x32e484A1…4222A9#code
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 Lucky Star, these are the critical security checks that could have prevented this incident (March 2024).
- Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control 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 Lucky Star
The Lucky Star 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.