The Pendle PT oracle multiplies the PT-to-SY rate by the underlying price, assuming one SY token always equals one unit of the underlying yield token. Because SY can trade away from that 1:1 peg, the oracle can overstate PT value, letting users borrow more than they should and preventing liquidations.
The migration and reentrancy functions check the caller's migrator role against a caller-supplied ControlTower contract instead of the market's trusted stored one. An attacker can pass a fake ControlTower that always approves them, then use migrateFrom to move a victim's collateral to an attacker-controlled receiver and migrateTo to push debt onto other accounts.
The OraclePendlePT contract assumes Pendle's getPtToSyRate() always returns a 1e18-scaled rate, but some markets return larger decimals, causing incorrect PT pricing. This could break collateral valuation and liquidation, potentially leading to protocol fund loss.
When reward tokens are streamed, integer division when computing the reward rate leaves small amounts of tokens stranded in the contract. Because no sweep function exists, those leftover tokens can never be recovered by the admin.
When totalCollateral becomes zero, the reward update function skips updating userRewardPerTokenPaid for new depositors, leaving it at zero while rewardPerTokenStored retains accumulated values. An attacker could deposit minimal collateral, withdraw it, and later claim rewards that were already earned by previous users.
The WStable contract's mint and burn functions with isSaving=true convert between shares and assets asymmetrically, so when yield accrues between a user's deposit and withdrawal, the user receives fewer vault shares than they deposited. An attacker could exploit this to cause users to permanently lose a portion of their shares proportional to the yield accrued.
The migration function unconditionally checks deposit and borrow pause status and calls a post-deposit hook even when only debt is moved, causing legitimate migrations to fail. This can block users from moving debt or adding collateral during critical moments, increasing liquidation risk.
The ZappingProxy contract forwards ETH to routers but lacks a payable receive or fallback function, so any ETH refund from the router reverts. This causes the entire zap transaction to fail for ETH paths that expect refunds.
The zapping proxy sends leftover input tokens to the treasury using the ERC20 transfer function, which does not return a boolean. For tokens such as USDT that do not return a value, the call reverts, so users cannot perform market actions with USDT whenever a leftover balance exists.
The oracle contract assumes an expired Pendle Principal Token redeems exactly 1:1 for the underlying asset, but real redemption can go through DEX swaps affected by MEV, low liquidity or price impact. This can overvalue the PT and lead to incorrect borrowing positions and protocol losses.
The market contract compares collateral valued in USD against debt denominated in USG tokens without converting the debt to USD, effectively assuming one USG always equals one dollar. If USG depegs, health and liquidation checks become wrong, which could cause silent insolvency or unfair liquidations.
When a liquidator repays debt using their own USG balance without swapping collateral, the contract burns USG without checking a maximum burn amount, so the liquidator can lose funds if the collateral valuation drops. The minUSGOut slippage check only applies when the zapping proxy is used.
The updateRCParams function processes rewards before storing new reward cut parameters, so the new parameters only take effect after two full processing cycles instead of one. This delays administrative parameter changes, such as during token depegging events, by two cycles.
The liquidation fee was calculated as a percentage of the repaid debt rather than the liquidator's profit, causing liquidators to lose money on full liquidations. This disincentivised liquidations, risking protocol insolvency from bad debt.
The WStable wrapper calls withdraw() on its underlying ERC4626 vault when users redeem, but the planned sUSDe vault reverts every withdraw() while its cooldown is enabled. Users therefore cannot get their USDe back instantly and must instead take sUSDe tokens and wait out a seven-day unstaking period.
The integer division in computing quotientFixedPoint inside _computeIR() truncates to zero for USG prices extremely close to pMax, causing _pow() to call log_2(0) and revert. This blocks functions that rely on interest rate calculation, such as withdraw, borrow, repay, liquidate, and migrate.
UT
USG - Tangent
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.