Malicious lender can prevent borrower from repayment due to try/catch block revert
Teller Lender Groups Update Audit
HighSherlock
Every publicly disclosed report for Teller Lender Groups Update Audit and what kind of bugs they were.
Newest first. Only what Teller Lender Groups Update Audit chose to make public.
Teller Lender Groups Update Audit
HighTeller Lender Groups Update Audit
HighThe contract transfers tokens without checking if the amount is zero, which can cause transactions to revert for tokens that disallow zero-value transfers. This can block liquidations and leave the share value incorrectly high.
Teller Lender Groups Update Audit
MediumThe EMI repayment calculation uses a minimum function that caps the amount owed for a cycle at the payment cycle amount plus interest, instead of the proportional amount based on time owed. This leads to lower payments than intended when repayment occurs after multiple cycles.
Teller Lender Groups Update Audit
MediumThe minimum interest rate for a loan is calculated using the pool's utilisation ratio, which includes the newly borrowed amount. By splitting a large loan into several smaller loans, a borrower can reduce the interest rate paid on the total amount.
Teller Lender Groups Update Audit
MediumThe repayLoanCallback function in LenderCommitmentGroup_Smart can revert when the contract is paused, but the caller uses a try/catch that swallows the revert, so the repayment transaction succeeds and funds are transferred without updating totalPrincipalTokensRepaid and totalInterestCollected. This leads to an incorrect exchange rate calculation, potentially causing a loss of funds for shareholders.
Teller Lender Groups Update Audit
MediumThe smart contract function that calculates outstanding principal tokens performs a subtraction that can underflow if a borrower repays more than the total principal lent. An attacker can repay an excess amount, causing the function to always revert and thereby bricking the lending functionality.
Teller Lender Groups Update Audit
MediumThe contract updates repayment state only after calling an external listener, allowing a malicious lender to re-enter and close the loan, seizing collateral. A borrower who repays after default could lose both the repayment and the collateral.
Teller Lender Groups Update Audit
MediumThe delegation version of the revokeLender function lacks access control, allowing any user to revoke any participant from a market. An attacker could revoke any address from any market, making the market unusable.
Teller Lender Groups Update Audit
MediumThe contract uses ERC20.approve instead of a safe approval method, which fails for tokens like USDT that do not return a boolean. This causes the acceptFundsForAcceptBid function to revert, making the protocol unusable with such tokens.
Teller Lender Groups Update Audit
MediumThe withdrawal delay for lender group members can be reset by anyone sending a zero-value transferFrom, because the token's afterTokenTransfer hook resets the member's prepared shares and timestamp. An attacker can repeatedly reset the countdown, preventing members from ever burning their shares and withdrawing their funds.
Teller Lender Groups Update Audit
High