Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

User could vote FOR his own proposal

Summary

User can vote FOR hist proposal, and it could be dangerous, if this user have huge power, which more than quorum

Vulnerability Details

User, who have huge power can vote for his proposal and this proposal will have status successful

function _isProposalSuccessful(uint256 proposalId) internal view returns (bool) {
ProposalVote storage proposalVote = _proposalVotes[proposalId];
uint256 currentQuorum = proposalVote.forVotes + proposalVote.againstVotes;
uint256 requiredQuorum = quorum();
return currentQuorum >= requiredQuorum &&
proposalVote.forVotes > proposalVote.againstVotes;
}

Impact

Proposal could be executed if creator has huge voting power

Tools Used

Manual review

Recommendations

Do not allow proposal creators cast vote for their proposals

Updates

Lead Judging Commences

inallhonesty Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.