The protocol fails to normalise token decimals when processing cross-chain borrow requests, so a borrow amount is interpreted with the destination chain's decimals. A borrower could receive far more tokens than intended (or far fewer) when the same token has different decimals on the two chains.
The supply function uses a stale exchange rate that ignores pending interest, so users receive more lTokens than the contract actually mints. This can cause losses for other users and reduce the underlying assets received when redeeming.
The protocol uses standard ERC20 transfer calls that expect a boolean return value, but tokens like USDT do not return a boolean, causing those calls to revert. This makes core functions such as borrowing impossible to use with USDT, resulting in a denial of service.
When a user supplies collateral, the protocol does not add the corresponding market to the user's account, so the collateral is not counted when they later try to borrow. As a result, a user with sufficient collateral cannot borrow and the transaction reverts.
The destination chain in a cross-chain lending protocol incorrectly validates that the collateral provided by the source chain covers all of the user's borrows on the destination chain, including same-chain and cross-chain borrows originating there. This causes valid cross-chain borrow requests to be rejected even when the user has sufficient collateral on the source chain.
The liquidation function calculates the maximum repayable amount using the historical borrow balance without accrued interest, rather than the current debt. This prevents liquidators from repaying the full allowable amount, reducing their rewards and potentially delaying debt recovery.
The cross-chain borrow interest calculation uses the same-chain LToken's borrow index instead of the correct cross-chain index, causing inaccurate debt accrual. This can lead to incorrect interest amounts and break cross-chain functionality.
The cross-chain repayment path calls a shared internal repayment routine that updates the borrower's same-chain borrow balance instead of the cross-chain borrow record. This leaves cross-chain debt accounting wrong, which could prevent repayment or liquidation of cross-chain borrows.
The cross-chain liquidation check on Chain A incorrectly treats the number of collateral tokens to seize as an additional borrow amount, so a healthy position can be marked liquidatable. An attacker could liquidate valid accounts that should not be eligible.
A cross-chain borrow is recorded on the destination chain only after a message is delivered, but the source chain does not lock the user's collateral while that message is pending. The user can redeem collateral immediately after starting the borrow, so the position becomes undercollateralised once the borrow completes, and the text claims this can be repeated to drain the pool.
The borrowWithInterest() function on the source chain filters borrow records using the wrong chain identifier field, so it never matches existing cross-chain borrows and always returns zero. This makes cross-chain liquidations on that chain impossible because the liquidation check sees no outstanding debt.
The cross-chain borrow handler updates the user's collateral record before distributing LEND rewards, but the reward calculation reads that same record. As a result, the protocol distributes an incorrect amount of LEND tokens to borrowers.
In the cross-chain liquidation flow, the destination chain's borrowed token address is passed back and used as the source chain's borrowed token when locating the borrower's collateral record. Because token addresses can differ across chains, the lookup can fail and the repayment step can revert after collateral has already been seized, leaving the debt unchanged.
The repayment function checks the length of the collateral array after removing an entry, so a full repayment of a single debt leaves the token in the borrowed-assets list, while repaying one of two debts removes it prematurely. This incorrect debt tracking could let a user withdraw collateral without proper validation or cause liquidation errors.
The reward distribution function uses the wrong borrow records, so users who borrowed on this chain via cross-chain requests get no LEND rewards, while users who borrowed elsewhere but originated the request here receive rewards they should not get.
The claimLend() function transferred accrued LEND rewards to users but never reset the stored accrued balance, so the same rewards could be claimed repeatedly. An attacker could drain the protocol's LEND token reserves and prevent other users from claiming their rewards.
During liquidations the protocol records a 2.8% share of seized collateral in a protocolReward mapping, but no function can ever withdraw or use those tokens. The protocol's earned revenue therefore accumulates permanently locked in the contract.
A user can populate both cross-chain borrow and collateral mappings for the same asset on both chains by supplying collateral on one chain and borrowing on the other, then doing the reverse with dust amounts. This causes the borrowWithInterest function to revert, preventing liquidation and allowing the user to bridge out nearly all collateral.
The cross-chain liquidation flow uses the wrong lToken address when finalising repayment on Chain B, causing the borrow position lookup to fail. As a result, the borrower's debt is not reduced even though collateral has been seized on Chain A, leaving the protocol undercollateralised.
The liquidateCrossChain function calculates the number of collateral tokens to seize using the exchange rate of the destination chain's LToken instead of the source chain's LToken. This can result in seizing an incorrect amount of collateral, potentially causing liquidation to fail or seizing too little or too much.
The cross-chain borrow function sends only the raw collateral value to the destination chain, ignoring existing borrows on the source chain. An attacker could borrow against the same collateral on multiple chains, exceeding their borrowing capacity and leaving the protocol undercollateralised.
The CoreRouter contract calculates the amount of underlying tokens to return to a user during redemption using a potentially stale exchange rate, without verifying the actual amount received from the LToken. This can cause the CoreRouter to overpay and drain its reserves, or underpay and trap excess funds.
The max liquidation amount calculation for cross-chain liquidations incorrectly uses a function that only counts borrows originating from the current chain, ignoring borrows where the current chain is the destination. This causes valid cross-chain liquidations to be rejected because the computed cap is zero or too low.
In the cross-chain liquidation flow, the destination chain never pulls the underlying repayment token from the liquidator before sending the seize message to the source chain. A liquidator who does not approve the token can still receive the borrower's seized collateral on the source chain while the repayment on the destination chain fails, so the borrower's debt is not reduced.
The CoreRouter contract calculates the underlying tokens a user receives when redeeming based on a fixed exchange rate, ignoring that CoreRouter itself can be liquidated and have less collateral. If CoreRouter is liquidated, early redeemers can withdraw fully while later users suffer greater losses than expected.
The repayBorrowInternal function in CoreRouter.sol updates same-chain borrow balances even when repaying a cross-chain debt, which can erase or reduce a user's legitimate same-chain debt. An attacker could repay a cross-chain loan to wipe out a larger same-chain debt, causing lenders to lose funds.
The borrowCrossChain function does not lock collateral before sending a cross-chain borrow request, so a user can submit multiple borrow requests on different chains using the same collateral. This allows the user to borrow more than the collateral's capacity and default, causing a loss to the protocol.
The borrowWithInterest function incorrectly checks that both source and destination chain IDs equal the current chain ID, which is always false for cross-chain collaterals. This causes cross-chain collateral amounts to be excluded from repayment calculations, potentially leading to incorrect or failed repayments.
The borrow function in CoreRouter.sol incorrectly recalculates the borrow amount using the user's historical borrow index, which can be zero for a first-time borrow in a market, bypassing the collateral check. An attacker could borrow assets even when their total debt exceeds their collateral, creating undercollateralized positions and bad debt for the protocol.
LE
LEND
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.