TrustPad Rug Pull

Reported loss $56K
Rugpull

What happened

This TrustPad was a copycat BEP20 token on BNB Chain that borrowed the name of the TrustPad launchpad. Its verified contract keeps no balances at all: balanceOf and every transfer are handed to a separate "accounting" contract whose address the owner set and whose code is not part of the verified source. That hidden contract decides what each address holds and whether any transfer succeeds, so it can let buyers in, refuse their sells and credit the deployer with any balance.

PeckShield reported that the deployer, 0x2Ca8Ec9d…A3b4fd, swapped about 100.1 quintillion TPAD, far more than the 1,000,000 TPAD reported as total supply, for 1,015.33 WBNB (about $240,000), and TPAD fell 100%. De.Fi's listing describes this as a liquidity removal worth $240,006, with the funds spread across several addresses, and puts the net loss at $56,329 (390.58 WBNB).

How it happened

  1. The token contract stores no balances: function balanceOf(address who) view public returns (uint256) { return Accounting(accounting).balanceOf(who); }.
  2. Every transfer and transferFrom emits a Transfer event and then returns whatever Accounting(accounting).doTransfer(msg.sender, from, to, amount) decides, passing the caller so the ledger can treat the router, the pair and each wallet differently. The constructor likewise emits a full-supply Transfer without recording any balance.
  3. The owner points the token at the ledger with setAccountingAddress, guarded only by require(msg.sender == owner). The ledger's code is not in the verified source, so buyers could not see the rules governing their balances or sells.
  4. renounceOwnership only freezes the ledger address; it places no limits on what the ledger contract does. The owner now reads as the zero address, which only renounceOwnership can set.
  5. PeckShield reported that the deployer swapped 100,100,100,100,100,100,100.1001 TPAD for 1,015.33 WBNB (about $240,000). The token's own _totalSupply is 1,000,000 TPAD, so a balance that large could only have come from the external ledger, the sole source of balances.

Protocol details

Classification Token
Protocol Type Exit Scam/Rugpull
Affected asset / contract TPAD
Protocol links Website @trustPad

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.