Hunt prep
Before you test Jito Restaking
What 8 disclosed reports say about Jito Restaking: 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 | 6 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| DoS lesson | 1 | 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.
-
Vault creators can not withdraw their fees without being recursively charged (vault and program) fees on their own fees which causes permanent loss of funds
Withdrawals signed by the vault fee wallet or program fee wallet should be exempt from fees, either entirely or at least from recursively paying themselves.
Disclosed
-
Rewards can be stolen by depositing immediately after reward tokens get sent to vault
The reward accounting should exclude deposits made after rewards arrive, for example by snapshotting balances or processing rewards before accepting new deposits.
Disclosed
-
Withdrawals can be DOSed by reviving tickets in the same burn tx
The data should be resized to zero before closing the ticket account, for example by calling realloc(0) before close_program_account.
Disclosed
-
The vault reward mechanism can be sandwiched by MEV
The report recommends implementing a lock-up period for new deposits or distributing rewards based on deposit time, but does not state that a fix was applied.
Disclosed
-
The vault program don't support token2022 transfer
The vault program should be updated to accept and use the SPL Token 2022 program ID alongside the original SPL Token program ID.
Disclosed
-
Missing revoke instruction leads to Old delegate accounts have unlimited number of token allowance
The program should add a revoke call from the SPL token 2022 program, either in the affected files or as a separate process function, when changing the delegate.
Disclosed