Skip to content

Sherlock

Allo V2

Every publicly disclosed report for Allo V2 and what kind of bugs they were.

disclosed reports
21
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Allo V2 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Allo V2 chose to make public.

Business logic

`recipientsCounter` should start from 1 in `DonationVotingMerkleDistributionBaseStrategy`

The recipient counter in the donation voting strategy started at zero, so a new recipient's status index collided with the first registered recipient's slot. Every later applicant was read as already having a status, so their applications were never recorded and the pool could only ever track the first recipient.

Allo V2

High
Business logic

RFPSimpleStrategy milestones can be set multiple times

The setMilestones function in RFPSimpleStrategy could be called multiple times before the first distribution because the check relied on an index that only increments after distribution. An attacker could duplicate milestones, causing the total percentage to exceed 100%, potentially increasing payouts or breaking the pool state.

Allo V2

Medium
DoS

Anchor contract is unable to receive NFTs of any kind

The Anchor contract lacks the onERC721Received and onERC1155Received functions, so it cannot receive NFTs sent via safeTransferFrom or safeMint. An attacker could not directly exploit this, but it prevents the contract from receiving such tokens, potentially causing a denial of service for intended functionality.

Allo V2

Medium
Business logic

QV strategy cannot receive native token

The QV strategy contracts lack a receive() function, so they cannot accept native Ether when a pool is funded. An attacker could not exploit this directly, but a pool creator who tries to fund a QV pool with native Ether will fail and may lose the pool creation fee if they do not fund at creation time.

Allo V2

Medium
Business logic

[M-01] Allocation can start before registration ends. Which can break things in strategies

The timestamp validation in two smart contract strategies allows the allocation period to start before the registration period ends. An attacker (a pool member) could re-register a recipient during allocation, changing their status to pending and causing allocated funds to become permanently locked if the registration period ends before re-review.

Allo V2

Medium
Business logic

`QVBaseStrategy::reviewRecipients()` doesn't check if the recipient is already accepted or rejected, and overwrites the current status

The reviewRecipients function in QVBaseStrategy does not check the recipient's current status and overwrites it as soon as a new status reaches the review threshold, ignoring previous votes. This allows a recipient to be accepted even if more managers rejected them, as long as a later set of votes for acceptance reaches the threshold.

Allo V2

Medium
DoS

Problems with tokens that transfer less than amount. (Separate from fee-on-transfer issues!)

Some tokens, such as cUSDCv3, treat a transfer amount of type(uint256).max as a request to transfer the sender's entire balance. An attacker could exploit this to cause a denial of service on pool funding and donations by making the pool or a claim appear to have a huge amount of the token, preventing further legitimate transfers.

Allo V2

Medium
DoS

CREATE3 is not available in the zkSync Era

The CREATE3 library used for deploying anchor contracts does not work on zkSync Era because the address computation for CREATE2 differs from Ethereum, causing the registry to return an incorrect pre-calculated address. This breaks the generateAnchor function, preventing users from creating anchors.

Allo V2

Medium
Business logic

`QVSimpleStrategy` never updates `allocator.voiceCredits`

The QVSimpleStrategy contract fails to update the allocator's voiceCredits after allocation, so the credit limit check always sees zero credits used. An allocator can therefore allocate unlimited voice credits, bypassing the maximum per-allocator limit.

Allo V2

High
Business logic

`fundPool` does not work with fee-on-transfer token

The fundPool function records the full amountAfterFee as the pool balance even when the token charges a transfer fee, so the strategy's recorded balance exceeds the actual tokens received. An attacker could exploit this discrepancy to inflate the pool balance and potentially withdraw more than deposited.

Allo V2

Medium
Smart contracts

Exponential Inflation of Voice Credits in Quadratic Voting Strategy

The quadratic voting strategy contract incorrectly accumulates voice credits by adding the previous total to itself, causing exponential growth instead of linear. An attacker could allocate credits in multiple transactions to inflate their voting power and skew the matching pool distribution.

Allo V2

Medium
Business logic

Allo#_fundPool

The fee calculation in the _fundPool function rounds down to zero for small deposit amounts when the token has low decimals, allowing any user to avoid paying protocol fees by making many small deposits. The protocol therefore collects no fees from pools that use such tokens.

Allo V2

Medium
Business logic

`QVBaseStrategy` contract : recipient `reviewStatus` is not reset upon re-registration

The QVBaseStrategy contract keeps a per-recipient tally of review votes but does not clear it when a recipient re-registers, so old votes carry over into the new application. A re-registered recipient could therefore reach the review threshold and be accepted with fewer fresh votes than intended.

Allo V2

Medium