SpaceX Token Honeypot
What happened
SpaceX Token (SpaceXToken) is a BNB Chain token deployed on 14 June 2021 at 0x3076e9d2…a1d58f by 0x30EA6880…184A77. Its transferFrom saves the recipient of the first transferFrom call as newun; if liquidity is added through the PancakeSwap router, that recipient is the pair. After that, every transfer or transferFrom into newun reverts with "please wait", so buys out of the pair work but no holder can sell into it.
Only the owner can change newun, through transfernewun. Removing liquidity sends tokens out of the pair, not into it, so whichever wallet added liquidity and holds the LP tokens could still withdraw it. The contract has no renounceOwnership.
De.Fi's REKT database lists the token as an exit scam/honeypot.
How it happened
- The constructor mints the whole supply, 1,000,000,000,000,000 tokens at 9 decimals, to the owner.
transferFrombegins withif(from != address(0) && newun == address(0)) newun = to;. The router'saddLiquidityETHmoves tokens into the pair withtransferFrom, so a first liquidity add would setnewunto the pair.- From then on
transferFromrunsrequire(to != newun, "please wait"), andtransferruns the same check. A router sale sends the seller's tokens into the pair, so it reverts; buys send tokens out of the pair and pass. transfernewun(address _newun)isonlyOwner, so only the owner can pointnewunelsewhere and reopen sales.- The wallet that added liquidity receives the LP tokens and could remove liquidity at any time, because the pair paying out tokens is a transfer from
newun, not to it. The blog post De.Fi cites describes this template's exit as pulling liquidity after one-way buying.
Protocol details
Evidence
- report Token Sniffer post 1381346761566916614 (seed link) twitter.com
- transaction SpaceX Token contract creation transaction bscscan.com
- address SpaceX Token (SpaceXToken) verified contract code on BscScan bscscan.com
- analysis BSC-SCAM: Stealthy Liquidity Pool Block on PancakeSwap (cryptot3ddybear, 11 April 2021) cryptot3ddybear.gitlab.io
- analysis Sourcify match for 0x3076e9d22d44d12950f6c1f3a33c530b2fa1d58f 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.