Stale Price Protection
Stale Price Protection is a security feature that prevents a protocol from using outdated data if an oracle fails to provide an update within a specific timeframe. If the last reported price is older than a certain limit, the protocol may automatically pause functions like borrowing, lending, or liquidations to prevent the exploitation of stale information.
This is a crucial safety mechanism, as it acknowledges that oracles can and do fail or experience latency. By treating stale data as an error state, the protocol protects its users and its own solvency from being exploited by arbitrageurs who would otherwise trade against the outdated price.
Implementing this protection requires careful planning to ensure that the protocol can gracefully handle these pauses without causing panic or permanent disruption. It is a foundational component of robust DeFi risk management, ensuring that the system remains safe even when external data sources are unavailable or unreliable.
This feature highlights the necessity of designing for failure in decentralized systems.