B² Network Hack

TOTAL LOST $3.8M
Medium Access Control

Summarize with AI

Affected Chain 2026 Incident surface
Recovered - No recovery reported
All-Time Rank #498 By amount stolen
Auditors 1 Prior security audit

Incident Overview

On July 23, 2026, Bitcoin Layer-2 protocol B² Network suffered a security incident on BNB Chain targeting its B2 token staking service, resulting in the unauthorized extraction of approximately 8.59 million B2 tokens (valued at ~$3.86 million).

The exploit was caused by a compromise of the administrative upgrade authority governing the upgradeable proxy contract for B² Network's staking service. An address (0x35fE...b287d) that had granted itself privileged admin permissions over a year prior (May 2025) executed an upgradeToAndCall function call on the live staking proxy contract. This replaced the legitimate contract implementation with a malicious logic contract (0x0B875E...C9DCa).

Six minutes after the proxy upgrade, the attacker invoked draining functions through the newly deployed logic, extracting ~8.59 million B2 tokens across nine batch calls within 45 minutes. The stolen B2 tokens were swapped on-chain for 5,409 WBNB, converted to 1,128 ETH, and bridged out of BNB Chain via Near Intents.

Malicious Implementation Contract: 0x0B875E23…cC9DCa

Upgrade Transaction: 0x2069714b…47d769

Incident Report

Protocol / Project B² Network
Date of Incident
Attack Technique Access Control
Classification Other

Protocol Information

Protocol Type CDP
Official Website www.bsquared.network/
Protocol Twitter/X @BSquaredNetwork
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Ethereum Ecosystem BNB Chain Ecosystem

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Operational-security tradecraft (phishing, malware, leaked seed phrases, or insider access) to obtain treasury signing authority
Capital Required Minimal capital - only enough to cover gas while draining the compromised accounts
On-Chain Access Valid signing authority over the compromised wallets / multisig signers, allowing direct transfer of funds or stake authorization
Target Reconnaissance Identification of B² Network's high-value treasury accounts and the authority / multisig structure controlling them
Execution Speed Speed to drain the compromised accounts before the team detects the breach and revokes signing authority or freezes the assets
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Likely — with a thorough Access Control audit checklist and test coverage
Audited by Audit Report 1 — still lost $3.8M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to B² Network, these are the critical security checks that could have prevented this incident (July 2026).

  • Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Access Control Attacks examples →

Sources & References

Learn to Prevent the Next B² Network

The B² Network hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial