Hunt prep
Before you test Ondo Finance
What 10 disclosed reports say about Ondo Finance: 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 | 7 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 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.
-
All bridged funds will be lost for the users using the account abstraction wallet
The bridge should let the user specify the destination address for minted tokens and warn account abstraction wallet users not to rely on the same address.
Disclosed
-
Admin can’t burn tokens from blocklisted addresses because of a check in _beforeTokenTransfer
The check should be changed so that the 'from' address is only validated when it is not a burn (i.e., when 'to' is not the zero address), for example by using 'if (from != address(0) && to != address(0))'.
Disclosed
-
Two different transactions can result in the same txnHash value, thus breaking the approval process of transaction minting
The payload that is hashed should also include the source chain and source address so that transactions from different sources cannot collide.
Disclosed
-
Chain support cannot be removed or cleared in bridge contracts
The contracts should be fixed by adding functions that allow the owner to delete the stored chain support settings.
Disclosed
-
CashManager.setEpochDuration functions has inconsistent output
The setEpochDuration function should call transitionEpoch before updating the duration, for example by adding the updateEpoch modifier.
Disclosed
-
KYCRegistry is susceptible to signature replay attack.
A nonce mapping for signers should be maintained and incremented on each successful signature validation, as in OpenZeppelin's EIP-2612 implementation.
Disclosed
-
Admin should be able to refund or redeem the sanctioned users
The report suggests removing the KYC check for redeemers and refundees in completeRedemptions, assuming the MANAGER_ADMIN is trusted.
Disclosed
-
First Deposit Bug
The fix is to enforce a minimum deposit that cannot be withdrawn, for example by minting a small amount of CTokens to the zero address on the first deposit.
Disclosed
-
Loss of user funds when completing CASH redemptions
The totalBurned storage variable should be updated to subtract the refunded amount after processing refunds.
Disclosed
-
setPendingRedemptionBalance() may cause the user’s cash token to be lost
The function should be fixed by adding an oldBalance parameter and reverting if it does not match the current balance.
Disclosed