You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conf of the pyth returned price are not validated
as explained in the following, the conf and expo values returned by the pyth oracle should be validated to ensure the protocol is not using far off prices
the pyth factory already has logic to ensure the price it returns is in 18 decimals, but it doesnt ensure conf which is necessary for the validity of the price
The text was updated successfully, but these errors were encountered:
sherlock-admin3
changed the title
Low Grey Mustang - The conf of the pyth returned price are not validated
silver_eth - The conf of the pyth returned price are not validated
Sep 23, 2024
silver_eth
Medium
The conf of the pyth returned price are not validated
as explained in the following, the conf and expo values returned by the pyth oracle should be validated to ensure the protocol is not using far off prices
(https://solodit.xyz/issues/m-01-pyth-oracle-price-is-not-validated-properly-pashov-audit-group-none-nabla-markdown)
https://docs.pyth.network/price-feeds/best-practices#confidence-intervals
the pyth factory already has logic to ensure the price it returns is in 18 decimals, but it doesnt ensure conf which is necessary for the validity of the price
The text was updated successfully, but these errors were encountered: