According to Foresight News, SlowMist has released an analysis of the recent attack on zkLend, which resulted in a loss exceeding $9 million on the Starknet blockchain. The primary cause of the breach was identified as a vulnerability in the market contract's use of the safeMath library. The library's direct division method led to a rounding error when calculating the number of zTokens to be destroyed during withdrawals. This flaw potentially allowed attackers to exploit the system for illegal gains.