Sturdy, Atlantis, LunaFi: Governance Gaps, Oracle Reentrancy, and
Sturdy Finance lost $770K because a read-only reentrancy in Balancer's vault let an attacker manipulate the price oracle. Atlantis lost $1M after an attacker used a governance proposal to become owner of its proxy contract and add a backdoor.
These four exploits reveal the breadth of DeFi’s attack surface: Atlantis lost $1M to a long-range governance attack that rewrote its logic. Sturdy bled $770K from a Balancer read-only reentrancy that fed fake prices to its oracle.
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, Balancer's vault did not update its accounting during fallback calls, so Sturdy's oracle read a manipulated price; and Atlantis's governance allowed an attacker to become proxy owner and change implementation logic.
What the attacker needed
Flash loan access; funds to deposit as collateral; governance proposal rights; waiting through the time lock
How it was found
- The attacker took a flash loan from Aave.
- They deposited ETH into Sturdy's steCRV pool and received steCRV tokens.
- They used the minted steCRV and cB-stETH-STABLE as collateral to borrow WETH.
- The deposit manipulated the cB-stETH-STABLE price via Balancer's joinOrExit() read-only reentrancy.
- For Atlantis, the attacker created a governance proposal in Compound's GovernorBravo contract.
- After the time lock, the attacker became owner of the proxy and added a backdoor function.
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 reentrancy is when a contract calls another contract before updating its own records, so the second contract can call back in and see stale data. Here, Balancer's vault did not update its accounting during a callback, so Sturdy's price oracle read a fake price. Separately, Atlantis let someone pass a governance vote and take ownership of a contract, then change its code to steal funds.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.