Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.64 KB

0x203-C3-Oracle.md

File metadata and controls

35 lines (24 loc) · 1.64 KB

C3: Oracle

Control Objective

If a project builds an Oracle smart contract, it is necessary to follow the standard and create a secure contract based on it. Learn from past mistakes that have been identified and have solutions ready.

Ensure that a verified contract satisfies the following high-level requirements:

  • Contract follows a tested and stable Oracle standard,
  • Manipulating the oracle's results is unprofitable and easy to detect,
  • Vulnerabilities identified in various Oracle implementations have been taken into account during implementation.

Category “C3” lists requirements related to the Oracle smart contract as one of the project components.

Security Verification Requirements

# Description
C3.1 Verify that the manipulation of the returned data by Oracle is unprofitable for the attacker.
C3.2 Verify that there are alerts set and monitored for large and sudden changes in the price feed.
C3.3 Verify if there is a way to mark the data as incorrect.
C3.4 Verify that the supply with incorrect data is penalized.
C3.5 Verify that the value (e.g., price for an asset) returned by oracle cannot be influenced in a single block.

References

For more information, see also:

Smart contract audit

Request an audit of your project by SCSVS authors. Contact a specialist.