Digital Asset Database Digital asset research & education
BTC$77,901+1.70% ETH$2,407+1.28% USDT$0.9996+0.00% BNB$712.37+4.29% XRP$1.37+3.79% USDC$0.9998+0.01% SOL$100.84+2.96% TRX$0.3278+1.56% FIGR_HELOC$1.01-2.01% HYPE$82.00+1.46% ZEC$844.20+6.34% DOGE$0.0831+2.56% RAIN$0.0166-2.27% USDS$0.9998+0.01% XMR$513.32+0.98% LEO$9.44+2.10% LINK$11.29+2.55% WBT$71.36+1.56% ADA$0.2069+6.35% XLM$0.1777+3.18% BCH$250.42+2.43% DAI$0.9998+0.01% CC$0.1099-1.85% USDE$0.9994+0.00% USD1$0.9993+0.00% LTC$50.71+3.95% UNI$6.21+7.40% GRAM$1.34+1.43% HBAR$0.0768+4.83% USDG$1.00+0.03% AVAX$7.29+2.55% SUI$0.7671+7.88%
메뉴
자산 전체 자산섹터순위Heat map스크리너자산 비교★ Saved
기본 지표 Fees & revenue잠긴 가치Exchange volume네트워크 활동StablecoinsStaking & yield
밸류에이션 밸류에이션 비율Supply & issuance지표 정의
기관 상장지수상품기업 재무 보유분
리서치 리서치 노트이벤트 캘린더리스크 프레임워크보안 사고
학습 Learn library용어집계산기방법론데이터 출처데이터 최신성AI agents공개 API
뉴스 데이터에 묻기 글로벌 시장 소개
읽기 옵션
Photography CryptoStudio
가이드 보기

시장이 처음이라면 — 가격, 수익률, market cap? 브라우징하면서 모든 용어를 평이한 영어로 설명합니다. 동일한 데이터에 도움말이 내장된 방식입니다.

전문가 견해

시장은 이미 알고 있다고 가정합니다. 데이터만 — 깔끔하고 빠르며 간결하게, 별도의 설명 없이 제공합니다. 기본 보기입니다.

라이트 또는 다크
언어
공개 API

이 사이트의 모든 수치는 해당 기간 및 출처와 함께 JSON 형식으로 제공됩니다.

API 문서 읽기
DeFi Advanced 8 min

Oracles: the most common single point of failure in DeFi

A contract cannot see a price; it can only read one that somebody wrote down, and almost every protocol inherits the failure modes of that process.

A smart contract has no access to anything outside its own chain. It cannot see an exchange, a bank balance or the time of day on another network, so any protocol that needs an external fact depends on a process that writes that fact into on-chain state. That process is an oracle, and because lending, derivatives, stablecoins and structured products all read prices the same way, an oracle is the dependency most likely to be shared by everything that fails at once.

The designs, and what each one trades away

  • Push feeds. A set of reporters signs prices and writes them on chain on a heartbeat, or whenever the price has moved by more than a deviation threshold. Everything downstream reads a stored value for free. The stored value is by construction stale between updates, and the deviation threshold defines exactly how stale it may be.
  • Pull feeds. Reporters sign prices continuously off chain, and a user submits the signed price along with the transaction that needs it. Updates cost nothing when unused and the price is fresh at the point of use, but whoever chooses which signed price to submit has a degree of selection over the number the protocol will act on.
  • Time-weighted averages from an on-chain pool. The price is derived from a decentralized exchange pool's own history, so it requires no external reporter at all. Manipulating a longer average requires holding a distorted price across many blocks, which is expensive, and the same averaging makes the feed lag badly in a fast move.
  • Aggregated indices. A median or volume-weighted composite across venues resists a single venue's outage or manipulation, and provides no protection when the venues are correlated because they are all quoting from the same underlying market.

No design removes the tradeoff between freshness and manipulability. A feed that updates instantly reflects whatever just happened, including something an attacker caused. A feed that averages is harder to move and reports the past.

The manipulation arithmetic

The cost of moving an on-chain price is a function of pool depth. Under a constant product curve, pushing the price up by a factor of r requires buying into the pool until the reserve ratio matches, and the trader is left holding the asset at an inflated price; most of the outlay is recovered when the price is pushed back, so the true cost is the round trip's fees and slippage, not the notional deployed.

The payoff is bounded by something else entirely: the size of the position that can be opened against the distorted price. If a lending market will lend against a thinly traded collateral token, the attacker's profit is set by that market's depth, while the attacker's cost is set by the pool's. When those two numbers are far apart, the trade is a matter of execution rather than of capital, and a flash loan removes the capital requirement altogether by borrowing and repaying within one transaction. This is the shape of a large share of the losses in the sector: not a broken cryptographic primitive, but a correct contract reading a price that was true for one block.

Mitigations follow from the same arithmetic. Caps on how much can be borrowed against thin collateral bound the payoff directly. Isolated markets stop the loss from reaching unrelated deposits. Pricing collateral at the lower of several independent feeds removes the single manipulable source. And requiring a price to persist across blocks makes an atomic attack impossible, at the cost of slower liquidations.

A taxonomy of oracle failure

Manipulation is only one branch. The others recur often enough to be worth naming.

  • Stale. The reporters stop, or the deviation threshold is never crossed on a low-volatility asset, and the contract keeps using an old number that no longer describes the market. Oracle failure of this kind is silent, because a stored value looks identical whether it is one minute or one week old unless the timestamp is checked.
  • Correct but late. In a fast decline the feed is accurate at every update and behind the market between them, so liquidations happen at prices that no longer exist and liquidators refuse to act.
  • Right price, wrong asset. A wrapped or receipt token is priced using the underlying's feed on the assumption that they are equivalent. When the wrapper trades at a discount, that assumption is the error, and it typically shows up as a depeg that the protocol cannot see.
  • Unit errors. Decimals, denomination in the wrong quote currency, or an inverted pair. These are mundane, and they have caused total losses.
  • Governance. The address a protocol reads from is a parameter. Whoever can change it can change every price in the system at once, which makes admin key risk and upgradeability risk oracle questions as much as contract questions.
  • Ordering. Because an update and the transactions reacting to it sit in the same block, the right to act first on a new price is valuable, which places MEV and front-running inside the oracle's design rather than outside it.

What can be checked before it matters

Useful questions are specific: how many independent reporters sign a feed and who they are; what the heartbeat and deviation threshold are; whether the price is a broad index or a single venue; whether the contract validates the timestamp and rejects stale data; whether a circuit breaker exists and who can trigger a pause; and whether collateral caps bound the payoff from a successful manipulation. For assets whose price is supposed to be fixed, peg deviation is the direct measure of whether a feed and reality still agree, and the depth behind a price matters more than the price itself, which is why volume relative to value locked is worth reading next to any pool used as a price source.

The incident record classifies past failures by mechanism, including the oracle-driven ones, the risk section lists the feeds protocols depend on, and the data sources page sets out where the prices on this site come from and how they are reconciled, which is the same problem seen from the outside.

01

핵심 요점

Every oracle design trades freshness against manipulability, and no design escapes that tradeoff.
The cost of manipulating an on-chain price is set by pool depth, while the payoff is set by how much can be borrowed against the distorted price.
Flash loans remove the capital requirement for manipulation, leaving only the round-trip trading cost.
Stale prices are silent failures, because a stored value looks the same whether it is a minute or a week old unless the timestamp is validated.
The oracle address is a governance parameter, so whoever can change it can change every price in the system at once.

자산

전체 자산섹터순위Heat map스크리너비교저장됨

기본 지표

Fees & revenue잠긴 가치Exchange volume네트워크 활동StablecoinsStaking & yield

Valuation & risk

밸류에이션 비율Supply & issuance지표 정의리스크 프레임워크보안 사고

기관

상장지수상품기업 재무 보유분Events리서치 노트뉴스

학습

Learn library용어집계산기데이터에 묻기AI agents공개 API

소개

소개문의방법론데이터 출처편집 정책데이터 최신성

법적 고지

면책 조항이용 약관Privacy policy