Skip to content

Code4rena

Nouns Builder contest

Every publicly disclosed report for Nouns Builder contest and what kind of bugs they were.

disclosed reports
33
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find Nouns Builder contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Nouns Builder contest chose to make public.

Smart contracts

ERC721Votes’s delegation disables NFT transfers and burning

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.

Nouns Builder contest

High
DoS

Token:mint : infinite loop if the founders’ shares sum up to 100

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.

Nouns Builder contest

Medium
Smart contracts

ERC721Votes : Token owners can double voting power through self delegation

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.

Nouns Builder contest

High
DoS

Try-catch block at Auction._createAuction() will only catch string errors

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.

Nouns Builder contest

Medium
Business logic

The quorum votes calculations don’t take into account burned tokens

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.

Nouns Builder contest

Medium
Smart contracts

NFT owner can block token burning and transfer by delegating to zero address

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.

Nouns Builder contest

Medium
Smart contracts

Truncation in casting can lead to a founder receiving all the base 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.

Nouns Builder contest

Medium
Business logic

Precision is not enough for proposalThreshold and quorum. Collections with at least 20000 NFTs in total supply may have some trouble.

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.

Nouns Builder contest

Medium
Business logic

Auction parameters can be changed during ongoing auction

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.

Nouns Builder contest

Medium
Business logic

State function does not require majority of votes for supporting and passing a proposal

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.

Nouns Builder contest

Medium
DoS

Minting is not possible when a property has no items

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.

Nouns Builder contest

Medium
Business logic

Creating a new governance proposal can be prevented by anyone

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.

Nouns Builder contest

Medium
Business logic

Tokens without properties can be minted and cannot be rendered

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.

Nouns Builder contest

Medium
DoS

MetadataRenderer contract raise error when minting

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.

Nouns Builder contest

Medium
Business logic

Token: Founder percentages not always respected

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.

Nouns Builder contest

Medium
Access control

Changing treasury owner through transferOwnership() can break Governer.sol and Auction.sol

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.

Nouns Builder contest

Medium
Business logic

Owners receive more percentage of total nft if some nfts were burned(because were not sold)

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.

Nouns Builder contest

Medium
Business logic

Attackers can increase voting power by incentivizing

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.

Nouns Builder contest

Medium
Business logic

Governor - Quorum could be less than intended

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.

Nouns Builder contest

Medium
Business logic

A proposal can pass with 0 votes in favor at early DAO stages

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.

Nouns Builder contest

Medium
DoS

Malicious pausing the contract

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.

Nouns Builder contest

Medium
Access control

Compromised or malicious vetoer can veto any proposals with unrestricted power

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.

Nouns Builder contest

Medium
Access control

Loss of Veto Power can Lead to 51% Attack

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.

Nouns Builder contest

Medium
Smart contracts

Delegation should not be allowed to address(0)

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.

Nouns Builder contest

Medium
Business logic

Proposals can be bricked and Auctions stalled by bad settings

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.

Nouns Builder contest

Medium
Business logic

Founders can receive less tokens that expected

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.

Nouns Builder contest

Medium
Business logic

Highest bid in first auction can get irretrievably stuck in the protocol

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.

Nouns Builder contest

Medium