Pudoo
BTC $57,849.2 -4.07%
ETH $1,624 -3.93%
SOL $66.74 -4.26%
BNB $530.53 -3.70%
XRP $0.8963 -2.95%
DOGE $0.0527 -4.61%
ADA $0.1371 -5.32%
AVAX $6.31 -4.16%
DOT $0.6247 -5.36%
LINK $8.55 -3.58%
⛽ ETH Gas 28 Gwei
Fear&Greed
13

The Unchecked Oracle: How a Single Price Feed Poisoned 4 Lending Pools

Regulation | HasuBear |

On-chain data doesn't lie. On March 14, 2026, block 19,442,871 on Ethereum mainnet recorded a flash loan attack that drained 2.1 million USDC from four lending pools on the same protocol. The exploit vector? Not a reentrancy bug. Not a faulty liquidation mechanism. A single compromised Chainlink price feed for the EURT/USD pair, updated with a stale price that was 40% below the actual market rate.

The Unchecked Oracle: How a Single Price Feed Poisoned 4 Lending Pools

I've seen this pattern before. As a DeFi security auditor based in Chengdu, I've audited over 60 lending protocols since 2022. The code is often clean. The math is sound. The vulnerability hides in plain sight—in the assumptions made about external data sources.

The Unchecked Oracle: How a Single Price Feed Poisoned 4 Lending Pools

Context: The Protocol Mechanics The target protocol, let's call it 'LendVault', is a permissionless lending market that accepts multiple assets as collateral, including a synthetic euro stablecoin called EURT. LendVault uses a custom oracle aggregator that pulls from three sources: Chainlink, Uniswap TWAP, and a fallback from a centralized exchange API. The design is standard—if two of three sources agree, the price is accepted. But the flaw was in the fallback logic.

The Unchecked Oracle: How a Single Price Feed Poisoned 4 Lending Pools

When Chainlink's EURT/USD feed went stale (no new round for 6 hours due to a node runner upgrade), the aggregator's fallback fired. It picked up the Uniswap TWAP for EURT/USDC, which was itself manipulated via a series of small swaps over the previous 10 blocks. The aggregator's code didn't check for a reasonable deviation between the Chainlink price and the Uniswap price. It simply accepted the first two agreeing sources. The result: EURT was undervalued by 40% for 12 minutes.

Core: Code-Level Analysis and Trade-offs Let me walk through the relevant Solidity snippet. The aggregator contract had a function getPrice(address asset):

Market Prices

BTC Bitcoin
$57,849.2 -4.07%
ETH Ethereum
$1,624 -3.93%
SOL Solana
$66.74 -4.26%
BNB BNB Chain
$530.53 -3.70%
XRP XRP Ledger
$0.8963 -2.95%
DOGE Dogecoin
$0.0527 -4.61%
ADA Cardano
$0.1371 -5.32%
AVAX Avalanche
$6.31 -4.16%
DOT Polkadot
$0.6247 -5.36%
LINK Chainlink
$8.55 -3.58%

Fear & Greed

13

Extreme Fear

Market Sentiment

Event Calendar

{{年份}}
18
03
unlock Sui Token Unlock

Team and early investor shares released

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

12
05
halving BCH Halving

Block reward halving event

28
03
unlock Arbitrum Token Unlock

92 million ARB released

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

7x24h Flash News

More >
{{快讯列表(10)}} {{loop}}
{{快讯时间}}

{{快讯内容}}

{{快讯标签}}
{{/loop}} {{/快讯列表}}

Tools

All →

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

Market Cap

All →
1
Bitcoin
BTC
$57,849.2
1
Ethereum
ETH
$1,624
1
Solana
SOL
$66.74
1
BNB Chain
BNB
$530.53
1
XRP Ledger
XRP
$0.8963
1
Dogecoin
DOGE
$0.0527
1
Cardano
ADA
$0.1371
1
Avalanche
AVAX
$6.31
1
Polkadot
DOT
$0.6247
1
Chainlink
LINK
$8.55

🐋 Whale Tracker

🔵
0x7408...99bb
12m ago
Stake
1,890 ETH
🔵
0x92e9...e394
12h ago
Stake
6,538,025 DOGE
🔴
0x2f64...940d
3h ago
Out
3,451 ETH

💡 Smart Money

0xc372...29cf
Market Maker
+$3.8M
86%
0xd3d7...d2b8
Early Investor
+$4.2M
71%
0xc15a...df4e
Arbitrage Bot
+$3.9M
79%