Hunt prep
Before you test reNFT
What 23 disclosed reports say about reNFT: 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 | 9 | 0 | – | – | $0 |
| Access control lesson | 7 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| Race condition 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.
-
All orders can be hijacked to lock rental assets forever by tipping a malicious ERC20
Tipping should be disallowed, either by removing the functionality in the Seaport fork or by adding the size of the consideration items to ZoneParameters and reverting if there are more.
Disclosed
-
Blacklisted extensions can’t be disabled for rental safes
The protocol should allow users to disable any module regardless of whitelist status, while maintaining a separate list of modules that cannot be disabled (such as the stop policy).
Disclosed
-
Blocklisting in payment ERC20 can cause rented NFT to be stuck in Safe
The protocol should use a non-reverting transfer helper for payments when stopping the rental, so the NFT can still be returned to the lender while the payment stays in escrow, or split stopping the rental and transferring assets into separate steps.
Disclosed
-
Lender of a PAY order lending can grief renter of the payment
The stop process should be split so that stopping the rental and transferring assets are separate steps, or the reclaim should not revert on a failed transfer.
Disclosed
-
RentPayload ’s signature can be replayed
The issue was mitigated by adding an orderHash field to RentPayload to make each payload unique and by disallowing partial orders from Seaport.
Disclosed
-
Protocol does not implement EIP712 correctly on multiple occasions
The issues were fixed by a pull request that properly implements EIP-712, and the mitigation was confirmed.
Disclosed
-
The owners of a rental safe can continue to use the old guard policy contract for as long as they want, regardless of a new guard policy upgrade
The Guard contract should check with the Kernel that it is still an active policy before allowing transactions.
Disclosed
-
Guard::checkTransaction restricts native ETH transfer from user’s safes
The guard was fixed to allow zero-length data so that native ETH transfers can be executed.
Disclosed
-
Upgrading modules via executeAction() will brick all existing rentals
Provide a migration function for old rentals or a way to stop all rentals before upgrading, or allow users to stop rentals from old modules.
Disclosed
-
Incorrect ordering for deletion allows to flash steal rented NFT’s
The stopRent function should check for the order's existence at the beginning.
Disclosed
-
DOS possible while stopping a rental with erc777 tokens
The protocol was fixed by implementing a whitelist so only granted assets can be used.
Disclosed
-
DoS of Rental stopping mechanism
The onStart and onStop hooks should be independent so that if onStart ran, onStop can still run regardless of its current status; the project mitigated this by making the two hook functions independent.
Disclosed
-
Risk of DoS when stoping large rental orders due to block gas limit
The order creation should enforce a maximum number of offers (for example 500 or 1000) and reject orders that exceed it.
Disclosed
-
Attacker can lock lender NFTs and ERC20 in the safe if the offer is set to partial
The rental order hash should incorporate the filled amounts (or each partial fill should get a distinct storage key) so separate partial fills cannot collide and overwrite each other's rental accounting.
Disclosed
-
Incorrect gnosis_safe_disable_module_offset constant leads to removing the rental safe’s module without verification
The offset constant should be changed from 0x24 to 0x44 so that it points at the module parameter; the project mitigated this and the mitigation was confirmed.
Disclosed