Token of Power
Why it happened
Attack class: Governance attackA token-weighted Aragon DAO that held uncapped authority to mint its own token, governed by a freely tradeable token whose majority was simply for sale.
What would have stopped it
- Require a real timelock between a vote passing and its execution, separate from the early-execution rule.
- Remove or hard-cap the DAO's mint authority over its own token.
Not scored before the exploit
BlackHart had not scored Token of Power before this exploit.
An attacker bought a bare majority of the Token of Power governance token directly from its own Balancer liquidity pool, then used that majority to mint 10 billion new TOP through a single governance vote and dumped it back into the pool. About 91 percent of the 16,384 total TOP supply sat in the pool as liquidity, so a governance majority cost only about 663 WETH to acquire. The attacker pulled 944.24 WETH out of the pool in the exploit, but had just seeded 662.86 WETH of that to buy the majority, so the real loss to liquidity providers, and the attacker's actual profit, was about 281 WETH, roughly 472 thousand dollars. Other trackers report the 944 WETH gross figure. The Balancer protocol was not at fault. The pool was only the venue, and the proceeds went to a wallet funded through Tornado Cash.
There was no access bug. The attacker simply bought a governance majority on the open market. In a setup transaction (acquisition tx) one block before the attack, the attacker's contract swapped 662.86 WETH into the Balancer pool and pulled out 8,192.000001 TOP, just over half of the 16,384 total supply (about 91 percent of which sat in that pool). Then in the exploit tx the contract created a governance vote through the token manager, cast its majority as yes, and the voting app executed it immediately because the result could no longer change. The executed action minted 10,000,000,000 TOP to the contract, which dumped it back into the pool and pulled out 944.24 WETH. Since 662.86 of that was the attacker's own seed returning, the net theft and the attacker's profit were about 281 WETH. The operating wallet was funded from Tornado Cash.
Attack flow
All 6 on-chain stepsThe attack in 4 steps. Step 1, Acquire: Attacker wallet (attacker), Bought majority from pool (hub). Step 2, Takeover: Token manager (hub), Aragon voting app (swap). Step 3, Mint: 10,000,000,000 TOP minted (source), about $1.58M reached this step. Step 4, Dump: Balancer TOP/WETH pool (swap), Attacker wallet (exit), about $472K reached this step.
Step 1: Acquire
- AttackerAttacker walletTornado-funded, ~99.57 ETH from the 100 ETH pooldeployed the exploit contract0xff8eF7bC...b39Fa2
- HubBought majority from poolswapped 662.86 WETH for 8,192.000001 TOPjust over 50%, ~91% of supply was in the pool0x0fa3e014...327329
Step 2: Takeover
- HubToken managertoken holders may forward a vote creationalso holds mint authority over TOP0x3ac18563...bB7306
- SwapAragon voting appvote created, voted, executed in one txyes 8,192.000001 of 16,384, executed = true0xb501d26b...ef6865
Step 3: Mint
- Source10,000,000,000 TOP mintedvote action called mint to the exploit contractsupply 16,384 to over 10 billion, 600,000x0x0EBD5eC9...D3eDb6
Step 4: Dump
- SwapBalancer TOP/WETH poolminted TOP sold back in across ~12 swaps944.24 WETH out, pool drained to zero0x0fa3e014...327329
- ExitAttacker wallet944.24 WETH gross, less 662.86 WETH seednet profit ~281 WETH, about $472K0xff8eF7bC...b39Fa2
Why each step worked
- Governance majority was for sale16,384 total supply with ~91% sitting in the public Balancer pool, so a majority was an open-market buy for ~663 WETH
- Bare majority by designbought 8,192.000001, the minimum strictly above half, since the vote needs more than 50 percent
- Early execution nullifies the vote periodthe 30 day vote time is no timelock; Aragon executes the instant yes passes half of total supply
- Atomic create, vote, and executeforwarding plus newVote with castVote and executesIfDecided collapse it into one transaction, no reaction window
- Uncapped self-mint authoritymissing controlthe DAO could mint its own token with no cap, turning a governance win into unlimited inflation
- No outflow protection on the exit venuemissing controla liquid pool gave an instant market to convert minted TOP to WETH; Balancer itself was not the bug
Full forensic detail
Step-by-step reconstruction, root cause, counterfactuals, remediation, and disclosure timeline.
Exploit anatomy
Root cause
The root cause is a token-weighted Aragon DAO that held uncapped authority to mint its own token, governed by a freely tradeable token whose majority was simply for sale. Total supply was only 16,384, and about 91 percent of it was held as liquidity in the project's own Balancer pool, so the attacker acquired a bare majority on the open market by swapping 662.86 WETH for 8,192.000001 TOP one block before the attack. There was no access-control exploit. The decisive and often misstated detail is the execution timing. The voting app's vote period was thirty days, which looks like a delay, but Aragon executes a vote the instant the yes votes alone exceed the required support of the total supply, because at that point the result is mathematically final. With just over half the supply the attacker's single yes vote met that condition immediately, so the thirty day period gave no protection at all. The on-chain vote record confirms this exactly: yes votes of 8,192.000001 against a total voting power of 16,384, zero no votes, and executed set to true, with an action script that calls the token manager to mint ten billion TOP to the attacker's contract. The combination that made this total rather than partial was a purchasable governance majority, uncapped minting, and execution that is atomic with the vote. On the economics, the widely reported 944.24 WETH is the gross amount pulled from the pool in the exploit, but 662.86 WETH of it was the attacker's own seed returning, so the pool's real loss and the attacker's profit were about 281 WETH. The Balancer pool was only the venue.
Prevention analysis
A majority holder could still pass a vote, but the minting action would be delayed and visible, giving holders and liquidity providers time to exit and the team time to respond.
Even with full governance control, the attacker could not have inflated supply by ten billion. The worst case would be bounded to existing funds, not unlimited.
A bare majority would no longer be enough to pass and execute, and the cost to attempt a takeover would rise far above the value at stake.
Similar incidents
A governance proposal was passed by an attacker who acquired majority voting power, then executed to drain the protocol. Same class: token-weighted governance won outright and used against the treasury.
An attacker gained majority control of governance through a malicious proposal and seized control of the DAO. Same shape: majority of votes turned into full control of privileged actions.
A privileged mint path with no cap was used to mint billions of tokens and dump them for value. Same impact mechanism: uncapped minting turned into an unlimited supply attack.
Remediation
Timeline
Get your protocol scored across 12 dimensions, or request ongoing coverage.