BYToken

Funds lost
$87K
Attack type
Flash Loan Attack
Network
BNB Chain
Category
Token

Summary

On June 4, 2026, the BYToken contract on the BNB Chain was exploited for approximately $87,400 (146.6 BNB) via a flash-loan price manipulation attack.

Details of the Exploit

The attack capitalized on an unprivileged, public function named triggerAutoBurn() inside the BYToken contract. The exploiter initiated the attack by securing a massive flash loan of roughly 422,000 WBNB from Moolah (Lista DAO). Using a portion of these funds, they executed Initial swaps to set up the pool conditions, then called the public triggerAutoBurn() function.

This function was designed to reduce token supply but lacked proper caller access controls, allowing the attacker to force a massive burn of ~67.8 quadrillion BY tokens directly from the BY/WBNB PancakeSwap pair. Following the burn, the contract triggered a pool sync(), which recalculated the token reserves down to a near-zero level while keeping the WBNB amount high. This extreme imbalance massively skewed the token price formula ($x \cdot y = k$).

The attacker exploited this artificial premium by selling a minimal amount of BY back into the pool, draining the remaining WBNB liquidity before repaying the flash loan.

Source: De.Fi REKT Database. Data as of November 19, 2026.

Related incidents

Learn more