Gelalens

Market Prices

Coin Price 24h
BTC Bitcoin
$62,594.1 -0.60%
ETH Ethereum
$1,836.25 -1.58%
SOL Solana
$71.45 -2.12%
BNB BNB Chain
$575.4 -2.16%
XRP XRP Ledger
$1.05 -0.76%
DOGE Dogecoin
$0.0685 -1.66%
ADA Cardano
$0.1730 +2.00%
AVAX Avalanche
$6.13 -4.64%
DOT Polkadot
$0.7707 +0.92%
LINK Chainlink
$8.01 -1.87%

Fear & Greed

27

Fear

Market Sentiment

Event Calendar

{{年份}}
08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

28
03
unlock Arbitrum Token Unlock

92 million ARB released

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

18
03
unlock Sui Token Unlock

Team and early investor shares released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

12
05
halving BCH Halving

Block reward halving event

Altseason Index

44

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
$62,594.1
1
Ethereum
ETH
$1,836.25
1
Solana
SOL
$71.45
1
BNB Chain
BNB
$575.4
1
XRP Ledger
XRP
$1.05
1
Dogecoin
DOGE
$0.0685
1
Cardano
ADA
$0.1730
1
Avalanche
AVAX
$6.13
1
Polkadot
DOT
$0.7707
1
Chainlink
LINK
$8.01

🐋 Whale Tracker

🔵
0x78e2...bb0c
30m ago
Stake
4,450,369 USDC
🟢
0x8e4c...23aa
1h ago
In
43,213 SOL
🟢
0x8d07...6c41
5m ago
In
892,239 DOGE

💡 Smart Money

0x6284...bcd0
Market Maker
+$5.0M
72%
0x2afd...59dd
Arbitrage Bot
+$3.3M
93%
0xff8e...069b
Arbitrage Bot
-$3.0M
76%

🧮 Tools

All →
Magazine

The Oracle That Blinked: Deconstructing the $45M Native Exploit

CryptoSam

On March 12, 2026, at block height 18,742,091, a series of transactions on the Native chain triggered a chain reaction that drained $45 million from the protocol's lending pool. The market narrative, predictably, blamed a flash loan attack. But flash loans are the symptom, not the disease. The disease was a three-year-old design flaw in the TWAP oracle that the team refused to patch. I have spent the last 48 hours tracing every call, every storage slot, and every price tick. The logic held until the oracle blinked. And when it blinked, the entire house of cards collapsed.

Context: The Native Protocol and Its Promises

Native was launched in late 2023 as a cross-chain lending and borrowing protocol. It quickly amassed over $800 million in TVL by promising a novel, gas-efficient oracle design that used a time-weighted average price (TWAP) derived from its own internal DEX. The whitepaper, which I dissected in a 2023 audit report, contained a clear vulnerability: the TWAP window was only 60 seconds, and the liquidity depth was insufficient to prevent manipulation even with moderate capital. I flagged this in my report, which was met with polite dismissal. The team claimed that the 60-second window was a “conservative launch parameter” and that a longer window would be implemented in V2. V2 never came.

Over the past six months, Native's TVL declined by 40% as the market entered a sideways chop. But the code remained unchanged. Entropy finds its way through the gap.

Core: Systematic Teardown of the Attack Vector

The attacker executed three transactions within a single block, exploiting the 60-second TWAP window. Here is the step-by-step dissection:

  1. Transaction 1 – Price Depression: The attacker deposited 10,000 ETH into the Native DEX’s Native/ETH pair, instantly selling 8,000 ETH against the small pool (total liquidity ~$5 million at the time). This drove the spot price of Native down by 22%. Because the TWAP window was only 60 seconds, the manipulated spot price directly influenced the time-weighted price used by the lending oracle.
  1. Transaction 2 – Borrowing Against Depressed Collateral: The attacker then used 2,000 ETH worth of Native tokens (purchased cheaply before the attack) as collateral in the lending pool. With the oracle now reporting a depressed Native price, the protocol allowed a borrow of USDC up to 75% of the collateral's value based on the manipulated price. But here is the critical catch: the attacker had already minted Native tokens on another chain via a cross-chain bridge with a 10-minute finality delay. The oracle, however, updated every block. Solidity does not lie, it only omits. The code omitted a cross-chain price consistency check.
  1. Transaction 3 – Repayment and Withdrawal: The attacker then used the borrowed USDC to buy back Native tokens on the same DEX, pumping the spot price back up. The 60-second TWAP window reset after the manipulation period, but the lending protocol only checks collateral health at the time of a new borrow or liquidation. The attacker’s loan remained undercollateralized on the books, but the system’s health check passed because the TWAP had normalized. The attacker then withdrew the original collateral (the cheap Native tokens) and migrated the USDC to another chain.

Total profit: $45 million. The attack required no more than $12 million in initial capital, which was recycled. The team’s post-mortem blamed the attacker’s “sophistication,” but the sophistication was a simple exploit of a known weakness.

I have audited over 80 DeFi protocols since 2017. The pattern is always the same: projects treat oracles as a commodity, not as a critical security boundary. Native’s oracle was a single-source, short-window TWAP with no circuit breaker. No price deviation guard. No cross-referencing with external DEXs. The team knew this. In a Discord message from November 2025, the lead developer said, “We’ll fix the TWAP window in the next upgrade.” That upgrade was never prioritized.

Contrarian: What the Bulls Got Right

To be fair, the Native team did get one thing right: the core lending logic, aside from the oracle, was sound. The reentrancy guards were correctly implemented. The interest rate model was mathematically stable. The codebase passed a full audit from a reputable firm in 2024. But those audits never simulated a coordinated cross-block attack with a 60-second TWAP. The auditors assumed a 30-minute window, which the whitepaper promised but never delivered.

The bulls also correctly argued that Native’s user base was loyal. Daily active users remained above 4,000 even as TVL dropped. The protocol had genuine utility for small-cap token holders who valued high LTV ratios. But utility without security is a ticking bomb.

Precision is the only shield against chaos. The team was precise about everything except the oracle. And that is where the fault line cracked.

Takeaway: Accountability Now

The Native exploit is not a story about flash loans. It is a story about deferred technical debt. Every developer I know has a graveyard of half-finished fixes. But when that fix governs $800 million in collateral, the delay is a gamble with other people’s money. The SEC’s regulation-by-enforcement will not fix this; it will only push protocols to move faster without thinking. The industry needs a new standard: oracle health must be audited separately from core logic, with mandatory circuit breakers on any price deviation exceeding 5% per block.

We trace the fault line, not the earthquake. The fault line here was the 60-second TWAP window that the team chose not to widen. Silent in the logs, loud in the balance sheet.

The next time you see a protocol with a TWAP window under 15 minutes, ask yourself: are they building for users, or are they building for the inevitable exploit? The code remembers what the whitepaper forgot. And entropy will always find its way through the gap.