Skip to content

Sherlock

Mento x Good$ Integration

Every publicly disclosed report for Mento x Good$ Integration and what kind of bugs they were.

disclosed reports
5
most reported class
Business logic
bug classes found
1
first disclosure
2024
Find Mento x Good$ Integration on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Mento x Good$ Integration chose to make public.

Business logic

User to sell the last supply will make the exchange contribution forever stuck

When the last supply tokens are sold, the exit contribution is deducted from the output and remains stuck in the contract because no supply is left to redeem it. An attacker could sell the final supply and cause a potentially large amount of reserve tokens to be permanently locked.

Mento x Good$ Integration

Medium
Audit finding

_getReserveRatioScalar() will give a lesser value than expected

The expansion controller calculates the number of expansions by dividing elapsed time by the expansion frequency, which rounds down and undercounts expansions when the elapsed time is not a multiple of the frequency. An attacker or any caller can trigger an expansion after a non-multiple interval, causing fewer tokens to be minted than intended.

Mento x Good$ Integration

Medium
Audit finding

`GoodDollarExchangeProvider::mintFromExpansion()` will change the price due to a rounding error in the new ratio

The mintFromExpansion function calculates the new token supply using a high-precision ratio but stores the reserve ratio with lower precision, causing a rounding error that changes the price. An attacker could call this function to mint tokens and slightly alter the price, violating the invariant that price remains constant.

Mento x Good$ Integration

Medium
Business logic

Malicious user may frontrun `GoodDollarExpansionController::mintUBIFromReserveBalance()` to make protocol funds stuck

The GoodDollar expansion controller mints UBI tokens based on reserve interest, but if the exchange's token supply is zero, the minting function returns zero tokens while still accepting reserve funds. An attacker can buy all $G tokens to make the supply zero, then trigger the minting function so that reserve funds are added without any $G being minted, leaving funds stuck.

Mento x Good$ Integration

Medium