Skip to content

Code4rena

Renzo

Every publicly disclosed report for Renzo and what kind of bugs they were.

disclosed reports
22
most reported class
Business logic
bug classes found
3
first disclosure
2024
Find Renzo on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Renzo chose to make public.

Business logic

Incorrect calculation of queued withdrawals can deflate TVL and increase ezETH mint rate

The function that calculates the protocol's total value locked (TVL) checks the wrong address when looking up queued withdrawal shares, so collateral in the withdrawal process is not counted. This makes TVL appear lower than it is, causing more ezETH to be minted for the same collateral and unfairly favouring new minters over existing holders.

Renzo

High
DoS

DOS of completeQueuedWithdrawal when ERC20 buffer is filled

The completeQueuedWithdrawal function in OperatorDelegator calls fillERC20withdrawBuffer on DepositQueue, but that function is restricted to the RestakeManager contract, so the call always reverts. This prevents the admin from completing withdrawals from EigenLayer, causing a persistent denial of service and potential fund loss.

Renzo

High
DoS

Price updating mechanism can break

The price update mechanism on the L2 receiver contract reverts on several conditions such as a price deviation over 10%, and these reverts are not handled gracefully. If a message fails and the smart execution window expires, subsequent messages are blocked, causing a denial of service on the CCIP price update path.

Renzo

Medium
Business logic

Not handling the failure of cross chain messaging

The L1 bridge receiver contract calls the restake deposit function without handling reverts, so a cross-chain deposit can fail on arrival while the L2 side has already minted tokens. Funds sent with the failed message could become stuck on the receiver contract, requiring manual recovery by admins.

Renzo

Medium
Business logic

Potential arbitrage opportunity in the xRenzoDeposit L2 contract

The L2 xRenzoDeposit contract updates its price from an L1 bridge transaction, and a user can watch the L1 mempool for the price update and mint xezETH on L2 before the new price takes effect. If the price change is favourable, the user can later sell the xezETH at the updated price for a profit.

Renzo

Medium
Audit finding

stETH/ETH feed being used opens up to 2 way deposit<->withdrawal arbitrage

The protocol used a market rate feed for stETH/ETH instead of an exchange rate feed, which could allow arbitrage whenever stETH trades at a discount or premium. An attacker could deposit stETH before a depeg and withdraw after, or deposit ETH and withdraw stETH at a premium, to profit.

Renzo

Medium
Business logic

Fetched price from the oracle is not stored in xRenzoDeposit

The xRenzoDeposit contract reads a fresh price from the oracle during deposits but never writes it back to the stored lastPrice and lastPriceTimestamp variables. If the oracle is later removed, deposits fall back to the stale stored price, and the divergence check compares new updates against that stale value, which can wrongly reject legitimate price updates.

Renzo

Medium
Business logic

Pending withdrawals prevent safe removal of collateral assets

The RestakeManager contract allows an admin to remove a collateral token even when pending withdrawals for that token remain in the WithdrawQueue. This causes the token's balance to be excluded from total TVL while ezETH supply is unchanged, inflating mint and redeem rates.

Renzo

Medium
Access control

Withdrawals and Claims are meant to be pausable, but it is not possible in practice

The WithdrawQueue contract inherits pausing capabilities but does not apply the whenNotPaused modifier to the withdraw and claim functions, so the administrator cannot actually pause user withdrawals and claims. An attacker could continue withdrawing and claiming even when the administrator intends to pause these actions.

Renzo

Medium
Business logic

The amount of xezETH in circulation will not represent the amount of ezETH tokens 1:1

The protocol mints xezETH on L2 based on the current ezETH valuation, but later mints ezETH on L1 at a different valuation, causing a mismatch between xezETH and ezETH in circulation. Since the lockbox always exchanges them 1:1, some xezETH can become worthless and impossible to redeem for ezETH.

Renzo

High
Audit finding

Fixed hearbeat used for price validation is too stale for some tokens

The oracle price validation uses a fixed stale period of 24 hours plus 60 seconds, which is too long for tokens like ezETH on Arbitrum where the price feed updates every 6 hours. This could cause the protocol to consume stale prices.

Renzo

Medium
Business logic

Lack of slippage and deadline during withdraw and deposit

The withdraw and deposit functions in Renzo's contracts lack slippage and deadline parameters, so users may receive less than expected if oracle prices change or if their transaction is front-run. An attacker could exploit this by manipulating the oracle or front-running to cause a worse rate for the user.

Renzo

Medium
Business logic

Incorrect withdraw queue balance in TVL calculation

The TVL calculation used the wrong loop index when fetching the withdraw queue's token balance, so the same token's balance could be counted multiple times and other tokens ignored. This could produce an incorrect TVL, which feeds into mint and redeem calculations, and could even cause a revert if there are more operator delegators than collateral tokens.

Renzo

High
Business logic

Withdrawals logic allows MEV exploits of TVL changes and zero-slippage zero-fee swaps

Withdrawal amounts are fixed at request time using current oracle prices and TVL, so an attacker can sandwich price or TVL changes by depositing before and requesting withdrawal after, capturing value at no cost beyond gas. Renzo also acts as a zero-slippage, zero-fee oracle-priced exchange, letting holders of a falling asset front-run the price drop and withdraw a different asset at the old price.

Renzo

High
DoS

Withdrawals can be locked forever if recipient is a contract

The claim function sends ETH using transfer(), which forwards only 2300 gas, so a contract wallet with a receive function needing more gas cannot claim. If a user withdraws from such a contract, the ETH becomes permanently locked in the WithdrawQueue contract.

Renzo

High