DeFi lending protocol Moonwell and CrossCurve have both recently suffered exploits connected to smart contracts.