LABRADOR Honeypot
What happened
LABRADOR is a BNB Chain token deployed on 12 May 2021 at 0x31879416…6b49de by 0x514142F2…4B62c8. Its overridden transferFrom reverts unless the public flag trans is true, the deployer is the sender or recipient, or the sender is the PancakeSwap pair the constructor creates. trans starts as true, so sales work at launch, but a MINTER_ROLE holder can set it to false with setTrans, after which a holder's router sale, which moves tokens with transferFrom, fails while buys from the pair still go through.
The same role can mint any amount with piocher, and a PAUSER_ROLE holder can pause every transfer. The contract's renounceOwnership and lockLiquidity only emit events and change nothing. De.Fi's REKT database lists the token as an exit scam/honeypot.
How it happened
- The constructor stores the deployer as the immutable
moi, grants itDEFAULT_ADMIN_ROLE,PAUSER_ROLEandMINTER_ROLE, mints 1,000,000,000,000 tokens to it, creates the token/WBNB pair on PancakeSwap and setstrans = true. - The overridden
transferFromrunsrequire (trans || moi == sender || moi == recipient || sender == UNI);, whereUNIis the pair. The PancakeSwap router sells by callingtransferFrom(holder, pair, amount), so the sale depends ontransfor every holder other than the deployer. setTrans(bool value)requiresMINTER_ROLE; once a role holder setstransto false, holder sales revert.- Buys keep working because the pair pays out through
transfer, which the contract does not override, and the deployer's own sales pass becausemoi == sender. piocher(address to, uint256 amount)lets aMINTER_ROLEholder mint any amount to any address, andpause()lets aPAUSER_ROLEholder stop all transfers through_beforeTokenTransfer'swhenNotPaused.renounceOwnership()only runsemit OwnershipRenounced(address(0), address(this));andlockLiquidity()only emitsliquidityLocked, so neither gives up any role nor locks any LP tokens.
Protocol details
Evidence
- report Token Sniffer 'Reported by user(s)' page (seed link) tokensniffer.com
- transaction LABRADOR contract creation transaction bscscan.com
- address LABRADOR verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x3187941687060b92799a9a1d5ca58812ad6b49de 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.