Ribbon Finance & Rari Capital: $4.7M Lost to Oracle Hijacks and C
Ribbon Finance lost $2.7M because an attacker took control of upgradeable oracle price-feed proxies and set arbitrary expiry prices, causing options to settle at inflated prices. Rari Capital lost $2M because unauthorised access to the cERC20 implementation contract allowed borrowing without collateral checks, draining lending pools.
Olympix provides advanced Solidity analysis tools to help developers identify and fix vulnerabilities before they become critical exploits.
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 missing access control on the proxy admin for the oracle price feeds, and missing or bypassable collateral checks in the cERC20 implementation contract.
Impact
The two exploits together resulted in losses of $4.7M, with $2.7M from Ribbon Finance and $2M from Rari Capital.
What the attacker needed
Access to proxy admin; access to implementation contract
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.
In blockchain finance, smart contracts often rely on outside data called an oracle to set prices. If an attacker can change that price data, they can make the contract behave in their favour, for example by making options pay out more than they should. Separately, a lending contract should always check that a borrower has enough collateral; if that check can be skipped, the attacker can borrow funds without putting anything up.
What is Smart contracts?
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.