On November 26, 2026, an attacker drained the SVT/WBNB PancakeSwap V2 pool on BNB Chain. Starting with a ~112.5 WBNB flash loan from Moolah, the attacker repeatedly triggered SVT's burn hook across roughly 185 Burn–Sync–Skim iterations—crushing the pool's SVT reserves from ~35,985 down to 128.50 and walking away with ~102.44 WBNB (~$56,700) in profit.


This wasn't a textbook flash-loan price manipulation. Instead, the exploit chained an interaction flaw between SVT's custom transfer hook and PancakeSwap V2's reserve accounting: each burn shaved tokens straight off the LP's balance, sync() locked in the deflated reserve figure, and skim() let the attacker sweep up the incoming tokens that landed afterward.


On-Chain References
  • Network: BNB Chain
  • Exploit Tx: 0x5874209ca88a6279a8f6251571f8645405032fc73ad8cb6f532506f0a3234f83
  • SVT Token: 0x8346de321d8a9984d047dbef7110a133f631a074
  • SVT/WBNB Pair: 0x696827a935346a7448f2d6fef502f2e48be54962


Below is ScaleBit's breakdown of the on-chain execution and contract mechanics behind the attack, covering the root cause, the Router-address bypass, and the Burn–Sync–Skim drain loop.

1. Root Cause: A Transfer Hook That Directly Burns LP Balances


On sells, SVT invokes _takeFeeAndBurn(), which calls _burnFromPool():



The bug is straightforward: the burn debits the PancakeSwap Pair's SVT balance instead of the seller's. Calling sync() immediately afterward forces the Pair to overwrite its cached reserves with that newly reduced balance.


Worse, this happens mid-transfer—before the sell leg finishes crediting the Pair. Once the remaining SVT lands in the Pair, the contract's actual balance exceeds its cached reserves, allowing the attacker to extract the delta via skim().



2. Attack Vector: Spoofing Non-Buy Transfers via the Router

SVT's buy/sell detection relied on a naive address check:



When acquiring SVT, the attacker set the PancakeSwap Router as the recipient. Because to == router, the transfer slipped past isBuy, bypassing both the Phase 1 holding requirement and the _wbnbAboveReserve guard.


From there, the attacker pulled the SVT out of the Router via its fee-on-transfer liquidity-removal path, staging the token inventory needed for the main loop. Using the Router as an intermediary mule neutralized SVT's buy-side restrictions entirely.

3. Attack Flow: End-to-End Execution


The exploit unfolded in three phases:
  1. Inventory Staging: Borrow ~112.5 WBNB via flash loan, buy ~39,100 SVT with the Router as recipient, and extract the tokens to bypass buy checks.
  2. Reserve Depletion: Run ~185 Burn–Sync–Skim cycles, driving the pool's SVT reserves down from ~35,985 to ~128.50.
  3. WBNB Extraction: Dump ~37,991 SVT into the skewed pool for ~214.81 WBNB, repay the flash loan, and pocket ~102.44 WBNB.

4. Reserve Manipulation: Modeling the Drain

Each iteration shaved 3% off the Pair's SVT reserves:
Rn=R0(1−0.03)n
Plugging in the observed numbers:
R185=35985.21×0.97185≈128.50
After 185 rounds, just ~128.50 SVT remained in the pool.
Under PancakeSwap V2's constant-product formula:
x×y=k
With SVT reserves gutted while WBNB reserves sat untouched, the pool's pricing curve skewed dramatically. The attacker's final swap cashed in on that artificial imbalance to drain almost all remaining WBNB.

5. Security Takeaways & Mitigations

This exploit comes down to three avoidable design mistakes:
  1. Never burn directly from an LP pool. Deflationary taxes should debit the sender or a dedicated treasury—never an AMM Pair's live balance.
  2. Never expose unconstrained sync() calls inside transfer hooks. Token transfers shouldn't be able to arbitrarily force-update AMM reserve state mid-execution.
  3. Don't rely on Router address exclusions to classify swaps. Guardrails should validate full call/execution paths rather than assuming to == router implies a benign operation.


For auditors, this also underscores the need for stateful fuzzing and mainnet-fork testing across multi-step sequences (transfer → burn → sync → skim) to ensure invariant alignment between actual LP token balances and stored reserves.

Conclusion

The SVT incident wasn't a flaw in PancakeSwap V2's sync() or skim()—it was a composability bug born from coupling a pool-burning transfer hook with AMM reserve accounting. Letting an external transfer mutate LP balances and immediately call sync() gave the attacker a deterministic lever to evaporate SVT reserves and extract WBNB.


In DeFi security, isolated function correctness is never enough; cross-protocol state transitions are where subtle exploits live.


ScaleBit continues to track composability risks across EVM smart contracts, DeFi protocols, AMM designs, and cross-chain infrastructure. As the EVM security arm of BitsLab, ScaleBit provides smart contract audits, penetration testing, and formal verification to help Web3 teams ship resilient code.