The Oracle should return the most recent and valid price data from Chainlink to ensure accurate collateral and debt calculations.
The getRoundData function retrieves the price from latestRoundData but ignores the updatedAt timestamp and answeredInRound ID, allowing the system to accept stale or frozen prices during oracle outages.
Likelihood:
The Chainlink feed heartbeat passes without an update due to network congestion (L2 sequencer downtime) or node operator issues.
Impact:
Users are unable to unwind positions because stale prices cause the debt repayment calculation to mismatch reality, leading to reverts.
The protocol miscalculates position health, preventing necessary liquidations or allowing under-collateralized borrowing.
Add this test to test/StrataxPoC.t.sol:
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.
The contest is complete and the rewards are being distributed.