SHIBA PROTOCOL Honeypot
What happened
SHIBA PROTOCOL (SHIBPRO) was a BNB Smart Chain honeypot token, listed by De.Fi's REKT database on April 26, 2021, the day it was deployed. Its transferFrom only works for addresses on an allow list, and only the deployer is on that list at launch, so holders can receive tokens from a PancakeSwap buy but cannot sell, because a router sell pulls tokens with transferFrom. The allow list and a mint function that overwrites any balance are controlled by a hard-coded address, not by the owner variable, so the visible transferOwnership does not remove that control.
How it happened
- The constructor gives the deployer the whole supply and sets
allow[msg.sender] = true; no other address is allowed. transferFromcontainsrequire(allow[_from] == true);. Plaintransferhas no such check, so buys, where the pair sends tokens withtransfer, succeed.- Selling on PancakeSwap makes the router call
transferFrom(seller, pair, amount). For any holder not on the list therequirefails and the sale reverts. addAllow(holder, allowApprove)lets the controller add or remove addresses, andmint(miner, _value)setsbalances[miner] = _valueto any number without changingtotalSupply.- Both are guarded by
onlyOwner, which is written asrequire(msg.sender == address(1080614020421183795110940285280029773222128095634)), the hard-coded address 0xbd486897…439192.transferOwnershiponly updates the unusedownervariable, and there is no renounce function, so the control cannot be given up.
Protocol details
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.