A malicious user could manipulate the maximum scale value by making a tiny initial deposit and then donating a large amount of assets, causing the scale to spike. This locks the max scale at a high value, so YT holders' interest accrual remains zero and they cannot claim their earned interest.
The Napier AMM pool incorrectly values Curve LP tokens at a constant 3 PTs, while their actual value grows over time due to accrued fees. This discrepancy allows arbitrageurs to profit by buying LP tokens cheaply from the Napier pool and redeeming them at a higher value, causing losses for the pool's liquidity providers.
The Tranche contract's collect function is restricted by a whenNotPaused modifier, so if the admin pauses the contract, users cannot collect their yield. A malicious admin could pause the contract and prevent users from accessing their earned yield, causing a loss of assets.
The withdraw function of the Tranche/PT contract does not return the exact amount of underlying assets requested by the user, because the share calculation rounds down. An attacker could receive slightly less than the requested amount, violating the ERC5095 specification.
The SFrxETHAdapter's bufferEth can be depleted by redemptions, and the 15-day waiting period for withdrawal requests from FraxEtherRedemptionQueue means the buffer cannot be replenished quickly, potentially causing a denial of service for prefundedRedeem and reducing yield for depositors.
A malicious holder of esfrxETH can front-run a rebalancer's withdrawal request to exit before the FRAX withdrawal fee is applied, then re-deposit afterwards, leaving the remaining holders to bear the entire fee. This causes the other holders to incur more loss than if the attacker had not acted.
The FRAX admin can withdraw all native ETH from the redemption queue contract, causing the adaptor's redemption NFT burn to fail and leaving Napier users unable to withdraw their funds.
The vault's share calculation is vulnerable to a rounding error and exchange rate manipulation, allowing an attacker to steal a victim's deposit. By front-running the victim's deposit with a tiny deposit and a direct transfer to inflate the share price, the attacker can cause the victim to receive almost no shares and then redeem a disproportionate amount of the pooled assets.
The `issue` function in the Tranche contract lacks slippage control, so users cannot specify a minimum amount of PT/YT to receive. If the adaptor's scale changes between simulation and execution, users may receive fewer PT/YT than expected, leading to asset loss.
The pool owner can change the protocol fee percentage at any time, up to 100%, without any limit on how often. A malicious pool owner could front-run user swaps by raising the fee to the maximum, causing users to pay much higher fees than expected.
The issue function allows anyone to convert another user's unclaimed yield into PT and YT tokens, which the victim may not want and which incurs an issuance fee, causing a loss. An attacker can call issue with the victim's address and zero underlying amount to trigger this conversion.
The admin can set the rebalancer to a controlled address, lower the target buffer percentage to 1%, then set the rebalancer to address(0), preventing anyone from calling requestWithdrawal to replenish the ETH buffer, causing user withdrawals to revert and assets to be stuck.
The swapUnderlyingForYt function in the Napier Router can revert due to rounding errors when calculating the required underlying deposit, preventing users from swapping underlying assets for YT tokens. The buffer added to mitigate rounding is insufficient, leading to a shortfall in PT repayment.
Under certain conditions, the stake amount calculated in the adapter can become zero, causing the staking function to revert and preventing users from depositing into the Tranche to mint PT and YT. This breaks a core protocol feature.
The FRAX admin can set the redemption fee to 100%, which would consume the entire amount when Napier's adaptor redeems staked ETH, leaving nothing for Napier users. This prevents users from withdrawing their assets.
The NapierRouter contract verifies callback callers by computing a CREATE2 pool address from user-supplied basePool and underlying values, which is collision-prone because the 256-bit hash is truncated to 160 bits. An attacker who finds a basePool and underlying combination that yields an address they control could impersonate a pool and steal all token allowances given to the router.
NA
Napier
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.