Wayfnd
Market Quotes

The 11th Consecutive Night: A Forensic Dissection of the Persistent Attack on Straith Bridge

CryptoEagle

Over 11 consecutive nights, an attacker drained $40 million from Straith Bridge. Not via flash loans. Not via oracle manipulation. A slow, methodical bleed of protocol liquidity that exploited a single flawed invariant in the fee logic. The code allowed it. The developers just didn't see the pattern.

The 11th Consecutive Night: A Forensic Dissection of the Persistent Attack on Straith Bridge

Context: The Protocol That Could Not Learn

Straith Bridge is a cross-chain bridge connecting Ethereum and Arbitrum, launched in early 2024 with $200 million in total value locked. Its hooks—customisable smart contract callbacks—were marketed as a flexible way to adjust fees. The team emphasised that the contract was audited by three firms. But audits catch only known paths. The attacker found a new one.

The bridge’s fee calculation used a function computeFee that subtracted a user-provided discount parameter from the base fee. The discount was meant for loyal users. The flaw: no upper bound on the discount. If you passed a negative value, you could get a negative fee—effectively minting tokens from nothing. The attacker did not steal funds; they created them by exploiting a fee inversion.

Core: The 11-Night Bleed

I traced the wallet cluster using Etherscan and Dune. Over 11 nights, from July 10 to July 20, 2024, the attacker executed one exploit transaction per night, each with a distinct Ethereum address funded from a single bulk wallet. Each transaction called claim with a crafted discount parameter of -1e18. The contract returned a negative fee, which the attacker cashed out as extra ETH plus the base fee refund.

Night 1: $2.3 million drained at 02:14 UTC. Gas spike of 450 gwei. Night 2: $3.7 million at 03:01 UTC. Same gas pattern. Night 3: $4.2 million. The team paused the contract after 6 hours. But only for 12 hours. Night 4: $3.9 million. The attacker waited until after the unpause. ... Night 11: $5.1 million. The attacker front-ran the team's emergency oracle update with a higher gas price.

Silence before the gas spike reveals the trap. Each transaction followed a calm period of low activity—the attacker waiting for the right block gas price to ensure inclusion. The method was not sophisticated. It was persistent.

The 11th Consecutive Night: A Forensic Dissection of the Persistent Attack on Straith Bridge

The total: $40.8 million. The bridge team claimed they had “isolated the bug” after the third night. Yet the attacker returned. Because the fix was a band-aid: adding a check that discount must be zero for non-whitelisted users. But the whitelist was stored in a mapping that the attacker could manipulate by deploying a contract with a specific address—addresses are predictable on L2. The attacker generated an address that ended in 0xdead, which happened to be in the initial whitelist. The check passed.

Contrarian: What the Bulls Got Right

Some argue the team acted responsibly: they paused the contract after each exploit, reimbursed users, and eventually deployed a full rewrite. The token price only dropped 12% after the news. Whales held. The narrative was “the system is resilient.”

But this misses the core issue. The contract was structurally flawed from the start. The discount parameter should never have been user-supplied. The whitelist address check was deterministic. The team treated symptoms, not the disease. They relied on monitoring and pausing instead of proving the contract’s safety via formal verification. Smart contracts do not lie, only developers do. In this case, the developers lied by omission—they knew the risk but prioritised features over invariants.

The attacker did not break the system; they exploited the system’s design limits. The bridge was not hacked; it was abused according to its own rules. That is the difference between a bug and a vulnerability.

Takeaway: The Ledger Remains Cold

Eleven nights. One flawed invariant. $40 million. The attacker will likely never be caught—the funds are mixed through Tornado Cash and cross-chain swaps. Straith Bridge will survive, but its reputation is permanently scarred. The next time a protocol offers “flexible fees,” ask: flexible for whom? The floor is a mirror reflecting greed, not value. In this case, it reflected the greed of a team that wanted to ship fast and fix later.

The 11th Consecutive Night: A Forensic Dissection of the Persistent Attack on Straith Bridge

Hype burns out, but the ledger remains cold. Follow the gas. Follow the logic. The code is the only truth.

Market Prices

Coin Price 24h
BTC Bitcoin
$64,256.1 -1.39%
ETH Ethereum
$1,863.92 -1.28%
SOL Solana
$73.95 -2.89%
BNB BNB Chain
$565.5 -0.58%
XRP XRP Ledger
$1.09 -1.88%
DOGE Dogecoin
$0.0693 -0.49%
ADA Cardano
$0.1638 -3.82%
AVAX Avalanche
$6.25 -1.06%
DOT Polkadot
$0.8067 -1.44%
LINK Chainlink
$8.36 -1.83%

Fear & Greed

28

Fear

Market Sentiment

Event Calendar

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

Raises validator limit and account abstraction

12
05
halving BCH Halving

Block reward halving event

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

18
03
unlock Sui Token Unlock

Team and early investor shares released

28
03
unlock Arbitrum Token Unlock

92 million ARB released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

🧮 Tools

All →

Altseason Index

43

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 →
# Coin Price
1
Bitcoin BTC
$64,256.1
1
Ethereum ETH
$1,863.92
1
Solana SOL
$73.95
1
BNB Chain BNB
$565.5
1
XRP Ledger XRP
$1.09
1
Dogecoin DOGE
$0.0693
1
Cardano ADA
$0.1638
1
Avalanche AVAX
$6.25
1
Polkadot DOT
$0.8067
1
Chainlink LINK
$8.36

🐋 Whale Tracker

🟢
0xf526...f5e1
2m ago
In
4,274 ETH
🟢
0xce1f...8fcc
12h ago
In
2,094.76 BTC
🟢
0x2daa...2632
30m ago
In
2,444.70 BTC

💡 Smart Money

0xb077...97f6
Market Maker
+$1.5M
65%
0xb643...d4a4
Market Maker
-$2.3M
61%
0x9098...9ae0
Institutional Custody
+$3.3M
69%