Skip to content
Business logic Audit finding Intermediate

OlympusGovernance - active proposal does not expire

An active governance proposal does not expire, so a stale proposal could remain open indefinitely and be executed later if quorum is reached, potentially causing harm to the protocol.

reassor Follow

Originally disclosed on Code4rena

Submitted by reassor

Contract OlympusGovernance allows controlling protocol through on-chain governing. The issue is that once proposal is active it does not expire, which means that until the new proposal will be selected, anyone can vote on existing one and potentially execute it when it might cause harm to the protocol.

Scenario:

  1. New proposal has been submited, endorsed and activated.
  2. Users vote, but the quroum is not being achieved.
  3. The proposal is active until new one is getting submitted.
  4. 6 months elapses and the current active proposal might cause serious harm to the protocol (since it was created long time ago).
  5. Malicious actor votes and executes proposal causing harm to the protocol.

Proof of Concept

Governance.sol:

Tools Used

Manual Review / VSCode

Recommended Mitigation Steps

It is recommended to add expiration for the active proposal for example 2 weeks. After that time it should be possible to reject proposal and users should be able to reclaim VOTES tokens.

fullyallocated (Olympus) disputed

0xean (judge) commented:

I believe the warden is simply stating that an active proposal stays active if not replaced. There is not expiration of a proposal once it becomes active, so theoretically if the governance process is inactive a very stale proposal could get executed.


The original report as published on Code4rena, by reassor. 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 contract lacks any expiration or deadline check for an active proposal, so it remains executable until replaced.

Impact

A stale active proposal could be executed later, potentially causing serious harm to the protocol.

What the attacker needed

A proposal is active; quorum not reached; no new proposal replaces it; attacker can vote

The fix

It should be fixed by adding an expiration period for active proposals, after which they can be rejected and users can reclaim their VOTES tokens.

How it was found

  1. A new proposal is submitted, endorsed and activated.
  2. Users vote but quorum is not achieved.
  3. The proposal stays active until a new one is submitted.
  4. After a long time, a malicious actor votes and executes the stale 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.

A governance proposal is a suggested change that people vote on. Normally, a proposal should have a deadline. Here, once a proposal became active, it stayed active forever until a new one replaced it. That means someone could vote on a very old proposal months later and get it executed, even if it no longer makes sense.

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 reassor

View all

5 more disclosed reports, best first.

More from Olympus DAO 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.