The prices fetched by the Pyth network come with a degree of uncertainty, which is expressed as a confidence interval around the given price values. Considering a provided price p, its confidence interval  is roughly the standard deviation of the prices probability distribution. The official documentation of the Pyth Price Feeds recommends some ways in which this confidence interval can be utilized for enhanced security. For example, the protocol can compute the value /p to decide the level of the prices uncertainty and disallow user interaction with the system in case this value exceeds some threshold.
Currently, the protocol completely ignores the confidence interval provided by the price feed. Consider utilizing the confidence interval provided by the Pyth price feed as recommended in the official documentation. This would help mitigate the possibility of users taking advantage of invalid prices.
