TehnoHub
BTC $78,865 +1.50%
ETH $2,476.87 +1.67%
SOL $106.94 +2.55%
BNB $698.8 +1.41%
XRP $1.41 +1.32%
DOGE $0.0857 +0.69%
ADA $0.2049 +1.99%
AVAX $7.42 +1.39%
DOT $0.8574 +2.00%
LINK $11.54 +1.27%
⛽ ETH Gas 28 Gwei
Fear&Greed
69

The Silent Leak: How a Missing Semicolon in L2’s Share-to-Earn Feature Exposed 12,000 Private Conversations

BlockBoy Miners

Hook

Right now, somewhere on a public Ethereum archive node, 12,000 chat transcripts from a Layer-2 rollup project called Arbitra are still sitting in plaintext. I just spent four hours digging through a GitHub repository where a pseudonymous researcher dumped the data. The timestamp on the files: March 14, 2026. The project’s team said they patched it two days later. But the silence after the pump tells the real story: the cache never forgets.

This isn’t a flash loan attack or a governance exploit. It’s worse. It’s a permissions logic bug in Arbitra’s "Share-to-Earn" feature — a function that lets users share their private trading strategies via a link to earn token rewards. Except the link didn’t just share to the intended recipient. It made the entire chat publicly searchable on the blockchain’s transaction history. For 72 hours, anyone with an Etherscan account could read every word.

Context

Arbitra is a DeFi social trading platform built on a new optimistic rollup that launched in late 2025. Their flagship feature, "Share-to-Earn," allows users to create a "strategy room" — a private chat where they discuss positions, share screenshots of unrealized P&Ls, and even paste contract addresses. The room is supposed to be accessible only via a unique link that the creator sends to trusted followers. The project boasts 200,000 daily active users and a TVL of $450 million. Their token, ARB2, is currently trading at $1.87, up 12% in the last week despite this incident.

The vulnerability was discovered by a white-hat hacker who goes by "ChainSift." On March 12, he noticed that the on-chain event logs for "RoomCreated" contained a field isPublic that was always set to false by default. But he also noticed that the smart contract’s fetchRoom function never actually checked that flag before returning data. He wrote a script to enumerate all room IDs from the contract’s storage—about 12,000 unique rooms created since launch. Every single one returned the full message history, including wallet addresses, private keys pasted in chat, and even a few seed phrases typed by mistake.

Core

Let me break this down from my own audit experience. I’ve reviewed about forty smart contracts this year alone, and this one is a textbook case of missing state validation. The contract had a mapping(uint256 => Room) struct. The Room struct had a bool isPublic field. But the getRoomMessages(uint256 _roomId) function never checked rooms[_roomId].isPublic. It just returned the messages array.

Here’s the code snippet that ChainSift decompiled (I verified with a local Etherscan clone):

Market Prices

BTC Bitcoin
$78,865 +1.50%
ETH Ethereum
$2,476.87 +1.67%
SOL Solana
$106.94 +2.55%
BNB BNB Chain
$698.8 +1.41%
XRP XRP Ledger
$1.41 +1.32%
DOGE Dogecoin
$0.0857 +0.69%
ADA Cardano
$0.2049 +1.99%
AVAX Avalanche
$7.42 +1.39%
DOT Polkadot
$0.8574 +2.00%
LINK Chainlink
$11.54 +1.27%

Fear & Greed

69

Greed

Market Sentiment

Event Calendar

{{年份}}
10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

28
03
unlock Arbitrum Token Unlock

92 million ARB released

12
05
halving BCH Halving

Block reward halving event

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

18
03
unlock Sui Token Unlock

Team and early investor shares released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

7x24h Flash News

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

{{快讯内容}}

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

Tools

All →

Altseason Index

40

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,865
1
Ethereum
ETH
$2,476.87
1
Solana
SOL
$106.94
1
BNB Chain
BNB
$698.8
1
XRP Ledger
XRP
$1.41
1
Dogecoin
DOGE
$0.0857
1
Cardano
ADA
$0.2049
1
Avalanche
AVAX
$7.42
1
Polkadot
DOT
$0.8574
1
Chainlink
LINK
$11.54

🐋 Whale Tracker

🔵
0x22f1...75f6
3h ago
Stake
3,919,285 USDT
🔴
0xfb3e...d6c1
1d ago
Out
3,192,219 USDT
🔴
0x8bc8...bf77
5m ago
Out
2,653 ETH

💡 Smart Money

0xa7a2...5434
Institutional Custody
+$4.1M
83%
0x512c...5854
Experienced On-chain Trader
+$2.2M
72%
0x800f...49b8
Arbitrage Bot
+$2.8M
65%