According to blockchain security firm PeckShield, a security breach on the BNB chain resulted in a loss of approximately $35,041 from the DTXT/USDT liquidity pool. The incident exploited a vulnerability in the DTXT token contract, emphasizing ongoing risks within decentralized finance (DeFi) protocols, particularly those using complex smart contract logic.
How the exploit worked
PeckShield’s analysis shows that the main problem was a faulty mechanism in the DTXT contract. The contract attempted to decide whether a transaction was a swap or liquidity addition by comparing its own USDT balance with the amount deposited into the trading pair. The attacker sent a small amount of USDT directly to the trading pair’s contract address. This trick resulted in a large sell order for DTXT tokens being incorrectly identified as adding liquidity, bypassing the transaction fees normally applied to a sell order.
To carry out the attack, the exploiter took out a flash loan of 1,077,400 USDT from the Moolah lending protocol. This capital allowed them to adjust the state of the pool and make a profitable trade, yielding approximately 35,000 USDT. Flash loans, which allow borrowing without collateral as long as the funds are returned in a single block of transaction, are common tools in DeFi exploits.
Implications for DeFi Security
This incident is a technical case study in how subtle logical errors in smart contracts can be weaponized. The vulnerability did not lie in the basic business logic of the decentralized exchange but in the custom code of the DTXT token. This reminds developers that custom token integrations, especially those with non-standard logic for fees or balance checks, require thorough auditing and testing.
For liquidity providers in the DTXT/USDT pool, this event directly caused a loss of funds. Fleeting loss is not the only risk in DeFi; The risk associated with smart contracts is still present. Users should check the audit history and code quality of token projects before providing liquidity. The use of flash loans also shows that protocols must design systems resilient to capital-intensive manipulation.
What this means for the wider community
The $35,000 DTXT/USDT pool exploit on BNB Chain is a clear example of how a single faulty logic line in a token contract can result in significant financial loss. Although the amount is relatively small compared to multi-million dollar hacks, the technical method is informative for the broader DeFi community. As PeckShield continues to monitor, this incident adds to the list of attacks that exploit gaps between intended contract behavior and actual execution.
![]()



