withdrawUsdTokenFromMarket
truncates fractional values during adjustedUsdTokenToMintX18 → uint256
conversion, creating unredeemable USD Token.
Affected Code:
Example:
Calculated mint amount: 100.999999 USD
Actual minted: 100 USD
0.999999 USD becomes protocol debt
Exploit Scenario:
Repeated small truncations across markets create systemic unbacked debt.
Exploit Scenario:
Repeated small truncations across markets create systemic unbacked debt.
PRBMath analysis
Differential testing
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.