Hunt prep
Before you test OpenQ
What 14 disclosed reports say about OpenQ: 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 | 10 | 0 | – | – | $0 |
| DoS lesson | 4 | 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.
-
Non-whitelisted tokens cannot be added if the limit of token addresses is filled with whitelisted ones
The project removed the ability to fund with arbitrary tokens, so any token that is not whitelisted now reverts, and the token address limit was removed.
Disclosed
-
Adversary can lock every deposit forever by making a deposit with _expiration = type(uint256).max
The contract was fixed by adding a check that the expiration does not exceed the maximum value of a 128-bit unsigned integer.
Disclosed
-
Adversary can brick bounty payouts by calling fundBountyToken but funding it with an ERC721 token instead
The whitelist should be split into an NFT whitelist and an ERC20 whitelist to prevent a whitelisted NFT from being deposited as an ERC20 token; the text also notes that later changes removed the possibility of this exploit.
Disclosed
-
Tier winner can steal excess funds from tiered percentage bounty if any deposits are expired
All deposits should be locked for a minimum period after a tiered bounty is closed, and the text indicates fixes were proposed in pull requests.
Disclosed
-
Adversary can permanently break reward distribution for percentage tier bounties by funding bounty then refunding after competition closes
Refunds should be disabled after the competition is closed.
Disclosed
-
Bounties can be broken by funding them with malicious ERC20 tokens
The project fixed this by implementing an explicit token whitelist and requiring the funder to be the issuer.
Disclosed
-
Refunding logic with multiple deposits is first mover take all
The refund logic was fixed by requiring that the funder is the issuer, which prevents multiple independent depositors from exploiting the refund mechanism.
Disclosed
-
Adversary can permanently break percentage tier bounties by funding certain ERC20 tokens then refunding
The contract was fixed by adding an explicit token whitelist and requiring the funder to be the issuer, as shown in the linked pull requests.
Disclosed
-
Adversary can break any bounty they wish by depositing an NFT then refunding it
The deposit receipt should be removed from nftDeposits when an NFT deposit is refunded; the text states this was fixed by removing NFTs for now.
Disclosed
-
Refunds can be bricked by triggering OOG (out of gas) in DepositManager
The project fixed it by requiring the funder to be the issuer and simplifying the refund logic to match the new funding model.
Disclosed
-
when issuer set new winner by calling setTierWinner() code should reset invoice and supporting documents for that tier
The setTierWinner function should reset the invoiceComplete and supportingDocumentsComplete status for the tier to false when the winner is changed.
Disclosed
-
Adversary can break NFT distribution by depositing up to max then refunding all of them
The refund function should remove the deposit identifier from the NFT deposits list when an NFT deposit is refunded; the project later removed NFT funding and disabled crowdfunding.
Disclosed
-
Resizing the payout schedule with less items might revert
The fix was to iterate up to the length of the new arrays and also handle increasing size by using the minimum of the two lengths.
Disclosed