Hunt prep
Before you test Monolith Stablecoin Factory
What 7 disclosed reports say about Monolith Stablecoin Factory: 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 | 5 | 0 | – | – | $0 |
| DoS lesson | 2 | 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.
-
Incorrect interest calculation
The interest formula should be corrected so that the exponential decay term is not divided by 1e18, matching the derived correct integral.
Disclosed
-
Inconsistency in position health checks will lead to the incorrect user liquidations
The comparison in getLiquidatableDebt() should be changed to use >= so that equality is treated as healthy, matching adjust().
Disclosed
-
User can abuse rounding issue in order to borrow unbacked tokens
The rounding logic in debt share calculations should be revised to prevent manipulation of the free debt shares to free debt ratio and to ensure that debt shares are not minted 1:1 when total free debt is zero but shares are inflated.
Disclosed
-
If there's only a single user which has reached a state with bad debt, anyone can mint unbacked tokens
The writeOff function should only be allowed when the borrower's collateral balance is zero or negligible (dust).
Disclosed
-
EIP violation for `totalAssets()` in the `Vault`
The implementation should be changed so that totalAssets() cannot revert, for example by not letting the interest calculation's failure propagate.
Disclosed
-
Accounting will be broken if a user redeems when there is a bad debt position
The redemption accounting should be corrected so collateral is only distributed against debt that is actually repayable, but the report states the fix is non-trivial.
Disclosed