Pudoo
BTC $78,421.8 -0.95%
ETH $2,465.18 -0.15%
SOL $96.75 -1.85%
BNB $697.8 -0.34%
XRP $1.38 -6.33%
DOGE $0.0850 -4.25%
ADA $0.2055 -4.55%
AVAX $7.24 -3.54%
DOT $0.8400 -4.28%
LINK $11.28 -2.46%
⛽ ETH Gas 28 Gwei
Fear&Greed
65

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.

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):

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

Market Prices

BTC Bitcoin
$78,421.8 -0.95%
ETH Ethereum
$2,465.18 -0.15%
SOL Solana
$96.75 -1.85%
BNB BNB Chain
$697.8 -0.34%
XRP XRP Ledger
$1.38 -6.33%
DOGE Dogecoin
$0.0850 -4.25%
ADA Cardano
$0.2055 -4.55%
AVAX Avalanche
$7.24 -3.54%
DOT Polkadot
$0.8400 -4.28%
LINK Chainlink
$11.28 -2.46%

Fear & Greed

65

Greed

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

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

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

28
03
unlock Arbitrum Token Unlock

92 million ARB released

12
05
halving BCH Halving

Block reward halving event

7x24h Flash News

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

{{快讯内容}}

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

Tools

All →

Altseason Index

41

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
$78,421.8
1
Ethereum
ETH
$2,465.18
1
Solana
SOL
$96.75
1
BNB Chain
BNB
$697.8
1
XRP Ledger
XRP
$1.38
1
Dogecoin
DOGE
$0.0850
1
Cardano
ADA
$0.2055
1
Avalanche
AVAX
$7.24
1
Polkadot
DOT
$0.8400
1
Chainlink
LINK
$11.28

🐋 Whale Tracker

🔵
0x4dbe...bfc1
6h ago
Stake
4,330 ETH
🔵
0xf607...7c56
1h ago
Stake
90.54 BTC
🔵
0x4a37...07c2
6h ago
Stake
8,493,162 DOGE

💡 Smart Money

0xa97f...9277
Market Maker
+$2.1M
72%
0x02a8...07a5
Arbitrage Bot
+$1.3M
63%
0x55fd...dbbd
Institutional Custody
+$3.5M
68%