Malda (prev. Mendi Finance) Hack

Reported loss $273K
Linea
Other

What happened

Malda's Mendi-to-Malda migrator on Linea accepted a fake Mendi Comptroller supplied by an attacker. This allowed the attacker to create a fraudulent Malda position and withdraw assets. Malda said the exploit was isolated to the migrator and paused the protocol.

Technical root cause

Migrator.sol accepted a caller-supplied Comptroller without enforcing the trusted Mendi address. Trusting the malicious replacement allowed an unbacked position to be created and redeemed.

How it happened

  1. The attacker deployed a malicious contract posing as the Mendi Comptroller.
  2. The migrator accepted that address and created a synthetic position without a genuine Mendi position backing it.
  3. The attacker withdrew assets, swapped them to ETH and bridged them to Ethereum.
  4. Malda paused the protocol and disabled the migrator through its configuration.

Protocol details

Classification Borrowing and Lending
Protocol Type Exploit/Other
Protocol links Website @malda_xyz

Build your security review skills

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