Hunt prep
Before you test Mento x Good$ Integration
What 5 disclosed reports say about Mento x Good$ Integration: 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 | 3 | 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.
-
User to sell the last supply will make the exchange contribution forever stuck
The mitigation depends on the design, but the exchange contribution should not be applied when there is no supply left to redeem it.
Disclosed
-
_getReserveRatioScalar() will give a lesser value than expected
The protocol team fixed this issue in a pull request.
Disclosed
-
`TradingLimits::update()` incorrectly only rounds up when `deltaFlowUnits` becomes 0, which will silently increase trading limits
The correct fix is to round up the division result by adding one after subtracting one from the numerator before dividing.
Disclosed
-
`GoodDollarExchangeProvider::mintFromExpansion()` will change the price due to a rounding error in the new ratio
The protocol team fixed this issue in the following PRs/commits: https://github.com/mento-protocol/mento-core/pull/548
Disclosed
-
Malicious user may frontrun `GoodDollarExpansionController::mintUBIFromReserveBalance()` to make protocol funds stuck
The minting functions should revert if the amount to mint is zero.
Disclosed