BiSwap Hack

TOTAL LOST $865K
Low Other

Summarize with AI

Affected Chain 2023 Incident surface
Recovered - No recovery reported
All-Time Rank #857 By amount stolen
Protocol Type Cross Chain Bridge Target category

Incident Overview

BiSwap, a DEX on Binance Smart Chain, was exploited, resulting in the loss of 865,000 $USD.

BiSwap is a DEX, running on BSC. The protocol was exploited via a parameter validation issue. In an intricate exploit, BiSwap's system failed to verify the validity of tokens and their pair parameters, which was taken advantage of by an attacker. By forging token0, token1, and a pair, the attacker was able to manipulate the migration function of the migration contract, leading to a loss of users' burned assets.

In the first step, using a valid pair and fake tokens, the attacker called the migration function and added the users' burned assets into the contract, subsequently adding two fake tokens to the LP pool. In the second step, using real tokens and a fake LP, they called the migration function again, adding the assets left in the contract to their own LP. As a result, users' assets were replaced with fake LP assets, while real LP assets were added to the attacker's LP.

The stolen funds of 865,000 $USD were transferred through TornadoCash.

Attacker Addresses:

https://bscscan.com/address/0xe3aeede5…df30f6

https://bscscan.com/address/0xA1E31B29…9B1976

Malicious Contracts:

https://bscscan.com/address/0x2a825a17…c9b833

https://bscscan.com/address/0x839b0afd…9c1dbf

Malicious Transaction Example:

https://bscscan.com/tx/0xa6cc4b18…7d7a6c

Incident Report

Protocol / Project BiSwap
Date of Incident
Attack Technique Other
Classification Exchange (DEX)

Protocol Information

Protocol Type Cross Chain Bridge
Affected Token BSW
Official Website biswap.org/
Protocol Twitter/X @Biswap_Dex
Team Anonymous
Source Code Verified On-Chain

Market Context at Time of Hack

Token Categories
Collectibles & NFTs Decentralized Exchange (DEX) Token DeFi Gaming Staking Yield Farming AMM DEX

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 Deep understanding of other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in BiSwap's contract logic - root cause: exchange (dex)
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
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 Other audit checklist and test coverage

If you're auditing a protocol with similar architecture to BiSwap, these are the critical security checks that could have prevented this incident (June 2023).

  • Verify all logic paths related to Other are guarded by proper access controls and input validation
  • 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

Bug Bounty BiSwap Details

Sources & References

Learn to Prevent the Next BiSwap

The BiSwap 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