oracle prices should be normalized based on each feed’s actual decimals.
the engine hardcodes ADDITIONAL_FEED_PRECISION = 1e10, implicitly assuming all feeds use 8 decimals.
The constructor accepts arbitrary feed addresses but never validates feed decimals.
If a deployment uses a feed with a different decimal format, collateral valuation becomes severely wrong.
Likelihood:
This occurs in forks or redeployments that plug in feeds not using 8 decimals.
The constructor does not enforce feed format assumptions.
Impact:
Collateral can be overvalued or undervalued by orders of magnitude.
Overvaluation can allow minting of massively unbacked DSC.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.