Oracles explained: the notebook can't look out of the window
A blockchain can't see anything outside itself: no prices, no weather, no football scores. An oracle is the service that writes such facts into the chain so smart contracts can use them. Whoever can bend that input can bend every contract that trusts it.
The village notebook has a rule on one of its pages: "Anyone may borrow flour against their turnips, up to half of what the turnips are worth." Every house runs the rule the same way. Nobody can quietly change it.
Grandma Rosa asks the obvious question. "And who tells the notebook what a turnip is worth?" Not the notebook. It can't walk to the market. Someone has to come in every morning and write the price on the page.
That someone is the oracle. The rule is only as honest as the price it is fed. If a trader can push up the price of turnips at the market stalls the writer watches, the notebook will happily lend him flour against turnips that are worth nothing like it.
What it is
An oracle is a service that brings outside facts into a blockchain. ethereum.org defines oracles as "applications that source, verify, and transmit external information" to smart contracts (ethereum.org).
Why can't the contract just look? Because every node must get the same answer when it runs the same rule. If each house checked a website for itself, they would see different numbers at different moments, and they could never agree on the notebook. ethereum.org puts it plainly: "Ethereum-based smart contracts cannot, by default, access information stored outside the blockchain network."
So the outside fact is written into the chain as a transaction, once, and every house reads the same line.
How it works
The common case is a price feed. One or more operators read prices from exchanges, combine them, and post the result to a contract on the chain. Lending platforms, derivatives and stablecoins then read that contract.
ethereum.org lists more than ten such services, among them Chainlink, Pyth Network, RedStone and UMA (read on 19 November 2026; examples, not recommendations). Some use many independent operators and sources. ethereum.org warns that this only helps if the sources differ too: nodes that all copy the same source share that source's "single point of failure" (ethereum.org).
When the price was pushed: Mango Markets, October 2022
Mango Markets was a platform for trading and borrowing crypto. Among the things it listed were its own token, MNGO, and a derivative on it, the "MNGO Perpetual". The facts below come from the US court's opinion of 23 May 2025 and the CFTC's complaint announcement of 9 January 2023.
- The oracle. The MNGO Perpetuals oracle "pulls data from three other cryptocurrency exchanges", FTX, AscendEX and Serum (SDNY opinion).
- 11 October 2022. Avraham Eisenberg built a large position in the MNGO Perpetual and bought MNGO on those exchanges. The court found his trading "caused reference prices to rise by 700% in fourteen minutes". The CFTC described the oracle price as jumping "over 13-fold during a 30-minute span" (CFTC).
- The sum. A 700% rise means eight times the starting price. As an illustration: a position the platform valued at $1 million before the push is valued at $8 million after it. Nothing real changed. Only the number on the page.
- The withdrawal. Mango's rules let users borrow against that paper value. In total, the court says, he "borrowed and then quickly withdrew over $100 million in cryptocurrency". The CFTC put it at over $110 million, of which he later returned about $67 million and kept about $47 million.
The contracts worked exactly as written. They believed the price.
What the courts did
This was the CFTC's first case involving what it called "oracle manipulation". In the criminal case, a jury in New York convicted Eisenberg on 18 April 2024 of commodities fraud, commodities market manipulation and wire fraud (US Attorney SDNY).
On 23 May 2025, Judge Arun Subramanian set the verdict aside. He vacated the two commodities counts, mainly because prosecutors hadn't shown the offences belonged in that court, and entered an acquittal on wire fraud (SDNY opinion). The government appealed to the Second Circuit in July 2025 (docket). Check the outcome of that appeal before you repeat any verdict.
Why it matters
- A contract is never smarter than its inputs. Lending, liquidations and many stablecoins depend on a price someone else writes.
- Who pays. When an oracle is pushed, the losses land on the platform and on depositors whose money was lent out against fake value.
- Who gains. Whoever can move a thin market for a few minutes, and the lawyers who argue for years afterwards about whether that was a crime.
Where people get it wrong
- "It's on the blockchain, so it's true." The chain only proves someone wrote it. Not that it was right.
- "The hacker broke the code." In Mango's case, no code was broken. A price was moved.
- "Many oracle nodes means it's safe." Not if they all read the same thin market.
- "Small tokens are fine as collateral." A token traded on a few small exchanges is the easiest kind of turnip to overprice.
Ask who writes the price
Before you deposit into anything that lends, borrows or promises a stable value, find one line in its documentation: where does it get its prices? Look for several independent sources, and be wary when the collateral is a small token with little trading.
If the documentation doesn't say, that's your answer. The notebook will believe whatever it's told, and you are trusting whoever tells it.
Frequently asked questions
What is a blockchain oracle?
An oracle is a service that brings outside information, such as a price, into a blockchain so smart contracts can use it. The blockchain can't fetch that information by itself, because every node must reach the same result.
Why can't smart contracts get data from the internet themselves?
Every node runs the same contract and must get the same answer. If each node fetched a web page itself, they could see different data and could no longer agree. So the outside fact is written onto the chain once, as a transaction everyone reads.
What is oracle manipulation?
Oracle manipulation means pushing the price an oracle reports, usually by trading heavily in the thin markets it reads, so that contracts relying on it value assets wrongly. The attacker then borrows or withdraws against the inflated value.
What happened at Mango Markets?
On 11 October 2022, a trader pushed up the price of the MNGO token on the exchanges Mango's oracle read and withdrew over $100 million in borrowed crypto, according to the court. A jury convicted him in April 2024; the judge set the verdict aside on 23 May 2025, and the government appealed.
Are decentralised oracles safe?
They lower the risk that one operator lies or fails, but they don't remove it. ethereum.org notes that oracle nodes drawing from the same source share the same weak point. Check what sources an oracle uses, not just how many nodes run it.
Sources
- ethereum.org, Oracles
- CFTC, Release 8647-23: CFTC charges Avraham Eisenberg with manipulative and deceptive scheme (9 January 2023)
- US Attorney's Office SDNY, Man convicted for $110 million cryptocurrency scheme (18 April 2024)
- US District Court SDNY, United States v. Eisenberg, 23-cr-10, Opinion and Order (23 May 2025)
- US Court of Appeals for the Second Circuit, United States v. Eisenberg, No. 25-1782, docket via Justia

