Abracadabra Spell Hack

TOTAL LOST $1.7M
Medium Access Control Attacks ethereum

What happened

On October 4, 2025, an attacker exploited legacy Abracadabra Cauldron V4 contracts on Ethereum, using a two-action cook() call to bypass the final solvency check and borrow unbacked MIM. About $1.7 million was taken and converted to ETH.

Technical Root Cause

Unsafe overwrite of shared security-critical state in a batched execution flow. An extensibility hook returned a default status struct that erased the previously set needsSolvencyCheck flag. Deprecated Cauldron V4 contracts remained active, making the flaw exploitable.

Case & protocol details

Classification Protocol Logic
Protocol Type CDP
Smart Contract Language Solidity
Official Website abracadabra.money/
Protocol Twitter/X @MIM_Spell

Attack Timeline

cook() batches actions while carrying a status flag that determines whether a solvency check runs at the end. Borrow action 5 set that flag, but a following undefined action 0 replaced the shared status with a default value. The flag became false, so the transaction completed without verifying that the new borrow was collateralized.

Practice this exploit pattern safely

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.