Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: low
Valid

High Dependence on Chainlink Can Be Mitigated

Summary

By now the protocol release and has a high dependence in chainlink feeds, due this if a feed is down this will affect directly to the protocol.

Vulnerability Details

Not implementing a mitigation measure for Chainlink errors, such as using a TWAP from Uniswap for the ETH/USD feed to determine the ETH price in USD, increases the risk of protocol disruptions should there be issues with the Chainlink feed.

Impact

The difference between a mitigation measure and the absence of one makes a significant impact on maintaining the most important pair feeds operational. Given its critical importance to the protocol, I consider this a risk.

Tools Used

Manual review

Recommendations

Use the ETH/USD orderbook uses Uniswap's TWAP as a backup feed to get ETH price in USD. Even though the price precession may be not as good as chainlink feeds this will help the protocol to stay up. At least in that strategy/lending vault.

Updates

Lead Judging Commences

hans Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

Chainlink oracle revert is not handled, need a backup oracle

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.