The getTotalMeowllateralInAave
function in the contract does not check the health factor of the account data returned by the Aave Pool, nor does it verify the freshness and validity of the price feed data used in the calculations. This can lead to incorrect assessments of the account's collateral status, potentially causing significant financial risks.
The function retrieves the account data from Aave but fails to:
Check the health factor, which is critical for determining the account's risk of liquidation.
Ensure the price feed data is up-to-date and valid, which is crucial for accurate collateral valuation.
manual review
By incorporating checks for the health factor and verifying the freshness and validity of the price feed data, the getTotalMeowllateralInAave
function can provide more accurate and reliable assessments of the account's collateral status, thereby reducing financial risks.
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.