Biswap V3 Pool Exploited for $51,000 Through Liquidity Accounting Flaw in Burn Function

DeFi securitysmart contract auditsliquidity managementaccounting flawKYT

Biswap V3, a decentralized exchange on BNB Chain, suffered a smart contract security incident on November 24, 2026. Security firm SlowMist reported that an old liquidity pool was exploited through an accounting flaw in its burn function. The attacker repeatedly removed liquidity positions, reducing the pool's actual assets while leaving incorrect liquidity records in the contract. Those phantom records were subsequently used in a swap to extract approximately $51,000. The incident shows how seemingly minor logic and rounding errors can undermine the accounting integrity of a liquidity pool.

Where Was the Biswap V3 Vulnerability?

According to SlowMist, the issue affected the burn function in an older BiswapPoolV3 contract. When liquidity is removed, the contract calculates the assets available across different price ranges and updates the corresponding active liquidity records.

Under a specific set of conditions, both withdrawal components at the current price point evaluated to zero. One component could also be rounded down to zero due to precision handling. In this situation, the contract failed to reduce active liquidity correctly. The actual liquidity had been removed, but the pool continued to record liquidity that no longer existed.

How Did the Attacker Exploit the Incorrect Records?

The attacker repeatedly called the burn function, removing the actual liquidity while leaving the contract's internal liquidity state improperly updated. The resulting phantom liquidity records were then used in a subsequent transaction to extract assets from the pool.

SlowMist estimated the loss at approximately $51,000. This was not a conventional private-key compromise or flash-loan price manipulation. Instead, the incident arose from a mismatch between contract state updates and actual asset movements. For concentrated-liquidity protocols, price ranges, precision handling and position-removal logic can all affect fund security.

How Can DeFi Protocols Prevent Accounting Logic Vulnerabilities?

Smart contract audits should cover boundary values, zero-value conditions, rounding behavior and repeated function calls. Functions that remove liquidity, burn shares or settle assets must ensure that every state change matches the corresponding change in actual holdings. Fuzz testing and invariant testing can help identify failures under unusual combinations of inputs.

Protocols should also monitor discrepancies between recorded liquidity and contract balances. KYT systems can trace the subsequent conversion and movement of exploited funds, but preventing this class of incident primarily requires stronger contract reviews and state-consistency checks. The Biswap incident demonstrates that small accounting defects can accumulate into real financial losses when repeatedly exploited.

About Trustformer

Trustformer is a leading blockchain security and compliance technology company specializing in providing professional risk management and compliance solutions for the global cryptocurrency ecosystem. We have developed the cutting-edge Trustformer KYT (Know Your Transaction) platform, which integrates artificial intelligence, blockchain analytics, and regulatory technology to deliver comprehensive, accurate real-time transaction monitoring, risk assessment, and suspicious activity reporting services.

With deep industry expertise and technological innovation, Trustformer is dedicated to helping Virtual Asset Service Providers (VASPs), crypto financial institutions, and investors build a safer and more transparent crypto financial environment. We believe that driving compliance and trust through technology can contribute to the thriving growth of the global digital economy.