Anyone can send proposal for the first time #141
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate
This issue or pull request already exists
Lines of code
https://github.com/code-423n4/2022-09-nouns-builder/blob/7e9fddbbacdd7d7812e912a369cfd862ee67dc03/src/governance/governor/Governor.sol#L466
Vulnerability details
Impact
If
settings.token.totalSupply() < 10_000/settings.proposalThresholdBps)
, then function returns 0So anyone can send proposal
Recommended Mitigation Steps
Review math, maybe add other statement while there are low totalSupply
The text was updated successfully, but these errors were encountered: