Pudgy Token Honeypot
What happened
Pudgy Token (PUDGY) is a BNB Chain token deployed on 25 April 2021 at 0xca1cd767…c0c28a. Its transferFrom stores the recipient of the first delegated transfer in a variable called newun, and both transfer and transferFrom then revert with "please wait" for any transfer to that address. When liquidity is added through the PancakeSwap router, that first transferFrom sends tokens to the new pair, so the pair becomes newun: holders can buy, because the pair sends tokens out, but any sale back into the pair fails.
The owner can point newun at another address with transfernewun, but cannot switch the block off: setting it to the zero address only re-arms the capture, so the recipient of the next delegated transfer becomes the new blocked address. De.Fi's REKT database lists Pudgy Token as an exit scam/honeypot, stating that the contract owner could disable the transfer function and so stop users from selling; its proof links describe the same newun block on earlier tokens.
How it happened
- The constructor mints the whole supply of 100,000,000,000 PUDGY (0 decimals) to the deployer, who is also
owner. - On the first
transferFromwith a non-zerofrom,newunis still the zero address, so the contract setsnewun = toand lets the transfer through. A router liquidity add performs this call with the pair asto. - From then on,
transferFromrunsrequire(to != newun, "please wait"), so a router sale (transferFrom(holder, pair, amount)) reverts. transferhas the same check, so sending tokens straight to the pair also fails. Buys are unaffected because the pair transfers tokens to the buyer.- Only the owner can change the blocked address through
transfernewun(address). The contract has no renounce function; ownership can only move throughtransferOwnershipandacceptOwnership. 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 PUDGY (proof links: Token Sniffer tweet 1381346761566916614 and S4) twitter.com
- transaction Pudgy Token contract creation transaction bscscan.com
- address Pudgy Token verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0xca1cd767b0f828334bcfcc413d2baa73f0c0c28a on BNB Chain repo.sourcify.dev
- analysis BSC-SCAM: Stealthy Liquidity Pool Block on PancakeSwap (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.