GO Honeypot

Reported loss Not disclosed
BNB Chain
Honeypot

What happened

De.Fi's REKT database lists GO on BNB Smart Chain as an exit scam/honeypot, noting that the contract owner could disable the transfer function and so restrict users from selling their tokens. The verified source shows how: a newun address is recorded on the first transferFrom call, and every later transfer or transferFrom to that address reverts with "please wait". If newun is the liquidity pair, holders can receive tokens from it but cannot send tokens back to it, so swaps that sell the token fail.

The owner can also call transfernewun to change the blocked address, and clearCNDAO sends any BNB held by the contract to the owner.

How it happened

  1. The token is deployed with newun unset (the zero address) and the whole supply credited to the owner: balances[owner] = _totalSupply;.
  2. The first transferFrom where from is non-zero while newun is still unset records the recipient: if(from != address(0) && newun == address(0)) newun = to;. A router moving tokens into a new liquidity pair during pool creation would be such a call, which would make the pair the blocked address. The code allows this; the pool address itself was not checked against a transaction.
  3. After that, every later transferFrom takes the other branch: else require(to != newun, "please wait");. A sell through a router moves tokens to the pair with transferFrom, so it reverts.
  4. Direct transfers are blocked the same way: require(to != newun, "please wait"); in transfer.
  5. Buys are not affected, because tokens leave the pair as the from side and the check only looks at the recipient.
  6. The owner keeps control of the switch through function transfernewun(address _newun) public onlyOwner { newun = _newun; }. Setting it to the zero address re-arms the capture on the next transferFrom; pointing it at an unused address would lift the block.
  7. The listing records no loss amount, so the size of the trapped holdings is not established here.

Protocol details

Classification Token
Protocol Type Exit Scam/Honeypot
Affected asset / contract GO

Build your security review skills

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