Detailed description of the impact of this finding.
No Quorum Requirement: The contract does not require a minimum number of votes for the ballot to be valid. This could lead to decisions being made with very low voter turnout.
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
if ( startExchangeYes > startExchangeNo )
{
exchangeConfig.initialDistribution().distributionApproved();
exchangeConfig.dao().pools().startExchangeApproved();
Lines of code
https://github.com/code-423n4/2024-01-salty/blob/main/src/launch/BootstrapBallot.sol#L69
Vulnerability details
Impact
Detailed description of the impact of this finding. No Quorum Requirement: The contract does not require a minimum number of votes for the ballot to be valid. This could lead to decisions being made with very low voter turnout.
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
if ( startExchangeYes > startExchangeNo ) { exchangeConfig.initialDistribution().distributionApproved(); exchangeConfig.dao().pools().startExchangeApproved();
Tools Used
Recommended Mitigation Steps
There should be minimum number of votes for the ballot to be valid.
Assessed type
Context