1Million Honeypot
What happened
1Million (MLN) is a BNB Chain token deployed on 6 June 2021 at 0x8034aa1e…7c8d81 by 0x930f1005…d506f3. Its transferFrom function reverts with "You are not the owner!" unless the tokens come from one hard-coded address, the deployer. Plain transfer works, so buyers can receive tokens from the PancakeSwap pair, but selling through the router uses transferFrom and therefore fails for every holder except the deployer.
The restriction is fixed in the code: there is no owner function to lift it and no ownership to renounce. De.Fi's REKT database lists 1Million as a honeypot; no loss figure is recorded.
How it happened
- The constructor credits the deployer with the whole supply of 1,000 MLN (
_totalSupply = 10000000at 4 decimals). - The contract hard-codes
address private _owner = 0x930f10051b16cB0272548BE9b151d9926ad506f3;, the deployer. transferhas no restriction, so the pair can send MLN to buyers and holders can send MLN to each other.transferFromstarts withrequire(from == _owner, "You are not the owner!");. A PancakeSwap sale has the router calltransferFrom(seller, pair, amount), so it reverts for every seller except the deployer.- Only the deployer can sell through the router, and nothing in the contract can change
_owneror remove the check.
Protocol details
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.