WebKeyDao Hack
Incident Overview
On March 15, 2025, WebKeyDao was exploited for ~$737K due to an unprotected buy function in the contract 0xD5110...CD851.
On March 15, 2025, an attacker exploited a vulnerability in WebKeyDao’s smart contract 0xD5110...CD851, which lacked proper protection in its buy function. By using 1,159 BUSD, the attacker minted 230 wkeyDao tokens at a highly favorable rate. These storage values were set using the SetSaleInfo function, modifying storage slots 0x9c and 0x9e, which controlled token pricing.
The attacker then sold the 230 tokens for 13,167 BUSD on a decentralized exchange (DEX), making a 10x profit. Despite the vulnerability, the contract had a 67-token sale threshold, preventing a full drain of the $11M liquidity pool. Initially, the loss was estimated at $73K, but after further analysis, the total stolen funds were confirmed to be ~$737K.
The vulnerable contract is no longer exploitable, and full details have been disclosed to the community.
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 WebKeyDao, these are the critical security checks that could have prevented this incident (March 2025).
- 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 WebKeyDao
The WebKeyDao 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.