BitcoinWorld
DTXT/USDT Pair on BNB Chain Exploited for $35,000 in Smart Contract Attack
A security breach on the BNB Chain has resulted in the loss of approximately $35,041 from the DTXT/USDT liquidity pool, according to blockchain security firm PeckShield. The incident, which targeted a vulnerability in the DTXT token contract, highlights ongoing risks within decentralized finance (DeFi) protocols, particularly those involving complex smart contract logic.
PeckShield’s analysis reveals that the core of the exploit lay in a flawed mechanism within the DTXT contract. The contract determined the type of transaction—whether a swap or a liquidity addition—by comparing its own USDT balance with the amount of USDT deposited into the trading pair. The attacker exploited this by sending a small amount of USDT directly to the trading pair’s contract address. This manipulation caused a large sell order of DTXT tokens to be misidentified as a liquidity addition, effectively bypassing the transaction fee logic that would normally apply to a sell order.
To execute the attack, the exploiter took out a flash loan of 1,077,400 USDT from the Moolah lending protocol. This capital was used to manipulate the pool’s state and execute the profitable trade, netting a profit of roughly 35,000 USDT. Flash loans, which allow borrowing without collateral provided the funds are returned within a single transaction block, are a common tool in DeFi exploits.
This incident serves as a technical case study in how subtle logical errors in smart contracts can be weaponized. The vulnerability was not in the core trading logic of the decentralized exchange itself, but in the DTXT token’s custom contract code. This underscores a critical point for developers: custom token integrations, especially those with non-standard logic for handling fees or balance checks, require rigorous auditing and testing.
For liquidity providers in the DTXT/USDT pool, this event directly resulted in a loss of funds. It is a stark reminder that impermanent loss is not the only risk in DeFi; smart contract risk is ever-present. Users are advised to verify the audit history and code quality of any token project before providing liquidity. The use of flash loans in this attack also reinforces the need for protocols to design systems that are resilient to such capital-intensive manipulation.
The $35,000 exploit of the DTXT/USDT pool on BNB Chain is a clear example of how a single flawed line of logic in a token contract can lead to significant financial loss. While the sum is relatively small compared to multi-million dollar hacks, the technical method used is instructive for the broader DeFi community. As PeckShield continues to monitor the situation, the incident adds to the growing list of attacks that exploit the gap between intended contract behavior and actual execution.
Q1: What exactly was the vulnerability in the DTXT contract?
The contract used a flawed method to determine transaction types by comparing its USDT balance with the pool’s deposits. This allowed an attacker to trick the system into treating a large sell order as a liquidity addition, bypassing sell fees.
Q2: How did the attacker profit from this exploit?
The attacker used a flash loan of over 1 million USDT from Moolah to manipulate the pool’s state. By exploiting the logic flaw, they executed a trade that netted them a profit of approximately 35,000 USDT.
Q3: Are funds safe on BNB Chain after this incident?
This was a specific attack on the DTXT token contract, not a vulnerability in the BNB Chain itself. The chain remains secure, but users should exercise caution with any token that has custom or unaudited smart contract logic.
This post DTXT/USDT Pair on BNB Chain Exploited for $35,000 in Smart Contract Attack first appeared on BitcoinWorld.


