Hunt prep
Before you test Nouns DAO
What 8 disclosed reports say about Nouns DAO: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 5 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Crypto lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
User can steal tokens by using duplicated ERC20 tokens as parameter in NounsDAOLogicV1Fork.quit
The quit function should check for duplicate token addresses in the input array and reject duplicates, for example by using a checkForDuplicates function.
Disclosed
-
NounsDAOV3Proposals.cancel() should allow to cancel the proposal of the Expired state
The proposal suggests adding an expiration timestamp field to the Proposal struct and using it to determine the Expired state, so that it cannot be reversed by a grace period change.
Disclosed
-
If DAO updates forkEscrow before forkThreshold is reached, the user’s escrowed Nouns will be lost
The report recommends allowing users to call returnTokensToOwner directly and moving the fork-period check into that function.
Disclosed
-
cancelSig will not completely cancel signatures due to malleability vulnerabilities
The project fixed the issue by updating the OpenZeppelin contracts dependency to a version that prevents signature malleability.
Disclosed
-
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 should be fixed by requiring that the delegatee is not the zero address.
Disclosed
-
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 check should use >= instead of >, or the cancel check should use <= instead of <, but not both.
Disclosed
-
Loss of Veto Power can Lead to 51% Attack
Add a zero-address check in initialize and change the vetoer transfer to a two-step process where a pending vetoer must claim the role.
Disclosed