Hunt prep
Before you test Opus
What 13 disclosed reports say about Opus: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 8 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Neglect of exceptional redistribution amounts in withdraw_helper function
The charge function should be called before calculating the new trove balance, so that any redistribution is included.
Disclosed
-
after shut, no pulled redistribution yang will be locked
The release function should first pull any pending redistributed collateral when the shrine is not live, then release all collateral.
Disclosed
-
Attacker can lock every trove withdrawals
The issue was mitigated by introducing a separate withdrawal conversion function that does not call the deposit-cap assertion.
Disclosed
-
The provide() function does not reset withdrawal requests, allowing an attacker to bypass risk-free yield tactics protection
The provide() function should reset the withdrawal request timestamp when new funds are provided.
Disclosed
-
An attacker could manipulate debt exceptional redistribution because it is allowed to deposit into any trove
Deposits should be restricted to the trove's owner only.
Disclosed
-
Multiplier is incorrectly calculated in Controller
The code should be changed so that i_gain multiplies only the new nonlinear-transform contribution inside get_i_term_internal, and the multiplier should add new_i_term without an extra i_gain multiplication.
Disclosed
-
Collateral cannot be withdrawn from trove once yang is suspended
The withdrawal path should not use the deposit-only check; it should instead verify that the yang exists and that its gate is live, as shown in the suggested code change.
Disclosed
-
convert_to_yang_helper() loss precision
The code should be fixed by performing the multiplication before the division, avoiding the intermediate division by 1e18.
Disclosed
-
A user can steal from the shrine by forcing redistribution of their trove; due to incorrect logic trove debt will be reset but yangs kept
The code should not update the updated_trove_yang_balances array before the continue statement.
Disclosed
-
Shrine’s recovery mode can be weaponized as leverage to liquidate healthy troves
The protocol should prevent borrowing above the recovery threshold, for example by using separate LTV limits for new loans and liquidations, as Compound does.
Disclosed
-
Loss of liquidation compensation assets in absorb
The absorb function should update the order of melt and free, calling melt before free.
Disclosed