-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 0x303-I3-Oracle.md #11
base: master
Are you sure you want to change the base?
Conversation
Added 7 security considerations related to Chainlink Oracle as well as a link to the article which explains these problems more in depth.
…gory/nft Category/nft
Co-authored-by: Damian Rusinek <[email protected]>
| **I3.9** | Verify that NOT the same heartbeat is used for multiple price feeds when using Chainlink Oracle | | ||
| **I3.10** | Verify that the code deals with different price feeds having different decimal precision when using Chainlink Oracle | | ||
| **I3.11** | Verify that the price feed address wherever it is located(hardcoded, deployment script) is pointing to the correct oracle price feed | | ||
| **I3.12** | Verify that the code handles calls to the oracle if they potentially revert when using Chainlink Oracle | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean a situation when call to price feed reverts? If so, what is the risk? The whole tx would revert right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @CDSecurity, just a quick reminder. Can you elaborate on that?
Thanks @CDSecurity for update. I have addressed your comments. We are also thinking about how to present the checks for specific protocols (like Chainlink). One option is to separate them as I proposed here: https://github.com/ComposableSecurity/SCSVS/pull/12/files, but that is not yet decided. I am mentioning that because if we decide to separate them, these check will also have to be re-organized. |
Added 7 security considerations related to Chainlink Oracle as well as a link to the article which explains these problems more in depth.