Skip to content

DappsAtlas index · 14,224 dApps

DappsAtlas

Security and scams · Explainer

BadgerDAO Hack Explained: $120M Drained and Lessons for Users

In December 2021, BadgerDAO users lost roughly $120 million after attackers abused the project's front-end to trick wallets into granting token permissions. This guide explains what happened, why approvals made the losses possible, and how you can avoid the same trap.

By the DappsAtlas editorial team · Updated

Illustration for BadgerDAO Hack Explained: $120M Drained and Lessons for Users

What happened in the BadgerDAO hack?

In early December 2021, BadgerDAO, a Bitcoin-focused DeFi project built around yield vaults, suffered an exploit that drained roughly $120 million in user funds. The losses were not caused by a single flaw in a lending pool or a bridge. Instead, attackers used the project's public-facing interface to get users to grant permissions that let them move tokens out of their wallets.

The event is still useful to study. It shows that a protocol can have contracts that behave as designed while users still lose assets. The key lesson is that the approval step, the moment a wallet agrees to let a contract spend tokens, is a security boundary that deserves as much attention as the smart contract itself.

This explainer covers the sequence of events, the mechanism behind the losses, the current status you should verify with official sources, and practical steps for users and teams. It is written as an evergreen reference, not a live news report.

How big was the BadgerDAO exploit and when did it happen?

The core facts are widely reported. The incident took place in early December 2021 and involved losses of about $120 million, measured at the prices of the time. Because the value of the affected tokens moves with the market, the dollar figure is a snapshot, not a fixed number.

Here is a simple timeline you can use as a reference:

  • Attackers gained a way to change what BadgerDAO users saw when they interacted with the project's front-end.
  • Users who connected their wallets were shown requests that could grant spending rights over their tokens.
  • Once those permissions were signed, the attackers could transfer tokens out of affected wallets.
  • The project responded by investigating, warning users, and working to limit further damage.

As with most large exploits, the exact order of technical steps was refined in later reporting and post-incident reviews. If you need precise details, rely on the project's official post-mortem and reputable security write-ups rather than summaries that may repeat early estimates.

How did attackers reach users through the front-end?

Most DeFi apps have a smart contract layer and a front-end layer. The contracts hold the logic and funds. The front-end is the website that helps users build transactions and display what they are about to sign. If someone can change what the front-end shows or sends, they can ask a user to sign something different from what the user thinks.

In this case, the attack path went through the interface rather than through breaking the vault contracts directly. That distinction matters. A contract can be correct and still be used against people if the interface presents a misleading request.

Front-end compromise can happen through several routes, including stolen account credentials for hosting or DNS services, malicious scripts injected into a page, or compromised third-party libraries. None of these require a bug in the protocol's core math. They target the human and software steps around it.

For users, the defensive habit is to treat every signature request as a question that needs an answer. Do not sign simply because a familiar website asked. Read what the request does and who it lets spend your assets.

Why did token approvals make the losses possible?

A token approval is a permission. When you use a DEX, lending app, or vault, the app often asks you to approve a contract to move a certain amount of a token from your wallet. Many apps request an unlimited amount so you do not have to approve again for every transaction. That convenience is also a risk.

If the approval is unlimited and never revoked, the spender can keep access to your tokens long after you stopped using the app. If a malicious page tricks you into approving a contract you do not recognize, that contract can drain the approved balance. Your wallet may show a generic prompt that does not make the risk obvious.

BadgerDAO-style incidents highlight why approvals matter more than many users think. The problem is not only whether the protocol is audited. It is whether the specific permission you just granted is narrow, expected, and tied to the right address.

A simple habit reduces the exposure. Approve only the amount needed for the action, and revoke permissions when you stop using a service. Many users never do this, which is why old approvals remain a common source of losses across the ecosystem.

What happened to the stolen funds?

Large exploits raise the question of where stolen funds go. In general, attackers may swap tokens, move assets across chains, or route them through mixers and intermediary addresses. Tracing can be slow, and not every movement can be recovered. Blockchain transparency helps investigators follow transactions, but it does not guarantee that funds will return.

For users who held positions in the affected products, the practical questions are usually about what the project is doing about user claims, what remains recoverable, and which positions have been sunset. These answers depend on the team's public statements and any governance or legal steps taken afterward.

Be cautious of anyone who offers to recover your funds for a fee. After a hack, scammers often impersonate support staff, investigators, or recovery services. Legitimate teams announce updates through official channels and do not ask for seed phrases, private keys, or payment to release funds.

If you were affected, keep records of transaction hashes, wallet addresses, and screenshots of any requests you signed. These help if you need to file a report or check claims later.

What is the current status and how can I check it?

This guide cannot state a current recovery status, because public reporting were unavailable when it was written. The dApp listing for BadgerDAO notes that its vault and eBTC front-ends have been sunset while contracts remain accessible on-chain. That detail is useful for understanding risk, but it is not a complete account of every user remedy.

To verify the present status, use these sources in order of reliability:

  • The project's official documentation and announcements pages.
  • Verified social accounts linked from those official pages, checked by comparing handles with the documentation.
  • Reputable security or news write-ups that cite the project's post-mortem.
  • Block explorers, to confirm the balances and contract states that remain on-chain.

Do not rely on search ads, direct messages, or unverified support accounts. Those are common routes for phishing. If a page asks for your seed phrase or asks you to connect to a new contract to 'claim' funds, stop and check the official channel first.

If you still hold tokens tied to a sunset product, decide on your next step based on official guidance and your own risk tolerance, not on urgency messages.

What warning signs should I watch for in a DeFi interface?

Attacks on interfaces and approvals follow recognizable patterns. Learning to spot them can help you pause before you lose assets. The table below compares common warning signs with safer practice.

Warning sign What it may mean Safer action
Unexpected signature request that you did not start Interface may be compromised or the page may be spoofed Reject, close the tab, and reopen the official address you saved
Unlimited token approval for a contract you do not recognize A spender could move your full balance later Decline or set a small limit, then verify the spender address
Prompt asks for seed phrase or private key Phishing attempt Never enter it anywhere; legitimate apps do not need it
Urgent message from a support account Impersonation scam Confirm through official documentation before acting
Domain differs slightly from the usual one Lookalike site Bookmark the official address and check it each time
Page loads slowly or shows unusual errors after a notice Possible tampering or hosting issue Wait, verify on official channels, and avoid signing

None of these signs proves an attack by itself. They are reasons to slow down. In a hurry, a user is more likely to approve a request without reading it, which is exactly the situation attackers want.

How can I protect my wallet when using DeFi apps?

You do not need to be a developer to lower your risk. The steps below focus on habits you can apply to any DeFi app, including vaults, DEXes, lending markets, and bridges.

  1. Bookmark the official address of each app you use, and type it manually or open it from the bookmark.
  2. Use a separate wallet for interacting with DeFi, and keep your main holdings in a different address.
  3. Check each token approval. Set limits where the app allows, and avoid unlimited approvals for tokens you do not use often.
  4. Review your existing approvals with a reputable block explorer or wallet tool, and revoke any you no longer need.
  5. Verify the contract address you are interacting with against the official documentation before you sign.
  6. Consider a hardware wallet so that transaction details must be confirmed on the device screen.
  7. Keep your recovery phrase offline and never type it into a website, app, or chat.
  8. Enable multi-factor authentication on any exchange or email account tied to your crypto activity.
  9. Start with small test amounts when using an unfamiliar product, and increase only after you understand the flow.

These steps will not eliminate risk, but they reduce the chance that one compromised page can empty your wallet.

What should protocol teams learn from the BadgerDAO hack?

The BadgerDAO incident has lessons for teams as well as users. Smart contract audits are valuable, but they usually focus on the contract code. A complete security program also covers the infrastructure that serves the app, the people who can change it, and the processes used to approve updates.

Sensible practices for protocol teams include:

  • Restricting access to hosting, DNS, and content delivery accounts with hardware-backed multi-factor authentication.
  • Separating deployment keys from everyday operational accounts, and using multi-signature controls for sensitive changes.
  • Monitoring front-end assets for unexpected changes, such as new scripts or altered transaction builders.
  • Publishing contract addresses and verification links in official documentation so users can cross-check.
  • Designing interfaces that show clear, human-readable descriptions of approvals and transactions.
  • Preparing an incident response plan that includes user warnings, pause mechanisms where appropriate, and public post-mortems.

For users, the takeaway is that a protocol's reputation does not replace your own checks. Even well-known projects can be affected when the surrounding systems are compromised. Treat each new signature as a decision that needs a reason.

Frequently asked questions

Where can I find the current status of BadgerDAO funds and recovery efforts?

Check the project's official channels, such as its documentation and verified social accounts, for any statements about the status of the sunset vault and eBTC front-ends. Public reporting were unavailable for this guide, so no current status is stated here. Ignore direct messages offering help or refunds, since recovery scams often follow large hacks.

If the contracts were audited, why did users still lose funds?

Most DeFi losses in this category happen because a user signs an approval or transaction they did not understand. A valid signature can allow a contract to move tokens later without any further prompt. Read the request in your wallet, check the spender address against the official contract, and avoid signing requests that ask for unlimited access when a smaller amount would do.

How do I revoke token approvals I gave to a DeFi app?

Use a block explorer or an approval-checking tool from a reputable wallet provider to see which addresses hold permission over your tokens. Revoke any approvals you no longer need, starting with unknown spenders and unlimited amounts. Revoking costs a small network fee, but it closes a path that attackers can use.

What is the safest way to use DeFi apps after a hack like this?

Start with a separate wallet that holds only the funds you need for a given app, and avoid keeping long-term savings in the same address you use for interactions. Hardware wallets help because you must confirm details on the device screen. Keep your recovery phrase offline, and never enter it into a website or chat window.

Does this guide apply to crypto gambling or casino sites too?

Gambling topics and yield products carry real risks, and rules differ by country. Check your local laws before using any DeFi or crypto service, and remember that the site's listings do not confirm legal access where you live. This guide does not cover any way around access restrictions.

Mentioned in this guide

dApps in this guide

Badger DAO logo

Badger DAO

Yield Aggregator

Score 4.5 out of 10

Badger DAO is a Bitcoin-focused DeFi collective and yield-vault project whose vault and eBTC front-ends have been sunset, leaving contracts accessible on-chain.

TVL $11.9M−2.0%Ethereum · Arbitrum · Polygon +2
Lombard LBTC logo

Lombard LBTC

Restaked Btc

Score 7.8 out of 10

Lombard issues LBTC, a yield-bearing Bitcoin token backed 1:1 by BTC, for holders and institutions who want to use Bitcoin in DeFi.

TVL $519M−5.4%Bitcoin · Ethereum
vfat.io logo

vfat.io

Yield Aggregator

Score 7.8 out of 10

vfat.io is a non-custodial, multi-chain yield aggregator and portfolio manager built on the Sickle smart contract wallet, for active DeFi farmers.

TVL $31.4M−2.2%Base · Ethereum · Hyperliquid L1 +33
Convex Finance logo

Convex Finance

Yield Aggregator

Score 7.8 out of 10

Convex Finance is a DeFi yield platform that boosts rewards for Curve, Frax and f(x) liquidity providers and lets CVX lockers vote on emissions.

TVL $502M−2.9%Ethereum · Fraxtal · Arbitrum +1
Uniswap V3 logoScore 8.4 out of 10

Uniswap V3 is a non-custodial decentralized exchange protocol for token swaps and concentrated liquidity provision across 40+ chains.

TVL $1.51B−3.7%Ethereum · Base · Arbitrum +38

Keep reading

Related guides

All security and scams guides

DeFi · Explainer

Bitcoin in DeFi and Badger DAO: What Changed and Why It Matters

Badger DAO was one of the better-known attempts to put bitcoin to work in DeFi through yield vaults and wrapped BTC tokens. This guide explains what it did, what its sunset front-ends mean for users today, and what a fair reading of its role looks like.

DeFi · Explainer

Yield Farming for Beginners: A 2026 Guide

Yield farming means putting crypto into DeFi protocols to earn fees, interest or token rewards. This guide explains where those returns come from, the strategies beginners usually meet first, and the risks to weigh before depositing anything.

DeFi · Explainer

Yield Farming for Beginners: How It Works and Risks in 2026

Yield farming means putting crypto into DeFi protocols to earn rewards such as interest, trading fees or new tokens. This guide explains how the returns are generated, the risks that can erase them, and how a beginner can approach it carefully.

DeFi · Explainer

Belt Finance Explained: How This BNB Chain Yield Aggregator Works

Belt Finance is a yield aggregator and automated market maker on BNB Chain that moves user deposits into strategies and compounds the rewards. This guide explains the mechanics in plain terms, along with the risks and the checks to run before depositing.

Security and scams · Explainer

Balancer V2 Exploit November 2025: Rounding Bug and Lessons

In early November 2025, attackers drained several Balancer V2 pools by exploiting a rounding flaw in stable-style pool math. This explainer covers how the bug worked, why flash loans made it larger, how reported loss figures differ, and what DeFi users can take from the post-mortems.

Security and scams · Explainer

Axiecat NFT Scam: Warning Signs and How to Check Before You Buy

Warnings about an NFT project called Axiecat circulate often, and this guide explains what those alarm bells usually mean, how to check a collection yourself, and what to do if you already interacted with it. The sources used here do not confirm specific details of an Axiecat case, so treat any unverified claim about it with caution.