Eden Network Hack
Incident Overview
On December 8, 2025, Eden Network lost approximately 12 ETH and 1.24 million EDEN tokens (worth ~$54,000) through a vulnerability in the lockTokens() function that allowed the attacker to call transferFrom on any user account with token approvals and set an arbitrary startTime value, enabling immediate withdrawal of locked tokens by setting startTime to 1 and creating a lock with only 1-day duration and cliff periods.
The vulnerability resided in the token locker contract (0x64b51725…2c67e2) which failed to validate user inputs for the lockTokens() function, allowing the attacker to specify any address as the locker account and set arbitrary startTime values. By setting startTime to 1 (essentially Unix epoch +1 second), durationInDays to 1, and cliffInDays to 1, the attacker created a lock that was immediately claimable. The attack sequence shows the attacker transferring 3,350,859,533,447,232,218,765 EDEN tokens from an unsuspecting victim's address, creating a lock, immediately claiming the unlocked tokens, and then burning the LP tokens to extract 1,252,698,563,622,477,061,733,840 EDEN tokens and 12,143,448,341,679,353,263 wei of WETH from the SushiSwap EDEN-2 liquidity pool.
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 Eden Network, these are the critical security checks that could have prevented this incident (December 2025).
- 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 Eden Network
The Eden Network 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.