How To Tell If Your Oracle Relationship Has Trust Issues
Oracle Summit Buenos Aires 2025 · 18 Nov 2025 · 12:13
ENGN33R of Yearn Finance asks how far DeFi teams should trust their price oracles. He shows that, unlike traditional markets, DeFi has no single price, only many venue prices, so every oracle must compress many prices into one. He argues that vague risk scores, deprecations and flexible price selection leave integrators carrying the risk, then reviews the Binance depeg episode and a Moonwell feed where five of ten providers reported wildly wrong values. His lessons: use deep liquidity sources, add guard rails on correlated assets, and judge provider quality, not just count.
Speakers
Topics
From Oracle Summit Buenos Aires 2025, hosted by Stable Summit.
Transcript
Okay. So, uh if you have dealt with oracles, whether you know it or not, you have a relationship with your oracle. So, time to see if you have some trust issues. Uh so, today uh I should get out of the presentation. Is this an okay spot to stand? Okay. So, we're going to start with how DeFi prices actually work. Then we'll jump into some risks with your Oracle relationship and finally touch on some recent incidents that you probably heard about. First, world's fastest intro. I'm engineer. I do stuff with code. I'm at now. I've done security stuff in the past. And if you want the slides, this is a QR code, but it's also at this URL
if you're paranoid about scanning QR codes like I am. Uh, and first let's just touch on how prices work in DeFi. Everyone needs good price data and it's easy, right? It's easy. That's why we're here at an Oracle Summit because it's easy. Now, let's look at Tradfi. I mean, Tradfi, it's been around a while. And if we look at everyone's favorite stock, Coinbase, uh, we will see that uh, three different websites that have the price data for this stock. uh the low and the high price for 24-hour period. It's consistent. Like all these websites have the exact same low and high price. I mean, that makes sense, right? There's a
price that this asset goes to in 24 hours. The low, the high, everything in between. Now, let's look at DeFi. Well, this is not really DeFi because it's centralized exchanges. But we have a problem here because when I look at Kcoin, it went to 30,01 and then Krocken it was 3,23 at the lowest and then at Binance we have 307. I mean this this is all over the map. Like we don't actually have consistent low prices and high prices. And uh this this is kind of strange because we just looked at Tradfi and they're consistent.
what's going on here and this is roughly the answer is that in Tradfi all of the trading is going through let's say a more centralized location whereas in DeFi the trading is happening in many locations and that is naturally going to be different in these different trading venues. So there is no price and this is pretty crazy to realize. There is no one price. There are many prices. And this is really the heart of the problem because when we look to an oracle, we want one price. Like what is the price of ETH? What is the price of Bitcoin? Tell me, give me a number. And
there is no one price. Like the question is what is this price? So let's recap. So far price data is used almost everywhere in DeFi. But there there is no single price which is kind of crazy. And now we need a solution. How do we actually generate a single price from many prices. Now I'm I'm here to tell you the solution because uh the solution is really easy. You just throw up your hands and say who knows like someone else will solve it.
Uh this is already solved. We have oracles. like why do I need to solve it? And uh yeah, we do have oracles. And as you can see, it's super simple. You just throw like 100 arrows and some blocks and you're done. You got a price. I mean, look at this. This is super simple. You just throw nodes, nodes, and more nodes and boom, you got a price. Um a show of hands. How many people understand in depth how this works? Yeah. Okay, that's what I thought. Anyway, um but let's let's look a bit deeper because it is hard to figure out is this a good safe design? Like we know oracles exist. The actual process is a bit complicated, but is this safe? Is this a good design?
Now it comes down to trust. All these nodes are reporting prices and there's some algorithm to generate one price from all these nodes reporting data. But can you trust all of these people? Cuz you're in a relationship with all of them now. And the question is, can you rely on them? Uh let's look a bit closer. There's some risk scores here. We have a high market risk. We have medium market risk in the middle. And then new token. I don't know what new token risk is, but it's nice to know it's new. Um what does this mean?
Like maybe we shouldn't trust the high-risisk people. We should just trust medium or low risk. Let's let's take a look. Like what does this actually mean? Well, for medium market risk, it's like lower inconsistent asset volume. I mean, that's clear. Low volume is that $10, 10 million volume for a given asset is excessively concentrated. Uh does that mean like one person holds it or like a,000 like concentrated? What's that mean? Uh high spread. High spread. Is that a dollar, a cent? I don't know. So basically for medium market risk, you just sort of like put your finger in the air. If the wind's strong, it's like, yeah, that's medium risk. Put a put a label on that. So, uh, that's one issue.
We don't really know what these risk scores mean. Uh, another issue, you have deprecation dodgeball for devs. Uh, you think you're using something in a smart contract that's going to be surviving on chain for 10 years. Uh, sorry. Uh, that's deprecated. Don't use it. Don't use the other one either. They're all gone. Sorry. Got to deploy new code now. So, this is tricky because you want to deploy a smart contract that has a long lifespan, but you're relying on something that's changing all the time and that's not reliable. And uh yeah, this this is what might happen to you.
It's unfortunate, but that's the reality of things. It really feels like web 2. I mean, this is this is Google. Google would like to have you forget about all their failed product lines and there is quite a few. Uh so at the end of the day though it's very nice that there is a disclaimer because ultimately you are responsible. We'll give you a risk score that we pulled out of thin air but you're responsible. Good luck. So I hope you know how your relationship is going because that's on you. um just can't can't pick on just one oracle provider. So here's just docs from another. So uh yeah, apparently the uh these oracles allow uh users some
ability to select which price they use. That's always a great sign when the price is like flexible because it's like you go to a market and you're like, I don't want to give you three, I'll give you two. $2 for that. No, I'm going down to one now. One. Can I take it for one? So yeah, this is maybe not what we expected, but again, you're in this relationship. So I I hope you realize what you signed up for. Um, but but enough of that. Let's skip the abstract stuff. Let's go to some recent events that uh you may have seen in the news recently. Uh $19 billion oracle dump. I can't even tell. Is 19 billion a big number? Cuz like these days uh seems like a lot of dumps are happening
unfortunately. And whoa, that's a big red candle there. Um, we've got a 38% DPEG here. Uh, 38% DPEG sounds pretty bad. And, uh, I hope that's all, but no, no, we have we have an 80% DPEG on this other asset. And 87 87% DPEG. What was going on here? So these were various pegged assets that Binance was pricing using some internal internal oracle system that obviously went very wrong. The results on a for example we have 500,000 of bad debt doesn't sound too bad. Okay, what else? Uh there was
obviously a lot of follow-on effects throughout the whole ecosystem. So really jumping to the last point here, these DPEGs are just bad for everyone. Um because these are assets that should have been pegged that suddenly went 30 80% DPEG. I mean a lot of liquidations ensued. Everyone goes risk off. It's just terrible. And uh main lesson at least for Binance is don't rely on your internal order book oracles. Like don't do what you were doing because that's wrong. Uh pretty obvious now. Um, but also make sure this is uh applicable for everyone. Make sure the Oracle price data is using a deep liquidity source cuz that was a key mistake Binance made.
They were not using a deep liquidity source. Uh, about $100 million was able to impact like $10 billion. That's bad. So, uh, anyway, that's Binance, but but that's not all because we've had a fun last month and a half here in this space. Uh oh. I guess this is another summary. Uh yeah, $19 billion destroyed was unfortunate, but but there's more. But wait, there's more. There's always more in this space. Um this is Moonwell. Uh this is the tweet that they put up shortly after some events ensued.
And uh this is a quiz for everyone. Here is a graph of the price data in green. That's the Oracle data in green. The blue is the actual price. Does anyone see a problem here? Anyone see a problem? I'll I'll give you a little hint here. I'll circle the problem. We have a price going from one to a million in like a few different blocks. I don't think prices generally go from one to a million, but that's just me, especially for pegged assets. Uh yeah, and so this was highly unfortunate. I actually heard it cost over over one million of impact.
Uh but this is just another example where relying on your oracle your relationship uh went south very quickly. Uh here is actually what you would see looking at the onchain data. So there were 10 people providing data. Five of them were giving a more accurate price around one and the other five were giving a value more like 1 million. So it was 5v5 and on some of the blocks the 1 million value was used only a few blocks as you saw from the previous slide but it was enough to cause a big impact. So obviously trusting all 10 people in your relationship went south cuz five of them were uh were not on your side unfortunately.
And uh I don't know if these are the exact 10 providers of the data, but this was a screenshot from recently the RS ETH uh data providers. And I would say it's it's generally better to rely on more providers, but relying on more doesn't actually mean anything if you don't have quality. You need quality data providers. So yeah, this this was apparently not good enough as we learned in hindsight. And lessons learned from this incident. Basically uh yeah oracles should not rely on markets which can be manipulated. There is some reliance on balancer here is what I heard. Um but also there must be guard rails on correlated asset pricing. There is no reason to accept a price of 1 million
when the price should be near one for correlated assets. It's ridiculous that there was no checks and balances for this. So anyway, I'm almost at the end of my time. Defi price oracles are foundational as we know in this whole ecosystem. So we do have to figure out our proper relationship with them. They are difficult and I would argue potentially unsolved as a problem in this space. We have not found the silver bullet solution yet. Even in 2025, we are still getting hit with incidents left and right in very short time span.
And lastly, uh yeah, doing this stuff is hard. That is all. Thank you. >> [applause]
Related talks
- Why DeFi Needs Stronger Oracles Than TradFi Ever Did
- Evolving Needs and Practical Lessons in Adaptive Oracle Design
- Quantifying and Managing Oracle Risk
- Who Controls Economic Truth on Ethereum?
- Chainlink: Oracles & integrating ChainLink into Solidity
- Censorship-Resistant Protocols: Oracle-Less vs. Oracle-Integrated Approaches
- Building the Data Layer for Ethereum's Institutional Era
- Using Holochain as a Validated Data Layer for On-Chain Transactions | Joshua Vial - Holochain
- Why Web3 Needs More Oracles - Chandler De Kock
