Koshka Miu Honeypot
What happened
Koshka Miu (Koshka) is a BNB Chain token deployed on 28 May 2021 at 0x885085a7…e0c929 by 0x5FC0DdB3…600DA7. 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 whoever 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 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.- Whoever added liquidity holds 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 Koshka Miu contract creation transaction bscscan.com
- address Koshka Miu (Koshka) 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 0x885085a72279585bb7b01ae49c065714c5e0c929 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.