DogeMilf Honeypot
What happened
De.Fi's REKT database lists DogeMilf on BNB Smart Chain as an exit scam/honeypot, noting that the contract owner could disable the transfer function, which restricted users in selling their tokens. In the verified source, transferFrom requires from == _owner, where _owner is hard-coded to the deployer address 0x9477313d…a69497. Anyone else's transferFrom reverts.
A DEX sell pulls tokens with transferFrom, so only the owner's tokens can be sold that way. Plain transfer has no such check.
How it happened
- The contract hard-codes
address private _owner = 0x9477313dDa506744247048eB0cf2734249a69497;, the same address meta.json shows as the deployer. The constructor mints the whole_totalSupplytomsg.sender. transferis unrestricted:balances[msg.sender] = safeSub(balances[msg.sender], tokens); balances[to] = safeAdd(balances[to], tokens);. Holders can move tokens wallet to wallet, and a pair can send tokens out to buyers if it callstransfer.transferFrombegins withrequire(from == _owner, "You are not the owner!");. Any call wherefromis a holder other than_ownerreverts before any balance changes.- A swap sell is a router call to
transferFrom(holder, pair, amount)after the holder approves it. Withfromequal to the holder, therequirefails, so the sell reverts and the holder keeps their balance. Only the owner address can pass the check. - The restriction is permanent in the code: there is no setter,
_ownerisprivatewith no ownership functions, and the check has no exception for other addresses. What happened on chain is documented only by the De.Fi listing; no transaction was opened here.
Protocol details
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.