Lucene search

K
code423n4Code4renaCODE423N4:2021-11-VADER-FINDINGS-ISSUES-167
HistoryNov 15, 2021 - 12:00 a.m.

Governor's veto protection can be exploited

2021-11-1500:00:00
Code4rena
github.com
7

Handle

cmichel

Vulnerability details

The GovernorAlpha’s council cannot veto proposals that perform a call to the contract itself.
This can be exploited by malicious proposal creators by appending a new call at the end of their proposal that simply calls an innocent function like GovernorAlpha.votingDelay().

Impact

The veto procedure can easily be circumvented, making the council unable to veto.

Recommended Mitigation Steps

The veto check must be further restricted by specifying the actual function selector that is not allowed to be vetoed, like changeCouncil.


The text was updated successfully, but these errors were encountered:

All reactions