A user who delegates their votes to themselves and then to another address causes their NFT transfers and burns to revert. This freezes the tokens because the transfer callback tries to subtract votes from the original owner, whose checkpoint balance is zero.
The token minting function uses a loop that checks whether each new token ID belongs to a founder, but it incorrectly checks the token ID modulo 100. If founders collectively own 100% of the first 100 token IDs, the loop never finds a token that is not for a founder, causing an infinite loop and out-of-gas revert. An attacker could not directly exploit this, but the configuration bricks the token and auction contracts, preventing any auctions.
The quorum calculation can return zero when the token supply is low, so proposals can succeed without meeting any quorum. An attacker could pass critical proposals, such as updating implementations or withdrawing funds, without sufficient support.
The ERC721Votes contract's delegation logic incorrectly treats a first-time self-delegation as a transfer from the zero address, adding voting power without subtracting it. An attacker could double their voting power once by delegating to themselves.
The _createAuction function wraps token.mint() in a try-catch block that only catches string errors, so custom errors or arithmetic errors from mint() are not caught. If mint() reverts with a custom error, the auction is not settled and the contract may become stuck until the owner pauses it.
The quorum and proposal threshold calculations use totalSupply, which includes burned tokens and tokens held by the auction contract that have no voting power. This can make the effective quorum higher than intended, potentially preventing proposals from passing even with unanimous support.
The ERC721Votes contract allowed an owner to delegate their votes to the zero address, which subtracted their voting weight without adding it anywhere. After that, any transfer or burn of the owner's tokens reverted because the vote subtraction underflowed, so the owner could permanently block transfers and burns of their own tokens.
The Token contract's initialize function truncates each founder's ownership percentage to uint8 when summing, allowing the total to pass the 100% check even when the actual sum exceeds 100. An attacker (the deployer) could set up founders with percentages that cause one founder to receive all base tokens.
The proposal threshold and quorum calculations use integer division by 10,000, so for collections with a total supply of 20,000 or more, the minimum possible threshold or quorum becomes 2 instead of 1. This prevents setting these values to 1, potentially making governance parameters less precise than intended.
The auction contract allows the owner to change auction parameters such as duration, reserve price, time buffer, and minimum bid increment at any time, including during an ongoing auction, and the changes take effect immediately. This can cause bidders' transactions to fail or alter their expectations, potentially leading to unintended outcomes like instant settlement or price changes.
The `state` function in the Governor contract uses a strict less-than comparison, so a proposal with equal for and against votes (and sufficient quorum) is considered Succeeded rather than Defeated. This allows a proposal with exactly 50% support to pass, potentially enabling critical proposals to be executed without majority support.
A property with no items causes minting to revert due to a division error. An attacker could prevent minting until a new governance proposal adds an item to the property.
The proposal ID is derived solely from the proposal data, so an attacker can front-run a legitimate proposal with identical data and then immediately cancel it, causing the original creation to revert with PROPOSAL_EXISTS. This prevents the proposer from creating that exact proposal again without altering the data.
Tokens could be minted before any properties were configured in the MetadataRenderer, and such tokens could never be rendered because getAttributes reverts. An attacker or careless deployer could create tokens stuck in an undefined state that buyers might purchase.
The MetadataRenderer contract allows adding properties with mismatched lengths between the names and items arrays, which causes a division by zero error when minting a token. An attacker with governance privileges could set such mismatched arrays, preventing any token from being minted and halting auctions until a new proposal fixes it.
The token minting scheme for founders uses a greedy approach that can cause the actual percentage of tokens received by founders to deviate significantly from the configured percentages. An attacker (or a founder) could exploit this to gain more tokens than intended, especially when the vesting period is short.
The treasury can call transferOwnership on the Governor and Auction contracts, but this does not update the treasury address stored in settings. If a governance proposal changes ownership, subsequent proposals will still call the old treasury, preventing parameter changes and sending auction proceeds to the wrong address.
The token contract does not decrement the total supply counter when an unsold NFT is burned, so the founder's fixed number of tokens becomes a larger percentage of the remaining supply. An attacker could exploit this by causing NFTs to be burned, increasing the founder's voting power and share of the community.
The report argues that an attacker can use bribes or incentives to acquire enough voting power to influence governance decisions, potentially extracting value from the treasury. The text does not demonstrate a specific exploit but describes a theoretical governance attack.
The Governor contract computes the quorum threshold at proposal creation using the current total token supply, but tokens minted later in the same block can still vote, making the effective quorum lower than intended. An attacker could exploit this to pass proposals with fewer votes than required, especially early in the token lifecycle when supply is low.
A newly deployed DAO can have zero quorum and proposal thresholds due to rounding, allowing an attacker to create and pass a proposal with no votes. This gives the attacker control of the DAO's governance and treasury.
The auction contract's _createAuction function calls token.mint() inside a try/catch; if the mint runs out of gas, the catch block pauses the contract. An attacker could deliberately supply a gas amount that causes the mint to fail from out-of-gas, thereby pausing the contract and causing a denial of service.
The vetoer role, controlled by a single founder, can veto any proposal at any stage without restriction. If the vetoer's key is compromised or the vetoer turns malicious, they can block all critical proposals, including upgrades and treasury withdrawals.
The Governor contract lacks a zero-address check when initialising the vetoer and lacks a two-step process for changing the vetoer, so the owner could unintentionally lose veto power. This could open the DAO to a 51% attack that drains the treasury.
The metadata renderer allowed the owner to add more than 15 properties, but each token can only hold 16 attributes including the property count. When a token was minted, the onMinted function tried to write past the fixed-size attribute array and reverted, blocking all future minting.
If a user delegates their voting power to the zero address, the vote count for that user is incorrectly reduced, and a second delegation causes an underflow that sets their votes to a huge number. An attacker could exploit this to gain an enormous amount of voting power.
The protocol did not validate governance and auction settings, so values such as quorumThresholdBps above 10,000 or a very large auction duration could make proposals impossible to create or execute and stop auctions from ending. An attacker or careless founder could set such values, potentially bricking governance or stalling NFT minting.
A proposal can be cancelled by anyone if the proposer's voting weight is exactly equal to the proposal threshold, because the cancellation check uses a strict greater-than comparison. An attacker could cancel any such proposal, disrupting governance.
Founders' token IDs are computed incorrectly, so some IDs exceed 99 and are never minted, causing founders to receive fewer tokens than their percentage allocation. An attacker cannot directly exploit this, but founders lose expected tokens.
If the first auction in a protocol with no founder fees is paused and unpaused, the highest bid and the first NFT become permanently stuck because the unpause function creates a new auction without settling the existing one. An attacker could lose their bid and not receive the NFT.
NB
Nouns Builder contest
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.