Fees aren't distributed properly for positions with multiple lenders, causing loss of funds for lenders
Fees owed to lenders are calculated based on each lender's share of the total borrowed amount, so when a borrower increases an existing position with a new loan, the new lender receives a portion of previously accrued fees. This causes older lenders to lose fees, and a borrower could exploit it to steal fees by opening a large loan with a colluding lender.
Real Wagmi #2 Update
High