Worked example · 2022-04
Elephant Money — a flash loan moved the ELEPHANT price through the TRUNK mint path, then TRUNK was redeemed at the inflated value — Elephant Money (ELEPHANT / TRUNK) / BNB Chain — 2022-04-12
Summary
On 2022-04-12 an attacker flash-borrowed WBNB (131,162 WBNB per Blocktempo; 131k WBNB and 91M BUSD per REKT), bought ELEPHANT, minted TRUNK with BUSD (which, through a flaw in the vulnerable contract, pushed the ELEPHANT price higher), then sold ELEPHANT for WBNB and redeemed TRUNK for about 36,987 WBNB and 66,884,140 BUSD (Blocktempo). BlockSec estimated about $4M profit per round and that the attacker could repeat it (U.Today; The Record). REKT says the cycle was repeated for total gains of over 27k WBNB. ELEPHANT fell by roughly 75 to 89% depending on source and baseline, and TRUNK dropped to a low of $0.591 per Blocktempo. The team paused the Reserve, disabling TRUNK minting and redemption, and engaged CertiK and InsurAce.
Timeline (UTC)
Stages: Preparation → Execution → Money → Response. No source opened gives block times; dates are as reported.
| When | What happened | OAK |
|---|---|---|
| Before 2022-04-12 (undisclosed) | The TRUNK mint/redeem path was live with a swap into ELEPHANT on-chain that an outside buyer could move. The attacker's initial funds came from Tornado Cash, per Blocktempo. | T7.001 |
| 2022-04-12 | Attacker flash-borrows WBNB (REKT: 131k WBNB and 91M BUSD), swaps about 131,162 WBNB for ELEPHANT, mints TRUNK with BUSD, which raises the ELEPHANT price, then sells ELEPHANT and redeems TRUNK, repays the loans and keeps the difference; repeated. Example transaction: 0xec317deb2f3efdc1dbf7ed5d3902cdf2c33ae512151646383a8cf8cbcd3d4577 (hash from REKT and Blocktempo; attacker contract and EOA undisclosed in the pages opened). |
T9.001, T9.002 |
| 2022-04-12 to 2022-04-13 | About 5% of proceeds sent back to Tornado Cash and 3,472 ETH withdrawn from it (Blocktempo); REKT says funds went to various accounts, then bridged to Ethereum or sent to Tornado Cash. Hop addresses undisclosed. | T7.001 |
| 2022-04-12 | Elephant Money pauses the Reserve (TRUNK minting and redemption off), tells users not to sell, states the $11.2M loss and works with CertiK and InsurAce. | response |
| 2022-04-12 / 2022-04-13 | BlockSec calls it a "traditional price manipulation attack" and warns of about $4M profit per round; PeckShield disputes the loss figure. | response |
Key addresses:
- Vulnerable contract named in Blocktempo's article —
0x1befe6f3f0e8edd2d4d15cae97baee01e51ea4a4. Blocktempo says BlockSec earlier suspected amigrate()flaw in it in a separate BSC attack and that this is not confirmed as the root cause here, so it is listed only as named, not as the confirmed victim contract. - Attacker EOA, attack contract and holding wallets: undisclosed in the pages opened.
Where the funds went (hops undisclosed)
Not traced by OAK and not given hop by hop with full addresses in any page opened (REKT and Blocktempo give only the Tornado Cash and bridge description above), so no oak-flow block is written. The date does not require one.
Root-cause evidence
- Technique: OAK-T9.001
- Source: https://www.rekt.news/elephant-money-rekt; https://www.blocktempo.com/elephant-money-attacked-by-flash-loan/; https://u.today/elephant-money-defi-hacked-are-funds-safu; https://therecord.media/hackers-steal-more-than-11-million-from-elephant-money-defi-platform/
- Source type: news
- Confidence: corroborated
- Evidence: REKT and Blocktempo independently describe, and The Record relays BlockSec for the same sequence (flash-loaned WBNB buys ELEPHANT, TRUNK mint raises the ELEPHANT price, sell and redeem) and the roughly $4M per round, attributing the analysis to BlockSec; U.Today quotes BlockSec's "traditional price manipulation attack". The operator's post-mortem could not be opened (HTTP 403), so the mechanism rests on relayed forensic analysis and not on the operator's text. Unknown: the exact vulnerable contract and function, attacker addresses, total loss ($11.2M vs $22.2M), and fund disposition. The
migrate()finding in Blocktempo concerns a separate attack.
Public references
[rekt2022elephant]— REKT, "Elephant Money" (2022-04-13): https://www.rekt.news/elephant-money-rekt[blocktempo2022elephant]— Blocktempo, "Elephant Money attacked by flash loan" (2022-04-13): https://www.blocktempo.com/elephant-money-attacked-by-flash-loan/[utoday2022elephant]— U.Today, "Elephant Money DeFi Hacked, Are Funds SAFU?" (2022-04-13): https://u.today/elephant-money-defi-hacked-are-funds-safu[therecord2022elephant]— The Record, "Hackers steal more than $11 million from Elephant Money DeFi platform": https://therecord.media/hackers-steal-more-than-11-million-from-elephant-money-defi-platform/- Unreadable: ImmuneBytes https://immunebytes.com/blog/?p=10728 (404); Elephant Money post-mortem https://medium.com/elephant-money/reserve-exploit-52fd36ccc7e8; TokenInsight; de.fi.