Skip to content

Code4rena

Nouns DAO

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

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

Disclosed reports

Newest first. Only what Nouns DAO chose to make public.

Crypto

cancelSig will not completely cancel signatures due to malleability vulnerabilities

The cancelSig function only marks a specific signature as cancelled, but due to signature malleability an attacker can transform the same signature into a different valid form that is not cancelled. This allows a malicious proposer to bypass the cancellation and submit a proposal using the signer's original approval.

Nouns DAO

Medium
Business logic

NounsDAOV3Proposals.cancel() should allow to cancel the proposal of the Expired state

The cancel function in NounsDAO's governance contract does not allow cancelling proposals in the Expired state, but the Expired state is not final because it depends on the timelock's GRACE_PERIOD, which can be changed by an upgrade. If the grace period is extended, an expired proposal can become queued again, and an attacker could then execute it if they fund the timelock.

Nouns DAO

Medium
Access control

Loss of Veto Power can Lead to 51% Attack

The vetoer address in NounsDAO governance contracts could be set to the zero address or an arbitrary address because there was no zero-address check and no two-step transfer process. This could unintentionally remove the veto power, potentially exposing the treasury to a 51% attack.

Nouns DAO

Medium
Smart contracts

ERC721Checkpointable: delegateBySig allows the user to vote to address 0, which causes the user to permanently lose his vote and cannot transfer his NFT.

The delegateBySig function allowed a user to delegate their votes to the zero address, unlike the delegate function which prevented this. This caused the user's votes to be permanently lost and prevented them from transferring or burning their NFT due to an underflow in the _moveDelegates function.

Nouns DAO

High
Business logic

User A cannot cancel User B’s proposal when User B’s prior number of votes at relevant block is same as proposal threshold, which contradicts the fact that User B actually cannot create the proposal when the prior number of votes is same as proposal threshold

The propose function requires prior votes to be strictly greater than the proposal threshold, while the cancel function allows cancellation only when prior votes are strictly less than the threshold. This leaves a gap where a proposal created when votes were above the threshold cannot be cancelled once votes equal the threshold, even though the proposer could not have created it at that level.

Nouns DAO

Medium