Open code423n4 opened 1 year ago
0xA5DF marked the issue as low quality report
Seems like a design choice, improvements to the application process should be a QA imo
hansfriese changed the severity to QA (Quality Assurance)
hansfriese marked the issue as grade-b
Lines of code
https://github.com/code-423n4/2023-04-frankencoin/blob/1022cb106919fba963a89205d3b90bf62543f68f/contracts/Frankencoin.sol#L152
Vulnerability details
Impact
The human factor, the network factor, the factor of force majeure, the factor of validators in the approach when the submission of a minter must survive a certain period of time to be approved leads to the fact that it will not work to impose a veto and the unwanted minter will be approved. Which will lead to fatal consequences
Proof of Concept
The approach to become a minter is as follows:
This approach leads to the fact that if you are not vetoed, you become a minter.
But there are quite a few reasons why you were not vetoed:
A single factor or several in a pile can lead to the fact that an unwanted minter will survive this period and become approved
Which will lead to fatal consequences, the bigger the project, the greater the chance of this
therefore, you should not rely on mechanism: if you are ignored, you will become a minter. you need to conduct minimal confirmation and additional waiting to become a minter or another flow
Tools Used
Recommended Mitigation Steps