The executeProposal function in ProposalExecutionEngine is not marked payable, so any proposal that forwards ether via msg.value will revert. This prevents the Party from executing arbitrary-call proposals that need to spend attached ETH.
A single host could accept a proposal, transfer host status to another wallet they control, and accept again, repeating until the number of host acceptances equals the total number of hosts. This would skip the veto period even though not all hosts had accepted, allowing a malicious proposal to be executed without delay.
The governance contract uses the current global pass threshold when checking if a proposal has passed, rather than the threshold that was in effect when the proposal was created. An attacker could change the threshold through a separate proposal to make an unpopular proposal pass or to block a popular one.
A crowdfund contract enforces a minimum contribution amount, but when the minimum contribution exceeds the gap between the maximum and minimum total contribution goals, contributions that would push the total over the maximum are refunded down to an amount below the minimum, causing a revert. This makes it impossible to reach either the minimum or maximum total, so the crowdfund cannot be finalised early and remains stuck until expiry.
A crowdfund contract allows minTotalContributions to equal maxTotalContributions, and with a low exchange rate, a malicious user can contribute just below the maximum, causing the next contribution to be refunded down to 1 wei and then revert due to zero voting power. This blocks finalisation of the crowdfund until its duration ends, locking funds.
A user can call contributeFor to set another user's delegate before that user contributes, and the mint function then overwrites the user's chosen delegate with the attacker's address. The attacker gains the victim's voting power temporarily, allowing them to influence governance until the victim re-delegates.
The rageQuit function in PartyGovernanceNFT skips the minimum withdrawal amount check when the calculated withdrawal amount for an ERC20 token is zero, allowing users to burn their Party tokens without receiving any tokens in return. An attacker could exploit this by ensuring the Party's balance of a token is zero before a user calls rageQuit, causing the user to lose their tokens.
The PartyGovernanceNFT contract claims to support ERC-4906 but does not emit the required MetadataUpdate or BatchMetadataUpdate events when voting power changes, which alters the NFT metadata. As a result, off-chain platforms like marketplaces or block explorers may display stale metadata, potentially allowing tokens to be sold at inflated prices.
A frontrunner can contribute a tiny amount on behalf of an honest user, minting their crowdfund NFT while their voting power remains zero. When the honest user later contributes, the contract tries to mint the NFT again and reverts, blocking their contribution.
The ETH crowdfund contract allowed an attacker to use a flash loan to contribute a large amount just before finalisation, gaining majority voting power, and then immediately distribute the party's funds to repay the loan and retain control. This was possible because the party could distribute funds in the same block as finalisation, with no delay.
The OperatorProposal contract sends ETH to an operator contract but does not refund any leftover ETH to the executor who provided it. An attacker (or any executor) could lose funds because the remaining ETH is effectively transferred to the Party.
The CollectionBatchBuyOperator contract incorrectly shortens the tokenIds array after partial NFT purchases, causing the execute function to revert when not all purchases succeed. An attacker could exploit this to prevent proposal execution, though the text does not specify an attacker model.
The VetoProposal contract only allowed vetoing proposals in the Voting state, but the underlying governance contract permits vetoing in Voting, Passed, and Ready states. This meant users could not veto proposals that had already passed or were ready for execution, limiting the intended functionality.
Party hosts can arbitrarily change the rage quit timestamp, overriding any previously set expiration date. This lets a host disable or shorten the window in which members can exit, breaking the guarantee members relied on.
The rageQuit() function in PartyGovernanceNFT.sol allows a party member to withdraw their share of tokens by passing an array of token addresses. If a token has multiple entry points (i.e., multiple addresses representing the same underlying token), an attacker can include all addresses in the array to withdraw more than their fair share, leading to loss of funds for other party members.
The batchContributeFor function in InitialETHCrowdfund and ReraiseETHCrowdfund deducts each contribution amount from the available ETH before attempting the contribution, and when a contribution fails with revertOnFailure set to false, the deducted amount is not refunded. This causes users to lose the ETH intended for failed contributions.
The ETHCrowdfundBase._finalize function increases the party's total voting power by an amount that includes funding fees, while individual users receive voting power based only on their contributions minus fees. This mismatch means the sum of users' voting power is less than the total, making unanimous votes impossible and potentially preventing any proposal from being executed.
The burn function in PartyGovernanceNFT does not reduce totalVotingPower when a user burns their party card, so the sum of remaining voting power is less than totalVotingPower. This makes it impossible to reach a unanimous vote and reduces the relative value of remaining votes.
The total voting power used to decide whether a proposal passes is read live rather than from the same snapshot as the individual votes. If total voting power changes after a proposal is created, the pass threshold is calculated against the wrong denominator, so a proposal can become impossible to pass or pass with fewer votes than intended.
The InitialETHCrowdfund and ReraiseETHCrowdfund contracts check the contributor address instead of the caller (msg.sender) when enforcing a gatekeeper allowlist. This lets any user contribute on behalf of an allowlisted address, bypassing the intended restriction that only allowlisted users can contribute.
The distribution share calculation uses the current total voting power, which decreases when a user burns their NFT via rageQuit(). An attacker can claim their share, burn one NFT, then claim again with a higher share, stealing funds from other users.
The rageQuit function only supports ETH and ERC20 tokens, so users cannot withdraw their fair share of ERC1155 fungible tokens. This means a rage quitter loses their entitlement to those tokens.
The refund calculation could return more than the original contribution due to rounding, causing the refund transfer to revert when the contract lacks sufficient ETH. An attacker could not exploit this for gain, but users would be unable to reclaim their funds after a lost crowdfund.
A contribution that pushes the crowdfund over its maximum is reduced after the minimum contribution check, so the final amount can fall below the minimum. This can result in the contributor receiving no voting power for their contribution.
The VetoProposal contract did not track whether an address had already voted to veto a proposal, so a single voter could call voteToVeto repeatedly and accumulate enough veto votes to defeat any proposal. An attacker with a small share of voting power could therefore veto every proposal, potentially preventing the party from acting.
The reentrancy guard in rageQuit() can be bypassed by a party host who resets the rageQuitTimestamp during a token transfer callback, allowing reentrancy and potentially stealing funds from other members.
A new check in the accept() function reverts if an NFT was burned in the same block, intended to stop a voting-power manipulation. An attacker can front-run a legitimate accept() call by minting a zero-voting-power NFT and burning it, causing the victim's transaction to revert and blocking the vote.
PP
Party Protocol
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.