Badger DAO Hack

TOTAL LOST $120M
Critical #71 All-Time Cloudflare Key Compromised / Other ethereum

Summarize with AI

Affected Chain ethereum Incident surface
Recovered - No recovery reported
All-Time Rank #71 By amount stolen
Auditors 5 Prior security audits

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

The attacker's address:

https://etherscan.io/address/0x1FCdb04d…269107

Incident Report

Protocol / Project Badger DAO
Date of Incident
Affected Chain(s) ethereum
Attack Technique Cloudflare Key Compromised / Other
Classification Infrastructure / Yield Aggregator
Primary Source View Post-Mortem

Protocol Information

Protocol Type Yield Aggregator
Affected Token BADGER
Official Website app.badger.com/
Protocol Twitter/X @BadgerDAO
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
DeFi DAO Ethereum Ecosystem Yield Farming Yield Aggregator Governance Blockchain Capital Portfolio Arbitrum Ecosystem

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.

Technical Knowledge Operational-security tradecraft (phishing, malware, leaked seed phrases, or insider access) to obtain treasury signing authority
Capital Required Minimal capital - only enough to cover gas while draining the compromised accounts
On-Chain Access Valid signing authority over the compromised wallets / multisig signers, allowing direct transfer of funds or stake authorization
Target Reconnaissance Identification of Badger DAO's high-value treasury accounts and the authority / multisig structure controlling them
Execution Speed Speed to drain the compromised accounts before the team detects the breach and revokes signing authority or freezes the assets
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Likely — with a thorough Cloudflare Key Compromised / Other audit checklist and test coverage
Audited by Audit Report 1, Audit Report 2, Audit Report 3, Audit Report 4, Audit Report 5 — still lost $120M. Prior audits don't guarantee safety, especially after post-audit code changes.

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 Trial

Security Audit History

Sources & References

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.

Recreate exploit patterns safely Free Trial