Skip to content
Business logic Audit finding Intermediate

Governor’s veto protection can be exploited

The GovernorAlpha contract's veto mechanism fails to block proposals that include a call to the contract itself, allowing a malicious proposer to bypass the council's veto by appending an innocent self-call. An attacker could thus circumvent the veto procedure, making the council unable to veto.

cmichel Follow

Originally disclosed on Code4rena

Submitted by cmichel

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.

SamSteinGG (Vader) commented:

Duplicate of #61

alcueca (judge) commented:

Not a duplicate

The original report as published on Code4rena, by cmichel. Images and videos are our own copies; raw HTML is shown as text. View it on Code4rena.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the veto check only blocks proposals that call specific functions, but fails to account for proposals that call any function on the contract itself, allowing a bypass by adding an innocent self-call.

Impact

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

What the attacker needed

Ability to create a proposal

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

In a governance system, a council can veto proposals. But if a proposal includes a call to the governance contract itself, the veto check is skipped. So a bad actor can add a harmless call to the contract at the end of their proposal to avoid being vetoed.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by cmichel

View all

196 more disclosed reports, best first.

More from Vader Protocol contest

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.