Badger DAO Hack
Incident Overview
BadgerDAO lost 120,000,000 $USD worth of assets due to dApp exploit
BadgerDAO is a Yield Aggregation protocol. The attacker exploited the front end of the BadgerDAO dApp. Many impacted users alleged that while receiving yield farming rewards and engaging with Badger vaults, their wallet providers prompted them with spurious requests for extra permissions.
One of the most affected users (896 Badger WBTC):
https://etherscan.io/address/0x53461e4f…64f249
The following transaction shows that this user invokes additional approval for spending tokens for the attacker's address inside increaseAllowance() function:
https://etherscan.io/tx/0x5e4c7966…fe1f34
After that, the attacker can withdraw users' funds using transferFrom() function, for example:
https://etherscan.io/tx/0xe4e152f5…828126
Stolen funds are calculated up to $120m at the moment.
Approximately 500+ users were affected, based on the Bloxy data:
https://bloxy.info/txs/references_address/0x1fcdb04d…269107?argument=spender&signature_id=5
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 Badger DAO, these are the critical security checks that could have prevented this incident (December 2021).
- Verify all logic paths related to Cloudflare Key Compromised / 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
- 01
-
02
Reference https://archive.is/TIObp
Learn to Prevent the Next Badger DAO
The Badger DAO 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.