The controllers incorrectly add tokens to an account's asset list even when the account did not receive those tokens, because the canCall functions return token addresses that were not actually transferred to the account. An attacker could have tokens they do not own appear in their asset list, though the report notes this does not affect collateral calculation.
The Rage Trade integration functions allow specifying an arbitrary receiver address for withdrawn tokens, but the Sentiment controller assumes tokens always return to the calling account. This can cause the account's asset tracking to become inconsistent with actual token holdings.
The GMX Reward Router's claimFees() function always adds WETH to the user's asset list, even when no fees have accrued and no WETH is actually received. An attacker could force their account to show a WETH asset with zero balance, leading to inaccurate accounting.
The DNGMXVaultController approves function calls by signature for two separate contracts, but without compiler checks across those contracts, a signature collision could allow a user to call a non-permitted function. The report notes this is unlikely and the contracts are non-upgradeable, so no collision exists in practice.
The previewRedeem function uses the zero address to look up partner fee information, which may return incorrect fee values. This could cause users to be liquidated earlier than they should be and give liquidators higher profits.
The GLP oracle on Arbitrum reads a Chainlink price feed without checking whether the L2 sequencer is down, so a stale price can still look fresh. A malicious actor could exploit sequencer downtime to borrow against an inflated price or dodge liquidation at a deflated one.
The report claims that during liquidation, a liquidator receives pvGLP vault tokens but may be unable to redeem them because the redemption contract only allows whitelisted or partner addresses. This could discourage liquidators from performing liquidations when needed.
The wstETH-ETH Curve LP token price used by Sentiment's oracle can be manipulated by reentering the Curve pool during a liquidity removal, causing the virtual price to drop sharply. An attacker could then liquidate otherwise healthy accounts for profit.
The reward claim function can be called by anyone, not just the account owner. If a third party repeatedly claims rewards on behalf of the victim, the reward tokens are never added to the victim's asset list, so the system undercounts their assets and may wrongly liquidate the account.
The controller contracts incorrectly assume that using the full function signature for deposit or withdraw means the user is claiming rewards, so they add reward tokens to the user's account even when the claim flag is false. This can cause the user's asset tracking to be inconsistent with reality.
The BalancerController contract only recorded the final token from a Balancer batchSwap, ignoring intermediate tokens returned to the user. An attacker could exploit this to have intermediate tokens not counted in their account balance, potentially leading to premature liquidation.
The WSTETH oracle contract did not check whether the Arbitrum sequencer was live before returning price data, unlike the protocol's other Arbitrum oracle. If the sequencer went down, prices could become stale and users could keep borrowing against outdated values.
The controller contracts used an incorrect function selector for the withdraw-and-claim operation, so calls to withdraw from Balancer pools would fail. Users could not claim rewards when withdrawing from Balancer pools, though Curve pools were unaffected because their actual signature matched the selector.
The BalancerController contract only records the first token in a batchSwap chain as tokensOut, ignoring tokens that are actually spent from the user's account. An attacker can set a later swap step's amount higher than the previous step's output, causing extra tokens to be traded away without the account's asset tracking being updated.
The borrow function's risk check did not account for the origination fee, so a borrower could receive less than the borrowed amount and become immediately liquidatable. An attacker could exploit this to cause a borrower's account to be liquidated.
The ERC4626Oracle contract incorrectly used the vault's decimals instead of the underlying token's decimals when calculating the price of an ERC4626 vault token. This caused the price to be significantly underestimated or overestimated when the vault's decimals differed from the underlying token's decimals.
The UniV2LPOracle contract incorrectly assumes that the reserves of a Uniswap V2 pair are always in 18 decimals, leading to a wrong price calculation when one of the tokens has a different number of decimals. An attacker could exploit this to manipulate the oracle's reported price, potentially causing financial loss or incorrect liquidations.
The LToken contract's maxMint and maxDeposit functions return the maximum uint256 value instead of respecting the contract's maxSupply limit, violating the EIP-4626 standard. This could cause unexpected behaviour in the future due to non-compliance.
The Curve controller's canRemoveLiquidity function only added underlying tokens to the account's asset list if their minimum withdrawal amount was greater than zero. An attacker could set minimum amounts to zero, causing withdrawn tokens to be omitted from the asset list and potentially leading to premature liquidation.
The protocol allows setting the underlying asset of LEther to the zero address, and its accounting logic treats the zero address as a valid asset. If that configuration occurs, accounts with ETH loans cannot be liquidated because the health check calls a balance function on the zero address and reverts.
The ChainlinkOracle contract's getPrice function did not check the timestamp of the latest price feed update, so it could use a stale price. An attacker could exploit this during a flash crash to prevent proper liquidations or cause incorrect valuations.
The liquidation function iterates over all assets and attempts to transfer each one; if any single transfer fails, the entire liquidation reverts. An attacker could deliberately cause a transfer to fail (e.g., by getting blacklisted by USDC) to avoid being liquidated.
The UniV3Controller contract hardcoded function signatures for Uniswap V3 router calls, but the router address specified in the deployment documentation uses different signatures due to a parameter change. As a result, any user attempting to interact with Uniswap V3 through the controller would have their calls rejected.
An early depositor could manipulate the price per share of an LToken by depositing a tiny amount and then inflating the share price, causing later depositors to receive far fewer shares and lose part of their funds. The attacker could profit from these losses.
The CurveLPStakingController contract only supports deposit and withdraw functions that do not claim rewards, and it lacks a claim_rewards function. As a result, users cannot claim their Curve gauge rewards.
The depositEth and redeemEth functions in the LEther contract did not call updateState before changing the liquidity, so the interest rate used for pending interest calculations was based on an outdated utilisation ratio. This could cause borrowers to pay incorrect interest amounts, either overpaying or underpaying, leading to losses for lenders or borrowers.
The CTokenOracle contract's price calculation for cTokens incorrectly divides by the underlying token's decimals instead of 10 raised to that power, causing cToken prices to be overvalued by many orders of magnitude. An attacker could deposit a single cToken and drain all liquidity pools.
The protocol did not check whether tokens returned from external interactions were allowed before registering them as collateral. An attacker could use an arbitrary token with an active oracle as collateral, manipulate its price, and drain funds.
The protocol does not properly track balance changes for rebasing tokens while they are held in a borrower's account. As a result, the lender may miss out on gains such as airdrops that should have accrued to them.
If an oracle is set for an ERC777 token, a re-entrancy in Account.sweepTo allows an attacker to borrow funds and have them withdrawn along with all account assets without health checks, leaving the account with debt and draining LToken funds.
SU
Sentiment Update #3
Medium
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.