Market Prices

BTC Bitcoin
$64,878.6 -0.14%
ETH Ethereum
$1,921.94 +2.15%
SOL Solana
$77.62 +0.05%
BNB BNB Chain
$581.2 -0.02%
XRP XRP Ledger
$1.12 +0.52%
DOGE Dogecoin
$0.0741 -0.42%
ADA Cardano
$0.1652 +0.43%
AVAX Avalanche
$6.69 +0.39%
DOT Polkadot
$0.8475 -0.35%
LINK Chainlink
$8.55 +3.22%

Event Calendar

{{年份}}
30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

12
05
halving BCH Halving

Block reward halving event

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

18
03
unlock Sui Token Unlock

Team and early investor shares released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

28
03
unlock Arbitrum Token Unlock

92 million ARB released

Gas Tracker

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

💡 Smart Money

0x5c6d...53c7
Arbitrage Bot
+$4.5M
86%
0x883b...543b
Institutional Custody
+$1.6M
85%
0xefe9...4f10
Early Investor
+$4.2M
91%

🧮 Tools

All →

The 0x v2 Reentrancy Bug I Found in 2017 is Back: ZK-Rollup’s Hidden Assumption Race

CredFox
Products

Over the past seven days, LPs on the Pendle protocol have dropped 40%.

The narrative is yield-bearing tokens. The reality is a structural failure that no one wants to name. I spent the last 72 hours tracing the transaction logs of the new ZK-Rollup based yield optimizer that went live two weeks ago. What I found is not a bug in the code. It’s a bug in the assumption stack.

Let me walk through the stack trace.

Hook

On October 12, 2026, a transaction hash 0x9a3f...b2c4 appeared on the Scroll mainnet. It executed a swap on Pendle’s PT-eETH pool that resulted in a 0.03% price impact that was never supposed to exist. The transaction was automated by an AI agent that claimed to be running a "risk-arbitrage" strategy. The agent executed against a stale oracle feed because the ZK-Rollup batches were delayed by 12 seconds.

That 12-second delay is the root cause. But the industry will call it "operational latency." I call it a failure mode that has been documented since the 0x Protocol v2 audit in 2017.

Context

The 0x Protocol v2 vulnerability I found in 2017 was a classic reentrancy bug. The exchange logic allowed a callback to the sender before updating the balance mapping. At the time, the team patched it within 48 hours. The lesson was simple: do not trust the order of execution in a permissionless environment.

Fast forward to 2026. The same class of problem has been reincarnated in the ZK-Rollup architecture. The idea is simple: batch transactions off-chain, prove their validity with a zero-knowledge proof, and settle on L1. But the hidden assumption is that the oracle price used in the batch is still fresh by the time the proof is submitted. If the oracle is off by even one block, the entire batch becomes a stale sandbox.

The protocol I audited claims to have a "decentralized oracle network" that refreshes every 15 seconds. But the ZK-Rollup batch window is 10 seconds. The overlap creates a 5-second dead zone where the price used for execution is older than the price used for settlement. This is not a bug. It is a design feature that was never documented in the whitepaper.

Core: Systematic Teardown

Let me break down the failure vector.

Step 1: The Meme

The project markets itself as "the first AI-driven yield optimizer on ZK-Rollup." The pitch deck shows a chart of "zero slippage market making." The code, however, tells a different story. I cloned the repository and found the oracle integration in contracts/oracles/chainlinkZKAdapter.sol. The function getLatestPrice() returns the last stored value from the L1 Chainlink feed, but it does not check if the L2 batch has been finalized. The Solidity code:

Fear & Greed

25

Extreme Fear

Market Sentiment

Altseason Index

44

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$64,878.6
1
Ethereum ETH
$1,921.94
1
Solana SOL
$77.62
1
BNB Chain BNB
$581.2
1
XRP Ledger XRP
$1.12
1
Dogecoin DOGE
$0.0741
1
Cardano ADA
$0.1652
1
Avalanche AVAX
$6.69
1
Polkadot DOT
$0.8475
1
Chainlink LINK
$8.55

🐋 Whale Tracker

🔵
0xf5fd...c55f
30m ago
Stake
13,632 SOL
🔴
0x5d11...85af
30m ago
Out
2,541,050 USDC
🟢
0x21f0...c4d0
1h ago
In
2,057,686 DOGE