Yolo Token Honeypot
What happened
Yolo Token (Yolo) is a BNB Chain token deployed on 24 April 2021 at 0x5bf5f899…c7c57d by 0xd78c00cC…DB355C. Its transferFrom requires allow[_from] == true, and the constructor sets that flag only for the deployer, so every other holder's sale through the PancakeSwap router reverts while buys, which use plain transfer, go through. The onlyOwner modifier does not check the stored owner; it checks a hard-coded address written as a decimal number, 0xbd486897…439192.
That address alone can add wallets to the allow list with addAllow and can overwrite any account's balance with mint, and there is no function to give up that power. The header comment advertises a 10% tax with holder rewards and burns, but the code contains no fee logic. De.Fi's REKT database lists the token as an exit scam/honeypot.
How it happened
- The constructor gives the whole supply (1 YOLO at 18 decimals) to the deployer and runs
allow[msg.sender] = true;, so the deployer is the only address on the allow list. transferFromchecksrequire(allow[_from] == true);. The router pulls tokens withtransferFromfor both adding liquidity and selling, so the deployer can add liquidity but a holder's sale reverts.- Buys from the pair use
transfer, which only checks the recipient and the sender's balance, so anyone can buy. onlyOwnerisrequire(msg.sender == address(1080614020421183795110940285280029773222128095634)), which is 0xbd486897…439192. Only that address can calladdAllow(holder, allowApprove)to let chosen wallets sell, andtransferOwnershipchanges the unusedownervariable without changing who passes the check.- The same address can call
mint(miner, _value), which runsbalances[miner] = _value;, setting any account's balance to any number without touchingtotalSupply.
Protocol details
Evidence
- report Token Sniffer post 1373698524961906691 (seed link) twitter.com
- transaction Yolo Token contract creation transaction bscscan.com
- address Yolo Token (Yolo) verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x5bf5f8995224ddb6daaf340a54aaa046d6c7c57d 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.