Nouns Builder contest - ak1's results

A permissionless, governed protocol to deploy nouns-style DAOs complete with treasury, generative collections, and governance mechanisms.

General Information

Platform: Code4rena

Start Date: 06/09/2022

Pot Size: $90,000 USDC

Total HM: 33

Participants: 168

Period: 9 days

Judge: GalloDaSballo

Total Solo HM: 10

Id: 157

League: ETH

Nouns Builder

Findings Distribution

Researcher Performance

Rank: 71/168

Findings: 2

Award: $131.45

🌟 Selected for report: 0

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: chatch

Also found by: 0x4non, Chom, R2, ak1, ayeslick, fatherOfBlocks, hyh, rvierdiiev, scaraven, simon135, zzzitron

Labels

bug
duplicate
2 (Med Risk)
sponsor confirmed

Awards

70.6842 USDC - $70.68

External Links

Lines of code

https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/governance/governor/Governor.sol#L79-L80

Vulnerability details

Impact

proposalThresholdBps and quorumThresholdBps can be set as same value.

Proof of Concept

https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/governance/governor/Governor.sol#L79-L80

There are no checks like quorumThresholdBps > proposalThresholdBps .

Tools Used

Manual code review

Always ensure that quorumThresholdBps > proposalThresholdBps . This need to be considered while deploying and updating the values.

Lines of code

https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/auction/Auction.sol#L331-L335

Vulnerability details

Impact

This will favor the owner. It would be a decentralization issue..

Proof of Concept

https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/auction/Auction.sol#L331-L335

When initializing the Auction.sol, the minBidIncrement is 10

At times, owner can set this to zero or to high like whatever the value they wants.

I believe this can be attributed with decentralization issue.

Tools Used

Manual code review.

Set minimum and maximum cap for minBidIncrement. Owner can not change lesser or higher than this value.

#0 - GalloDaSballo

2022-09-26T17:07:59Z

Owner in this case is Governance, meaning previous holders. This may be used to "cartelize" but that would happen at the detriment of the project, and within governance rules.

I think Low Severity is more appropriate

#1 - GalloDaSballo

2022-09-26T17:08:07Z

L

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter