MoonAkita Inu Honeypot
What happened
MoonAkita Inu (MNAKITA) is a BNB Chain token deployed on 27 March 2021 at 0x5b7a52b3…477f17 by 0x976B3623…476d41. Its transferFrom requires allow[_from] == true, and at deployment only the deployer is on that list. PancakeSwap sales move the seller's tokens with transferFrom, so they revert for everyone else, while buys work because the pair pays out through transfer, which has no such check.
The admin functions are not tied to the stored owner: onlyOwner compares the caller with a hard-coded address, 0xbd486897…439192. That address can add or remove sellers with addAllow and set any wallet's balance to any value with mint, and changing owner does not remove those powers, despite the header's promise that ownership would be renounced. De.Fi's REKT database lists the token as an exit scam/honeypot.
How it happened
- The constructor credits the whole supply to the deployer and sets
allow[msg.sender] = true, so the deployer is the only address allowed as atransferFromsource. transferFromchecksrequire(allow[_from] == true);before moving tokens. The router sells by callingtransferFrom(holder, pair, amount), so every sale from a holder outside the list reverts.transferhas noallowcheck, so the pair can send tokens to buyers and buys succeed.modifier onlyOwner() {require(msg.sender == address(1080614020421183795110940285280029773222128095634));_;}hard-codes the controller (0xbd486897…439192) instead of readingowner, sotransferOwnershipchanges a variable that no permission check uses.- That controller can call
addAllow(holder, allowApprove)to open or close sales for any address, andmint(miner, _value)runsbalances[miner] = _value;, overwriting any balance without changingtotalSupply.
Protocol details
Evidence
- report Token Sniffer post 1373698524961906691 (seed link) twitter.com
- transaction MoonAkita Inu contract creation transaction bscscan.com
- address MoonAkita Inu (MNAKITA) verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x5b7a52b3c49b66f3067b37611dbc0e11cf477f17 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.