Worked example · 2021-05
Bogged Finance flash-loan staking-reward mint exploit — BNB Chain — 2021-05 (reported 2021-05-24)
Summary
Bogged Finance was a BNB Chain (then Binance Smart Chain) DeFi platform offering limit-order and related tools with a BOG token. CoinDesk reported on 2021-05-24 that the attacker used flash loans to exploit a flaw in the smart contract and manipulate staking rewards, causing 15 million BOG to be minted; the attack was stopped after about 45 seconds [coindeskbogged]. BOG's price fell from $8.50 to $0.15, over 98% [coindeskbogged]. CryptoSlate described it as the third flash-loan-related attack on BSC at the time [cryptoslatebogged].
Bogged said it would migrate liquidity to a new contract (using the same exploit path as the attacker), burn about 7.5M tokens, airdrop liquidity tokens back to owners and return legitimately owned BOG [coindeskbogged]. The sources consulted do not say whether that migration was completed or whether funds were recovered.
Timeline
| When | Event | OAK ref |
|---|---|---|
| ~2021-05-22/23 (date not stated) | Attacker flash-borrows funds and exploits the contract to manipulate staking rewards, minting 15M BOG [coindeskbogged] |
T9.002 |
| same event | Minted BOG sold into liquidity pools; about $3M taken in ~45 seconds [coindeskbogged] |
(extraction) |
| 2021-05-24 | CoinDesk reports; Bogged blog post (a Sunday) outlines liquidity migration [coindeskbogged] |
(operator response) |
Public references
[coindeskbogged]— CoinDesk, "BSC-Based Bogged Finance Suffers $3M Exploit" (2021-05-24): https://www.coindesk.com/ja/markets/2021/05/24/bsc-based-bogged-finance-suffers-3m-exploit[cryptoslatebogged]— CryptoSlate, "DeFi tool 'Bogged Finance' sees $3 million hack, prices plunge 98%": https://cryptoslate.com/defi-tool-bogged-finance-sees-3-million-hack-prices-plunge-98/