NEOBUX Honeypot
What happened
NEOBUX (NBX) was a BNB Chain token whose transferFrom function stores the first recipient it ever sees in a variable called newun and then rejects every later transfer to that address with the error "please wait". The first transferFrom is normally the router moving tokens into the PancakeSwap pool when liquidity is added, so the pool becomes the blocked address: buyers can receive NBX from the pool, but holders cannot send it back into the pool to sell. The owner can also repoint newun to any address through transfernewun.
De.Fi's REKT database lists NEOBUX as an exit scam / honeypot dated 2021-03-29, the day the contract was deployed.
How it happened
- The deployer receives the entire supply at deployment (
balances[owner] = _totalSupply;), andnewunstarts empty. - The first
transferFromcall findsnewununset and stores its recipient:if(from != address(0) && newun == address(0)) newun = to;. When liquidity is added through the router, that recipient is the PancakeSwap pair. - From then on, both
transferandtransferFromrunrequire(to != newun, "please wait");. A sell moves NBX from the holder into the pair, so it reverts. A buy moves NBX out of the pair to the buyer, so it succeeds. - The owner can change the blocked address at any time with
transfernewun(address _newun) public onlyOwner. The contract has no renounce function; ownership can only pass throughtransferOwnershipandacceptOwnership, and the deployer is still the owner. - Nothing restricts tokens leaving the pair, so whoever holds the pool's LP tokens can remove liquidity while other holders cannot sell. The sources reviewed do not show whether or when that happened for NEOBUX.
Protocol details
Evidence
- report Token Sniffer post cited by De.Fi as proof twitter.com
- address NEOBUX verified source code at 0x255c19fe6883885ec963cb62737bc18724841b08 bscscan.com
- analysis BSC-SCAM: Stealthy Liquidity Pool Block on PancakeSwap cryptot3ddybear.gitlab.io
- analysis Sourcify match for 0x255c19fe6883885ec963cb62737bc18724841b08 on BNB Chain repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.