Hunt prep
Before you test ParaSpace contest
What 34 disclosed reports say about ParaSpace contest: 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 | 18 | 0 | – | – | $0 |
| Smart contracts lesson | 6 | 0 | – | – | $0 |
| Access control lesson | 3 | 0 | – | – | $0 |
| DoS 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.
-
Interest rates are incorrect on Liquidation
The debt asset should be transferred after the interest rate calculation, not before.
Disclosed
-
Attacker can manipulate low TVL Uniswap V3 pool to borrow and swap to make Lending Pool in loss
The protocol should add a whitelist allowing only pools with sufficient TVL to be used as collateral.
Disclosed
-
NFTFloorOracle’s asset and feeder structures can be corrupted
The report recommends increasing the index type to uint32 and actually removing the assets array element in _removeAsset() by moving the last element, as done in _removeFeeder().
Disclosed
-
Semi-erroneous Median Value
The code should be refactored to check if the number of valid prices is odd and return the middle element, otherwise return the average of the two middle elements.
Disclosed
-
New BAKC Owner Can Steal ApeCoin
The BAKC NFT should be locked in the ParaSpace contract as collateral so it cannot be sold, preventing the split-pair scenario.
Disclosed
-
Adversary can force user to pay large gas fees by transfering them collateral
The collateral should not be automatically enabled for the receiver; the receiver should opt in.
Disclosed
-
Users can be locked out of providing Uniswap V3 NFTs as collateral
The protocol should disallow supplying Uniswap V3 NFTs with zero liquidity and remove liquidity from already supplied tokens; setting a minimum liquidity would make the attack more costly but not eliminate it.
Disclosed
-
When users sign a credit loan for bidding on an item, they are forever committed to the loan even if the NFT value drops massively
A deadline timestamp should be added to the signed credit structure so signatures expire.
Disclosed
-
Rewards are not accounted for properly in NTokenApeStaking contracts, limiting user’s collateral
The balance calculation should also add the pending rewards of the paired BAKC token when one exists.
Disclosed
-
LooksRare orders using WETH as currency cannot be paid with WETH
The WETH to NATIVE conversion in the LooksRare adapter should be removed, or WETH should be converted to ETH seamlessly without forcing users to send ETH instead of WETH.
Disclosed
-
MintableIncentivizedERC721 and NToken do not comply with ERC721, breaking composability
The supportsInterface function should also return true for the base ERC721 interface ID.
Disclosed
-
Oracle will become invalid much faster than intended on non-mainnet chains
The contract should use block.timestamp to measure the passage of time instead of counting blocks.
Disclosed
-
Anyone can steal CryptoPunk during the deposit flow to WPunkGateway
The deposit function should check that the caller is the current owner of each Punk before transferring it.
Disclosed
-
Interactions with AMMs do not use deadlines for operations
Add deadline arguments to all functions that interact with AMMs and pass them along to AMM calls.
Disclosed
-
NFTFloorOracle’s assets will use old prices if added back after removal
The asset removal function should explicitly delete each feeder's price entry before deleting the assetFeederMap entry.
Disclosed