FAPE Honeypot
What happened
FAPE (FAIRAPE) is a BNB Chain token deployed on 8 April 2021 at 0x047115ed…25c8a0. The first transferFrom call made on the token stores its recipient in a variable called newun, and from then on both transfer and transferFrom revert with "please wait" whenever tokens are sent to that address. When the first such call is the PancakeSwap router adding liquidity, newun becomes the liquidity pair, so buys from the pair still work but every sale into the pair fails.
Only the owner can move newun elsewhere with transfernewun. De.Fi's REKT database lists FAIRAPE as an exit scam/honeypot, stating that holders were restricted from selling their tokens.
How it happened
- The constructor credits the full supply of 100,000,000 FAIRAPE (
10000000000000000with 8 decimals) to the deployer, who is alsoowner.newunstarts as the zero address. - On the first
transferFromfrom a non-zero address whilenewun == address(0), the contract setsnewun = to. Adding liquidity through the PancakeSwap router is atransferFrom(owner, pair, amount), so if that is the first such call, the pair becomesnewun. - Every later
transferFromrunsrequire(to != newun, "please wait"), andtransferruns the same check, so neither a router sale nor a direct transfer into the pair can succeed. - Buys are the pair calling
transferto the buyer, whose address is notnewun, so purchases keep working. transfernewun(address _newun)isonlyOwner, so only the owner can pointnewunat another address and reopen sales to the pair.clearCNDAO()lets the owner withdraw any BNB held by the token contract.
Protocol details
Evidence
- report @Token_Sniffer incident report twitter.com
- report De.Fi REKT database listing for FAIRAPE (proof link: Token Sniffer X post 1381346761566916614) twitter.com
- transaction FAPE contract creation transaction bscscan.com
- address FAPE (FAIRAPE) verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x047115ed6cd7f97ce07de663ba4b31a47925c8a0 on BNB Chain repo.sourcify.dev
- analysis BSC-SCAM: Stealthy Liquidity Pool Block on PancakeSwap (Blockchain Security Stories, cryptot3ddybear, 2021-04-11) cryptot3ddybear.gitlab.io
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.