Hack history / 2022 / Hack or exploit
MooCakeCTX
Hack or exploit on Nov 7, 2022 · Flash Loan Attack
ONE SOURCE · 1 SOURCE
Lost
$144K
dollars at the time
Returned
none listed
as the sources state it
Rank
#1,586
among thefts by dollars lost
What happened
The MooCakeCTX project suffered a flash loan attack, and the attackers made a profit of $143,921. According to Fairyproof’s analysis, the suspected reason is that the contract reinvested (the earn function was not called) before the user pledged (depositAll function) without settlement of the reward, that is, when the user pledged, the contract did not settle the previous reward and conduct new investment. This will cause users to get the previous pledge dividends immediately after the pledge. After the attacker borrows 50,000 cake tokens using a flash loan in the same block, he pledges it twice in a row, and then withdraws the pledged cake tokens and returns them to make a profit.
Details
- Date
- Nov 7, 2022
- Kind
- Hack or exploit
- Method
- Flash Loan Attack
- How in
- Price, oracle and governance
- Target
- not stated
- Chains
- BNB Chain
Reported by
Related incidents
MooCAKECTX 2022 · Hack or exploit · $140K
FEG 2022 · Hack or exploit · $1.9M
Fswap 2022 · Hack or exploit · $390K
ATK 2022 · Hack or exploit · $120K
fomo-dao 2022 · Hack or exploit · $110K
FEG 2022 · Hack or exploit · $1.9M
Fswap 2022 · Hack or exploit · $390K
ATK 2022 · Hack or exploit · $120K
fomo-dao 2022 · Hack or exploit · $110K
Cite this page
SwanBluechip, "MooCakeCTX hack, Nov 7, 2022: $144K lost", Crypto hack history, https://swan-hack-tracker.pages.dev/history/i/ht08688a4347/ (data as of 2026-11-01).