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.
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.
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.
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.
The _distribute function checks the full proposal bid against the remaining pool amount, but the pool amount decreases after each milestone payment. After the first milestone, the check fails for subsequent milestones, causing a denial of service when trying to pay the recipient.
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.
A malicious registrant could front-run the pool manager's allocation transaction to change their proposal bid to a higher amount, causing the manager to accept a non-agreed bid. This could lead to a larger payout during distribution, potentially draining the pool.
The smart contract function setPoolActive() lacks an access control modifier, allowing anyone to call it. A malicious actor could exploit this to re-register as a recipient with a higher bid and steal funds.
The Anchor contract's constructor sets the registry address to msg.sender, which during CREATE3 deployment is a proxy contract, not the actual Registry. As a result, the Anchor's execute function always reverts, and any funds sent to it are permanently stuck.
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.
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.
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.
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.
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.
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.
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.
A one-second overlap between the allocation and post-allocation periods in the QV and DonationVotingMerkle strategies allows a vote to be cast after funds have been distributed, causing some funds to become permanently stuck. An attacker could exploit this timing to manipulate vote totals and leave undistributed funds locked.
Anyone can add funds to a QVSimpleStrategy pool at any time, even after distribution has begun. Because recipients already paid out are marked as paid, newly added funds cannot be allocated to them and may become locked in the contract.
The vault contract records the full donation amount as claimable, but when a fee-on-transfer token is used, the vault receives less than that amount. As a result, recipients cannot claim the expected donation amount.
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.
AV
Allo V2
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.