defirisk.co
rubric v1.7.0

Fallback behavior on oracle failure

Cap (cUSD / stcUSD)'s assessment for RD-F-051 — scored yellow on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

PriceOracle.sol implements primary/backup fallback: if primary oracle returns zero or is stale (block.timestamp - lastUpdated > staleness[asset]), backup oracle is queried. If both fail, reverts with PriceError. Docs confirm mint/burn disabled on stale prices. Yellow because RateOracle.sol _getRate() silently returns (0, 0) on adapter call failure rather than reverting — a zero rate propagating through interest calculations could cause mispriced borrowing if not handled by callers.

Sources #

Methodology #

Identify the declared fallback behavior (pause, secondary source, last-known-price, revert) when the primary oracle reverts or reports a stale value.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol cap factor RD-F-051 score yellow collected_at 2026-05-17 10:56:24