The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

Missing chainlink oracle checks

Summary

The protocol uses chainlink contracts to check the price, but does not have the recommended checks in place to validate the returned data.

Vulnerability Details

Chainlink advises users of their contracts to have a staleness check on the received data. For L2s like Arbitrum, it is also advised to have a check on whether the sequencer is online. Both these checks are missing in the protocol, making it susceptible to using bad values in case of an oracle failure.

Impact

Bad pricing values can be used, leading to bad debt

Tools Used

Manual Review

Recommendations

Check if the timestamp of the latestRoundData is withing some required threshold. Also check if the arbitrum sequencer is running.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Arbitrum-sequncer

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

Arbitrum-sequncer

Support

FAQs

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