Lucene search

K
code423n4Code4renaCODE423N4:2022-03-VOLT-FINDINGS-ISSUES-120
HistoryApr 06, 2022 - 12:00 a.m.

Inconsistent use of oracle

2022-04-0600:00:00
Code4rena
github.com
5

Lines of code

Vulnerability details

Impact

Throughout the protocol, oracles are relied upon to keep Volt stable, calculate payouts to users, and judge whether actions are eligible to be carried out. On the NonCustodialPSM contract, oracle is updated with the updateOracle function. However, there is no check is implemented if the price is out-of-date.

#Proof of Concept

Tools Used

Code Review

Recommended Mitigation Steps

Ensure that all related oracle function implements protection mechanism If the price is out-of-dated.


The text was updated successfully, but these errors were encountered:

All reactions