BYToken Hack

Reported loss $89K
BNB Chain
Flash Loan Attack

What happened

On June 4, 2026, BYToken's BY/WBNB liquidity pool on BSC lost about 146.60 WBNB (approximately $88,550) after its public auto-burn path was used to distort the pair's reserves.

Technical root cause

BYToken exposed triggerAutoBurn() without an access-control restriction. When its own balance was empty, the reachable path could burn BY from the AMM pair and call sync(), allowing the pair's reserve ratio to be manipulated.

How it happened

  1. The attacker obtained temporary BY liquidity from an on-chain flash-loan vault, shaped the BY/WBNB reserves, then called the unrestricted auto-burn path.
  2. The burn and sync() left the pool with a severely distorted reserve ratio, after which swaps drained its WBNB liquidity.

Protocol details

Classification Token
Protocol Type Exploit/Flash Loan Attack

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.