The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

No Check for Asset Price Validity for chainlink oracle in`LiquidationPool.sol`::`distributeAssets` could lead to wrong calculations

Summary

No Check for Asset Price Validity inLiquidationPool.sol::distributeAssets could lead to wrong calculations

Vulnerability Details

The function retrieves asset prices using Chainlink oracles but does not check if the returned prices are valid or recent. This could lead to incorrect calculations if the price feed is stale or compromised.

Impact

This could lead to incorrect calculations if the price feed is stale or compromised.

Tools Used

Manual Review

Recommendations

Add checks to ensure the validity and freshness of asset prices from Chainlink oracles.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Chainlink-price

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

Chainlink-price

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.