Skip to main content

14 docs tagged with "oracle"

View all tags

Bad Randomness

Detects contracts that rely on insecure or predictable sources of randomness.

Block Attributes Misuse

Detects reliance on block.timestamp, block.number, or other attributes in ways that break assumptions.

Blockhash Dependence

Detects contracts that rely on `blockhash` for randomness or critical control flow.

Stale Oracle

Detects reliance on outdated oracle data that may no longer reflect current market conditions.

Stale Price Risk

Detects when protocols rely on price data that may become outdated and lead to incorrect decisions.

Timestamp Dependence

Detects reliance on `block.timestamp` for critical logic that miners can manipulate within a short range.

Tx Origin

Detects any use of `tx.origin` in authorization or decision making logic.

Unsafe Use of Tx Origin

Detects authorization logic that relies on `tx.origin`, exposing the contract to phishing attacks.