In this section, we focused on analyzing the different oracles used by the contracts. This included evaluating their reliability and effectiveness in providing accurate data for the contract operations.
Overview
|
ezETH |
rsETH |
swETH |
rswETH |
weETH |
| Protocol |
Renzo Protocol |
KelpDAO |
Swell Network |
Swell Network |
Ether.fi |
| Assets |
wBETH, stETH |
stETH, ETHx, sfrxETH, Native ETH |
ETH |
ETH |
ETH |
| Oracle address |
Etherscan |
Etherscan |
Etherscan |
Etherscan |
Etherscan |
| Atomic price manipulation |
Possible |
Possible |
No |
No |
No |
| Hardcoded oracle values |
None |
stETH and frxETH values assumed to be 1:1 with ETH |
None |
None |
None |
| Oracle price |
1.013 |
1.014 |
1.063 |
1.011 |
1.042 |
| Market price |
1.006 |
1.007 |
1.060 |
0.998 |
1.040 |
| Chainlink usage |
Yes |
No |
No |
No |
No |
| EOA controls the price |
No |
No |
Yes |
Yes |
Yes (limited) |
| Upgradable contracts |
Yes |
Yes |
Yes |
Yes |
Yes |
| Withdrawals enabled |
Limited |
Yes |
Yes |
No |
Yes |
Note: market and oracles prices were taken on 27th June, 2024.
Renzo Oracle
Protocol: Renzo Protocol
Assets: wBETH, stETH
Oracle Address: Etherscan
Atomic price manipulation
The current implementation of the price determination mechanism in the Renzo Protocol is subjective to potential manipulation. The price is determined by the restake manager, relying on the number of operators' respective balances.
We have identified a potential attack vector that could be exploited to manipulate the price of the token. The withdrawalQueue balance is checked to assess the protocol price. A transfer of tokens to the queue will increase the price. This mechanism could be exploited to artificially inflate the price of the token.
Chainlink usage
The Renzo Protocol uses Chainlink oracles to determine the price of the stETH token. This price doesn't reflect the real value of an stETH if it was to be withdrawn. However the stETH has the biggest liquidity of all the existing LSTs and is less likely to have a huge price movement.
Withdrawal
While withdrawals are enabled, the amount of funds available to withdraw are really limited: an amount in the order of one ETH has been observed to be withdrawable. In a future update, the protocol will introduce a withdrawal queue mechanism allowing users to request a withdrawal regardless of the buffer amount.
KelpDAO Oracle
Protocol: rsETH Protocol
Assets: stETH, ETHx, sfrxETH, Native ETH
Oracle Address: Etherscan
Hardcoded price values
The stETH price is hardcoded to 10**18. While this is valid under normal circumstances, in case of a price change due for example to slashing the price will drop in the market but won't be reflected immediately in the contract.
The SfrxETHPriceOracle contract used to price sfrxETH internally calls sfrxETH::pricePerShare() returning the conversion from sfrxETH to frxETH, hardcoding a 1:1 relation between frxETH and ETH.
Atomic Price Manipulation
A transfer of tokens to the LRTDepositPool can manipulate the price. This vulnerability could be exploited to artificially inflate the token price. The attack is possible via a balanceOf() call.
Withdrawal
Unstake requests are processed in 7-10 days, subject to exit queue on Ethereum network and delays imposed by EigenLayer.
Swell Network Oracle
Protocol: Swell Network
Assets: ETH
Oracle Address: Etherscan
Centralization risk
The price determination mechanism in the swETH and rswETH protocols relies on an off-chain entity to calculate the price. This is done through a protected call to the reprice() function, based on the input data provided by the repricer. The repricer is a single address entity, not a consensus of multiple entities, which carry a risk of centralization.
Withdrawal
Withdrawal is enabled for swETH but not for rswETH. The delay is on average 12 days.
weETH Oracle
Protocol: ether.fi Protocol
Assets: eETH (ETH)
Oracle Address: Etherscan
weETH is the wrapped variant of eETH, an LST with rebasing mechanics.
Centralization risk
Updates to the rebase() function that controls the total amount of ETH owned by the protocol are handled through the EtherFiAdmin contract. Although the owner is a timelock, the contract implements a whitelist of admins allowed to control functionality. One of these current admins is an EOA. However, accrued rewards have on-chain requirements that limit the rebasing amount.
Withdrawal
eETH redemption process can take up to 14+ days as noted by their interface.
EigenLayer pods can take 7+ days to exit and normal validator exits can take 7+ days for a total of 14+ days before your funds can be claimed.