Hunt prep
Before you test Allo V2
What 21 disclosed reports say about Allo V2: 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 | 13 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 1 | 0 | – | – | $0 |
| Smart contracts 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.
-
`recipientsCounter` should start from 1 in `DonationVotingMerkleDistributionBaseStrategy`
The counter was fixed so that it starts from one, making it one higher than the actual recipient count.
Disclosed
-
RFPSimpleStrategy milestones can be set multiple times
The condition should check if milestones.length > 0 to prevent setting milestones more than once, or allow resetting only when milestones are not in use.
Disclosed
-
Anchor contract is unable to receive NFTs of any kind
The fix is to implement the onERC721Received and onERC1155Received functions in the Anchor contract.
Disclosed
-
QV strategy cannot receive native token
The fix is to add a receive() method to the QV strategy contracts so they can accept native Ether.
Disclosed
-
[M-01] Allocation can start before registration ends. Which can break things in strategies
The text does not state a fix was applied; the recommendation is to add a check that reverts if allocation can start before registration ends.
Disclosed
-
Malicious registrant can front-run `RFPSimpleStrategy._allocate()` in order to change the `proposalBid` and get a bigger payout in the distribution
The allocation function should verify that the proposal bid matches an expected value provided by the pool manager.
Disclosed
-
Missing access modifier for `RFPSimpleStrategy.setPoolActive()` may lead to multiple issues
The missing access modifier onlyPoolManager(msg.sender) should be added to setPoolActive().
Disclosed
-
`Registry.sol` generate clone `Anchor.sol` never work. Profile owner cannot use their `Anchor` wallet
The fix is to pass the Registry address as a constructor parameter instead of relying on msg.sender.
Disclosed
-
`QVBaseStrategy::reviewRecipients()` doesn't check if the recipient is already accepted or rejected, and overwrites the current status
The code should check the review counts before updating the state, as suggested in the recommendation.
Disclosed
-
Problems with tokens that transfer less than amount. (Separate from fee-on-transfer issues!)
The protocol should explicitly not support these tokens, as recommended in the report.
Disclosed
-
CREATE3 is not available in the zkSync Era
The fix should implement CREATE2 directly and adjust the address computation for zkSync, though a later comment suggests the updated version still returns an incorrect address on zkSync Era.
Disclosed
-
`QVSimpleStrategy` never updates `allocator.voiceCredits`
The `_allocate` function should increment `allocator.voiceCredits` by the allocated amount after the limit check.
Disclosed
-
Allo#_fundPool
Add a minimum fund amount check to prevent fee rounding to zero.
Disclosed
-
The 1-second overlap between the during- and after-allocation periods may cause funds to become stuck, permanently
The overlap should be removed by ensuring the allocation end time is exclusive in one of the checks, and a withdraw function should be added to recover stuck funds.
Disclosed
-
Recipient cannot always claim expected donation amount from a vault
The contract should compare the vault's token balance before and after the transfer and reduce the claimable amount by any fee.
Disclosed