SharkTeam: Analysis of the principle of MIM_SPELL attack
On January 30, 2024, MIM_SPELL suffered a flash loan attack. Due to a precision calculation vulnerability, the project lost $6.5 million.

On January 30, 2024, MIM_SPELL suffered a flash loan attack. Due to a precision calculation vulnerability, the project lost $6.5 million.
The main reason for this incident is that the attacker used the project contract to use the rounding-up algorithm and controlled the parameter to 1 to maximize the rounding-up error, thus causing the ledger to be unbalanced.