The PufferVault, an ERC4626 vault using stETH as the underlying asset, mints shares based on the requested deposit amount even though stETH's transferFrom leaves a small dust amount behind. This allows a user to receive slightly more shares than expected, potentially minting free shares for dust amounts.
The PufferDepositor contract's swapAndDepositWithPermit functions wrap the ERC20 permit call in a try-catch block that silently ignores failures. An attacker could call these functions with invalid permit data, causing the permit to fail but the swap to proceed without the necessary token allowance, likely resulting in a failed swap.
The PufferDepositor contract does not reset token allowances granted to swap routers after a swap operation, leaving a high allowance. If the swap router is compromised, an attacker could drain tokens from users who have set high allowances.
The PufferVault contract assumes that withdrawals from Lido and EigenLayer either fully succeed or fully fail, and does not reconcile the actual amount received against the expected amount. If a withdrawal only partly succeeds, the vault's reported asset value could be inflated and mislead users and administrators.
The depositStETH function transfers stETH using an amount that can be 1-2 wei less than specified due to Lido's rounding behaviour, so the contract receives less than expected. This could cause a denial of service if the vault deposit fails because the actual balance is lower than the requested amount.
The report claims that the `restricted` modifier from OpenZeppelin's `AccessManagedUpgradeable` is applied to internal functions `_authorizeUpgrade` in `PufferDepositor` and `PufferVault`, which the reporter says bypasses access control because internal functions are not externally callable. The reporter asserts this could allow unauthorised access or operations, but no concrete exploit is demonstrated.
The report claims that the PufferDepositor and PufferVault upgradeable contracts set immutable variables in their constructors, which is unsafe because proxies do not see constructor-set values. After an upgrade, those values would be lost, potentially causing calls to go to the zero address and leading to loss of funds.
The implementation contracts for PufferDepositor and PufferVault were left uninitialized, allowing anyone to become the owner of the implementation. An attacker could then upgrade the implementation to a malicious contract and destroy it, potentially making the vault unusable and causing loss of funds.
The timelock contract's executeTransaction function does not revert when the target address has no code, so calls to non-existent contracts are treated as successful. An attacker with multisig privileges could queue and execute such transactions, potentially causing funds to be lost or misleading the protocol.
The Timelock contract's executeTransaction function does not check whether the external call it makes succeeded, so a call to a non-existent address or with invalid calldata silently fails while the transaction is still marked as executed. An attacker or operator could queue and execute such a transaction, and the contract would emit a success event and clear the queue entry even though nothing happened.
The vault's internal counter for ETH locked in Lido is incremented by the requested amount, but the actual stETH transferred can differ by a few wei due to a known Lido rounding corner case. This makes totalAssets() slightly lower after the call, so depositors before the call receive more shares than depositors after it.
The vault records the full amount requested from Lido withdrawals as still held, but Lido can return a discounted amount after slashing, so the vault's total assets are overstated. This inflates the share-to-asset ratio, which could cause insolvency or incorrect share minting on deposits.
The Timelock contract deletes a queued transaction from storage before checking whether the external call succeeded, so if the call reverts or returns a false status the queued data is lost and the operator must re-queue and wait again. An attacker cannot directly trigger this, but any failed or ineffective operation causes permanent loss of the queued entry.
The Timelock contract executes queued calls without forwarding any ether, and its queue function neither accepts nor records a value, so payable operations such as native-ETH swaps always fail. Any ether sent to the contract for such a call would be stuck, since there is no withdrawal path.
The Timelock contract's executeTransaction function calls an external target without checking the boolean success value returned by the low-level call. An attacker or user could execute a transaction that silently fails, making it appear successful and potentially leaving the system in an unexpected state.
The Timelock contract's executeTransaction function calls the target and emits a TransactionExecuted event without checking whether the call succeeded. If the call fails, the queued entry is still cleared and the event still fires, so the operations multisig must re-queue and wait out the delay again, and any dapp relying on the event is misled.
The Timelock contract's internal delay setter rejects any new delay that is less than or equal to the minimum, so the minimum value itself can never be configured. An attacker cannot exploit this; it is a functional bug that prevents the contract from reaching its intended minimum delay.
The TimeLock contract's executeTransaction function does not remove a queued transaction after the COMMUNITY_MULTISIG executes it, so the OPERATIONS_MULTISIG can execute the same transaction again. This allows double spending of treasury assets or re-execution of an upgrade without waiting for the delay period.
The PufferVault contract's claimWithdrawalsFromLido function calls Lido's claimWithdrawal in a loop, and each call performs an unbounded binary search over Lido's checkpoint history, leading to potentially unbounded gas consumption. An attacker could cause out-of-gas errors by triggering claims when the checkpoint history is large, but the report notes this requires an extreme growth in checkpoints and large arrays.
The vault records the amount of stETH queued for withdrawal from Lido in a locked-amount variable, but if that queued stETH is slashed the ETH actually received is lower than recorded, so the locked amount is not reduced correctly. This makes totalAssets overstate the vault's holdings, so depositors and minters receive fewer shares than they should.
The Puffer Depositor contract hardcodes the 1inch AggregationRouterV5 address, which has an owner-only self-destruct function. If the router is destroyed, all swap calls from the depositor would fail, breaking the swap-and-deposit functionality.
The Timelock contract's cancelTransaction function does not verify that the provided transaction hash corresponds to a queued transaction. An attacker or operator could cancel a non-existent transaction, emitting a false cancellation event while the intended queued transaction remains executable.
The vault's totalAssets() counts ETH still queued in LIDO's withdrawal queue at the originally requested amount, but a LIDO slashing event can reduce the amount actually claimable. This inflates the vault's reported assets, so early redeemers could receive more than their fair share and leave the vault insolvent for later users.
The deposit functions wrap a permit call in an empty try-catch, so when the permit signature is expired or invalid the error is swallowed and execution continues. The transaction then reverts with a misleading allowance error instead of the real permit failure.
The deposit and mint functions in PufferDepositor and PufferVault lack a minimum output parameter, so users can receive fewer shares than expected due to slippage or MEV. An attacker could cause users to get less than they intended, or cause mint transactions to revert.
The report claims that passing many withdrawal request IDs at once to the vault's claim function could cause a bottleneck in Lido's withdrawal queue and temporarily freeze user funds. The author asserts a denial of service is possible but the proof of concept output only shows a single claim call completing.
The claimWithdrawalFromEigenLayer function in PufferVault is documented as restricted access but lacks the restricted modifier, so any address can call it. The reporter shows a modified test where a random address successfully claims a queued stETH withdrawal from EigenLayer.
The vault tracks ETH locked in Lido's withdrawal queue in a state variable that is increased by the requested amount and decreased by the amount actually received on claim. Because stETH rebases and can be slashed, the requested and claimed amounts can differ, so the pending-amount getter can report a value that does not reflect reality.
The TimeLock contract's executeTransaction function makes a low-level call to a target without checking the returned success boolean. An attacker could force the call to fail, causing the transaction to be recorded as executed even though the intended action did not occur.
The Timelock contract's executeTransaction function does not check the success of the external call, so a failed call still emits an event and clears the queued transaction. This forces the operations multisig to re-queue and wait another delay before retrying.
PF
Puffer Finance
Low
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.