Hunt prep
Before you test Rio Network
What 20 disclosed reports say about Rio Network: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 14 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Slashing penalty is unfairly paid by a subset of users if a deficit is accumulated
The report recommends checking for a deficit in settleEpochFromEigenLayer() and adding functionality to spread the penalty fairly among all LRT holders; the protocol acknowledged the issue but considered leaving it as-is for now.
Disclosed
-
Setting the strategy cap to "0" does not update the total shares held or the withdrawal queue
The withdrawal queue should be updated when the operator registry admin changes the EigenLayer shares amount by removing an operator or setting its strategy cap to zero.
Disclosed
-
swapValidatorDetails incorrectly writes keys to memory, resulting in permanently locked beacon chain deposits
The fix was to reverse the order of the two mstore operations so that the first part overwrites the zero bytes from the second part.
Disclosed
-
Ether can stuck when an operators validators are removed due to an user front-running
The protocol team fixed this issue by adding an emergency function that lets the admin withdraw the entire restaked withdrawn ETH from the EigenPod.
Disclosed
-
Creating new withdrawal requests in conjunction with `settleEpochFromEigenLayer` will render system unusable
The protocol team fixed this issue by incrementing the current epoch inside queueCurrentEpochSettlement.
Disclosed
-
Deposits may be front-run by malicious operator to steal ETH
The protocol was fixed by requiring a guardian signature for validator deposits and allowing removal of confirmed validators with incorrect withdrawal credentials.
Disclosed
-
Stakers can avoid validator penalties
The protocol team fixed this issue in a pull request.
Disclosed
-
Depositing to EigenLayer can revert due to round downs in converting shares<->assets
The protocol team fixed this issue by removing the strict equality check and adding a function to sync share allocations between Rio and EigenLayer.
Disclosed
-
Heap is incorrectly stores the removed operator ID which can lead to division by zero in deposit/withdrawal flow
The protocol team fixed this issue by clearing all operator slots beyond the last active operator when storing the heap.
Disclosed
-
Execution Layer rewards are lost
The protocol team added a function to manually distribute the contract's ETH balance, and the issue was fixed.
Disclosed
-
Malicious operators can `undelegate` theirselves to manipulate the LRT exchange rate
The protocol team added pausing functionality to reduce the impact, but operators are still trusted with respect to undelegation and further improvements are planned.
Disclosed
-
All operators can have ETH deposits regardless of the cap setted for them leading to miscalculated TVL
The recommendation is to add a check in verifyWithdrawalCredentials so that it cannot be called if the operator is not actively participating in the BEACON_CHAIN_STRATEGY.
Disclosed
-
`reportOutOfOrderValidatorExits` does not updates the heap order
The protocol team fixed this issue by updating the heap inside the reportOutOfOrderValidatorExits function.
Disclosed
-
Requested withdrawal can be impossible to settle due to EigenLayer shares value appreciate when there are idle funds in deposit pool
The protocol team fixed this issue by computing the share value only at the time of rebalance, so deposit pool funds are not queued with an earlier cached rate.
Disclosed
-
ETH withdrawers do not earn yield while waiting for a withdrawal
The protocol team fixed the issue by accounting for share value appreciation until the rebalance call, though this temporarily distributes yield to queued tokens and slightly decreases the value of the LRT.
Disclosed