#47291 [SC-Insight] Serveal bugs in function set_prices_and_funding_snapshot
Description
Brief/Intro
Vulnerability Details
// Current code just overwrites without checks
if new_prices.len() > 0 {
self.latest_updated_timestamp.write((*new_prices.at(0)).last_updated_timestamp);
}Impact Details
Proof of Concept
Proof of Concept
Previous#47257 [SC-Insight] Lack of position quantity limit for a single account.Next#47295 [SC-Insight] Configurator Can Manipulate Critical Parameters to Force Mass Liquidations and Drain Protocol Funds
Was this helpful?