Gecko Token Honeypot
What happened
Gecko Token (GECKO) is an Ethereum token deployed on 22 April 2021 at 0xffea0019…abf543 by 0x1e410954…5d6DAD; Etherscan labels the contract Fake_Phishing220946. Its transferFrom saves the recipient of the first transferFrom call as newun; when liquidity is added through a router, that recipient is the pool. After that, every transfer or transferFrom into newun reverts with "please wait", so buys out of the pool work but no holder can sell into it.
Only the owner can change newun, through transfernewun, and removing liquidity sends tokens out of the pool, not into it, so it stays open. 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 GECKO at 18 decimals, to the owner.
transferFrombegins withif(from != address(0) && newun == address(0)) newun = to;. When a router's add-liquidity call moves the owner's tokens into the pool withtransferFrom, the pool becomesnewun.- From then on
transferFromrunsrequire(to != newun, "please wait"), andtransferruns the same check. A router sale sends the seller's tokens into the pool, so it reverts; buys send tokens out of the pool and pass. transfernewun(address _newun)isonlyOwner, so only the owner can pointnewunelsewhere and reopen sales.- Whoever holds the pool's LP tokens can remove liquidity at any time, because the pool 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 incident report twitter.com
- report Token Sniffer post 1381346761566916614 (seed link) twitter.com
- transaction Gecko Token contract creation transaction on Etherscan etherscan.io
- address Gecko Token (GECKO) verified contract code on Etherscan etherscan.io
- analysis Sourcify match for 0xffea00198be8e644e114dc57d3f1ca062dabf543 on Ethereum repo.sourcify.dev
- analysis BSC-SCAM: Stealthy Liquidity Pool Block on PancakeSwap (cryptot3ddybear, 11 April 2021) cryptot3ddybear.gitlab.io
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.