The Stratax protocol relies on Chainlink price feeds to calculate leverage ratios, determine position health, and execute swaps at appropriate exchange rates. The oracle's getPrice() function retrieves the latest price data from Chainlink aggregators for critical operations including opening leveraged positions and unwinding them.
The getPrice() function does not validate whether the returned price data is stale by checking the updatedAt timestamp or comparing answeredInRound with roundId. During Chainlink oracle outages, network congestion, or when price feeds stop updating due to extreme market conditions, the function continues to return outdated prices. This causes the protocol to create leveraged positions with incorrect collateral ratios, calculate wrong swap amounts, and potentially liquidate healthy positions or fail to liquidate underwater positions.
Likelihood: High
Chainlink oracles experience regular outages and delayed updates during periods of network congestion, L2 sequencer downtime, or when market conditions exceed update thresholds
Historical data shows Chainlink feeds can become stale for hours during Black Swan events when accurate pricing is most critical (e.g., LUNA collapse, FTX implosion, ETH flash crashes)
The protocol has no fallback mechanism or grace period - any staleness immediately affects all position calculations
Multi-collateral protocols increase exposure as each token pair has independent oracle feeds that can fail at different times
Impact: Critical
Users create leveraged positions using incorrect prices, immediately placing them at risk of liquidation when real prices update
Positions calculated with stale high prices appear healthy but are actually underwater, preventing timely liquidations and creating protocol bad debt
Flash loan calculations use wrong exchange rates, causing transactions to fail or execute unfavorable swaps that lose user funds
Attackers can monitor for stale prices and exploit the discrepancy by opening positions that are profitable when prices update, extracting value from the protocol
Protocol insolvency risk increases as accumulated bad debt from mispriced positions exceeds available collateral
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.