Hunt prep
Before you test Reality Cards (round 2)
What 26 disclosed reports say about Reality Cards (round 2): 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 | 20 | 0 | – | – | $0 |
| Access control lesson | 5 | 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.
-
Deposits don’t work with fee-on transfer tokens
The contract should either reject tokens with custom transfer behaviour or measure the actual balance change before and after the transfer to credit only the received amount.
Disclosed
-
Uninitialized Variable marketWhitelist in RCTreasury.sol
The issue was fixed by the project.
Disclosed
-
UberOwner has too much power
The report recommends limiting the Uber Owner's permissions to something more manageable and trustable, and using a proxy for upgrades instead.
Disclosed
-
Parameter updates not propagated
The report recommends implementing a way to notify the underlying contracts of the updates, but the team chose not to make changes at this time.
Disclosed
-
findNewOwner edgecase
The fix was to check whether a valid user was found or the deletion limit was hit, so that no bids are skipped.
Disclosed
-
Deposits can be denied by abusing maxContractBalance
The contract limit should be removed or set very high to prevent this denial-of-service.
Disclosed
-
Function foreclosureTimeUser returns a shorter user’s foreclosure time than expected
The project changed the deposit lookup to use the raw user deposit instead of the withdrawable amount, and the fix was implemented.
Disclosed
-
RCFactory.createMarket() does not enforce _timestamps and _timestamps being larger than _timestamps , even though proper functioning requires them to be so
The issue was fixed by adding a check that the opening timestamp is less than the locking timestamp.
Disclosed
-
Possible locked-ether (funds) Issue in RCOrderbook.sol
The issue should be fixed by adding a way to retrieve locked funds.
Disclosed
-
minRentalDayDivisor can be different between markets and treasury
The recommendation is to either accept or document the risk of changing the value, as the team has acknowledged and accepted the risk.
Disclosed
-
maxSumOfPrices check is broken
The check logic should be modified to account for the 10% increase, and the UI should suggest a maximum sum based on card prices and ownership.
Disclosed
-
Flows can bypass market and global pause
The pause checks should be applied at the start of every public or external function that moves tokens or changes contract state, and all control flows should be validated.
Disclosed
-
Can access cards of other markets
The fix was to add a require statement in `ownerOf` to check that the card ID is less than `numberOfCards`.
Disclosed
-
NFT Hub implementation deviates from ERC721 for transfer functions
The team added approval support by using the _beforeTokenTransfer hook to restrict transfers to the factory or market until the withdraw state.
Disclosed
-
RCNftHubL2.safeTransferFrom not according to spec
The issue was fixed by implementing the IERC721Receiver check in safeTransferFrom.
Disclosed