SlowMist says MALT protocol was exploited through rebalance hook flaw, with about $72,000 lost
SlowMist said the MALT protocol was attacked because of a flaw tied to the rebalanceHook used in its swap function, with losses estimated at about $72,000. According to the security firm, the attacker was able to put in only a very small amount of capital, trigger the protocol treasury to inject liquidity, and then withdraw a disproportionately large amount of MALT tokens. SlowMist said the issue stemmed from the way the swap(uint256,uint256,address) function recorded user input and pre-swap reserves before calling an external rebalance hook. That hook pulled DAI from a funding source and deposited it into the same liquidity pool. The swap function then checked invariants against the pool’s final balance and mistakenly treated the protocol-injected DAI as if it had been supplied by the caller. SlowMist also disclosed the attacker address, victim address, and the vulnerable contract address.








