The LibOracle.oracleCircuitBreaker
function lacks validation for the heartbeat of both oracles.
The LibOracle.oracleCircuitBreaker
function is responsible for validating both the getLatestData
of the base oracle and the asset oracle. However, it currently lacks sufficient validation.
Loss of funds due to inadequate staleness checks for the asset's price.
Manual Review
Add heartbeat validation similar to that in the baseOracleCircuitBreaker
function. This modification will help ensure proper validation of both oracles' heartbeats and enhance the security of the system.
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.