Balance check during MagicSpend validation cannot ensure that MagicSpend has enough balance to cover the requested fund
The balance check during MagicSpend validation only compares the contract's current balance to each withdrawal amount individually, so when multiple user operations are batched, the total withdrawals can exceed the balance. An attacker could cause the second withdrawal to fail, grieving the paymaster's reputation.
Smart Wallet
Medium