LamboToken Honeypot

Reported loss Not disclosed
BNB Chain
Honeypot

What happened

LamboToken (LAMBO) is a BNB Smart Chain token whose transferFrom function only works for holders that the deployer has switched on in an allow mapping. Only the deployer is switched on in the constructor, so any move that a spender pulls out of an ordinary holder's balance, which is what a DEX router does when a holder sells, reverts. De.Fi's REKT database lists LAMBO as an exit scam / honeypot in which the contract owner could disable the transfer function and restrict users from selling their tokens.

How it happened

  1. The constructor credits the whole supply to the deployer and marks only that address as allowed: balances[msg.sender] = totalSupply; and allow[msg.sender] = true;.
  2. transfer has no allow check, so a holder can still send tokens directly: require(balances[msg.sender] >= _value);.
  3. transferFrom, the function a router calls after a holder approves it, adds one extra condition: require(allow[_from] == true);. For any holder whose allow entry is false, the call reverts even though approve succeeded and the balance and allowance are sufficient.
  4. The deployer's address is hard-coded in the modifier onlyOwner() {require(msg.sender == address(0x877733bbfCe6A04c32FE2C3F2AC63bE8B6B046B7));_;} and can call addAllow(address holder, bool allowApprove) to set the flag to true or false for any holder, so it can allow chosen holders to sell and block everyone else.
  5. transferOwnership only rewrites the owner variable, which onlyOwner never reads, so the hard-coded address keeps this power, and the code has no function that removes it.

The code allows this; the sources opened for this entry do not show on-chain transactions of the deployer calling addAllow or any individual holder's failed sale.

Protocol details

Classification Token
Protocol Type Exit Scam/Honeypot
Affected asset / contract LAMBO

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.