PancakeBunny Hack

TOTAL LOST $2.4M
Medium Flash Loan Attack

Summarize with AI

Affected Chain 2021 Incident surface
Recovered $2.4M 100.0% returned
All-Time Rank #609 By amount stolen
Protocol Type Exploit/Flash Loan Attack Target category

Incident Overview

PancakeBunny's VaultFlipToFlip vault was exploited using 8 flash loans, leading to a skewed calculation of the BUNNY price and a loss of approximately $1B in BUNNY tokens.

The attacker manipulated the price on various PancakeSwap pools using 8 flash loans, which skewed the calculation of the BUNNY price in the VaultFliptoFlip vault. They borrowed WBNB from seven different PancakeSwap pools and USDT from Fortube Bank, deposited a portion of these funds into the WBNB+BUSDT pool, and swapped a large amount of WBNB for BUSDT. This manipulation allowed them to claim a reward of 6.97M BUNNY, valued at about $1B, from VaultFlipToFlip. After the exploit, they returned the flash loans to the PancakeSwap pools and Fortube Bank.

Stolen funds:

- 6.97M BUNNY (~$1B)

The attacker's address:

https://bscscan.com/address/0xa0acc615…d7e187

The transaction behind the attack:

https://bscscan.com/tx/0x897c2de7…e6a979

Incident Report

Protocol / Project PancakeBunny
Date of Incident
Attack Technique Flash Loan Attack
Classification Yield Aggregator

Protocol Information

Protocol Type Exploit/Flash Loan Attack
Affected Token polyBUNNY
Protocol Twitter/X @PancakeBunnyFin
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
DeFi Yield Aggregator BNB Chain 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 Deep understanding of flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in PancakeBunny's contract logic - root cause: yield aggregator
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
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? Yes — skilled auditors routinely flag Flash Loan Attack vulnerabilities in code review

If you're auditing a protocol with similar architecture to PancakeBunny, these are the critical security checks that could have prevented this incident (July 2021).

  • Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans 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 Trial

Funds Recovery

100.0%

Recovered

$2.4M

Net Loss

0

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next PancakeBunny

The PancakeBunny 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