Skip to content
Business logic Write-up Intermediate

How Governance Vulnerabilities Enabled the AquaDAO Exploit

AquaDAO's token-weighted governance allowed an attacker to use flash loans to temporarily inflate voting power, pass a malicious proposal, and drain $1.2M from the treasury. The attacker then repaid the loan and kept the funds.

medium.com

Published on medium.com

Governance is the backbone of decentralized organizations, but when exploited, it can lead to catastrophic consequences. In November 2024, AquaDAO fell victim to a $1.2M governance manipulation attack, demonstrating how poorly designed governance mechanisms can become Achilles’ heels.

Ramprasad Edigi, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the governance design allowed voting power to be borrowed temporarily without safeguards such as timelocks or quorum requirements.

Impact

The attacker could steal $1.2M from the DAO treasury.

What the attacker needed

Access to flash loans; Token-weighted governance; No timelock or quorum

The fix

The governance should be fixed by adding timelocks, quorum thresholds, and caps on voting weight from flash-loaned tokens.

How it was found

  1. Borrow a large amount of Aqua tokens using a flash loan.
  2. Use the borrowed tokens to temporarily increase voting power.
  3. Propose and pass a malicious governance proposal that grants access to treasury funds.
  4. Execute the proposal to take the funds.
  5. Repay the flash loan and keep the stolen funds.

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 write-up has not been written yet. The Original tab links to the source.

A DAO is a group that makes decisions by voting with tokens. Here, someone borrowed a huge number of tokens for a very short time, used them to vote through a bad proposal, took the money, and gave the tokens back.

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.

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.