Snowflake Floki Honeypot
What happened
SnowFlake Floki (SFF) was a BNB Chain token that presented itself as a Floki-themed metaverse casino currency. Its contract lets the owner set the buy and sell tax to any value with no upper limit, pause every transfer, and blacklist any address, and the owner is still the deployer, 0x731E5BB9…fBF44C. A sell tax near 100% leaves the seller with almost nothing, and a total above 100% makes every sell revert.
On 28 December 2021 PeckShield flagged the token as a honeypot with selling disabled while buyers kept arriving. De.Fi's REKT database lists about 70,375 USD lost and says the deployer set the sell tax to 95% and removed liquidity several times, and that the project's website and social accounts were taken down.
How it happened
- The constructor mints the whole supply to the deployer, excludes the deployer and the contract from tax, and sets the owner from a constructor argument:
_setOwner(_addr[5]);. The owner today is the deployer. setSellTax(dev, marketing, liquidity, charity)isonlyOwnerand stores the four percentages with no bound. InhandleTax, a sale to the pair takesbaseUnit * sellTaxes[...]for each part, moves that tax from the seller to the contract, and passes onamount -= tax, so the seller's whole amount is still debited.- With the four parts summing to 95, a seller keeps 5% of the tokens they send to the pool. With the sum above 100 the tax exceeds the amount for any sale larger than a few hundred base units, and
amount -= taxunderflows, which reverts the sale, so the token becomes unsellable for everyone who is not excluded. - The taxed tokens are swapped for BNB and paid to the dev, marketing and charity wallets set by the owner through
setTaxWallets, and the liquidity share goes totaxWallets["liquidity"]. - The owner can also stop all transfers with
pause(), andenableBlacklistblocks an address;_transferchecksmsg.sender, the recipient andtx.origin, so a blacklisted holder cannot start any transfer of their own. - PeckShield reported on 28 December 2021 that selling was disabled. De.Fi's listing states the sell tax was set to 95% (0xe8e6680e…f678e5) and liquidity was removed in five transactions.
Protocol details
Evidence
- report PeckShield: @snowflakefloki is a honeypot, sell is disabled twitter.com
- transaction bscscan.com transaction 0x1816…3957 bscscan.com
- transaction bscscan.com transaction 0x371a…fd57 bscscan.com
- transaction bscscan.com transaction 0x3cbb…144a bscscan.com
- transaction bscscan.com transaction 0x555b…f65b bscscan.com
- transaction bscscan.com transaction 0xd3dd…6e04 bscscan.com
- transaction bscscan.com transaction 0xd901…ee15 bscscan.com
- transaction bscscan.com transaction 0xe8e6…78e5 bscscan.com
- address CoinToken (SnowFlake Floki, SFF) verified source code bscscan.com
- address bscscan.com address 0x731e…f44c bscscan.com
- address bscscan.com address 0x78cd…1092 bscscan.com
- analysis Sourcify match for 0x78cd0ea1108a146dc493b086170e2d9771b67570 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.