BTB Token Hack

TOTAL LOST $5K
Low Flash Loan Attack

Summarize with AI

Affected Chain 2024 Incident surface
Recovered - No recovery reported
All-Time Rank #1976 By amount stolen
Protocol Type Exploit/Flash Loan Attack Target category

Incident Overview

On November 18, 2024, the BTB token on BNB Smart Chain (BSC) was exploited, leading to a loss of approximately $5,000. The attacker manipulated the BTB-BUSD price using a flash loan and exploited vulnerabilities in the contract's price oracle mechanism.

The attacker converted the 100,000 BUSD loan into 1,263,427 BTB, significantly reducing liquidity and inflating BTB’s price from 0.00379 BUSD to 1.638 BUSD—a 400x increase. Using the manipulated price, they swapped 3,052 BTB for 4,999 BUSD and later redeemed the remaining 1,260,375 BTB for 99,964 BUSD, completing the arbitrage. The exploit leveraged the outdated oracle, which relied solely on PancakeSwap reserves, allowing easy price manipulation.

Exploit tx:

https://bscscan.com/tx/0xfb6df405…6be216

Incident Report

Protocol / Project BTB Token
Date of Incident
Attack Technique Flash Loan Attack
Classification Token
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exploit/Flash Loan Attack
Affected Token BTB
Team Anonymous
Source Code Unverified

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 flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in BTB Token's contract logic - root cause: token
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? Yes — skilled auditors routinely flag Flash Loan Attack vulnerabilities in code review

If you're auditing a protocol with similar architecture to BTB Token, these are the critical security checks that could have prevented this incident (November 2024).

  • Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans Attacks attack class for patterns
  • 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

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next BTB Token

The BTB Token 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