MooCakeCTX Flash Loan Attack: $143.92K Reported Loss
The MooCakeCTX project suffered a flash loan attack, and the attackers made a profit of $143,921.
- Reported loss
- $ 143,921
- Attack category
- Flash Loan Attack
Incident Overview
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.
Sources & References
This record presents information attributed to the linked sources. Incident dates describe the original event, not a new report. Reported loss figures reflect the source record and are not current market valuations.