Luminescence Honeypot

Reported loss Not disclosed
BNB Chain
Honeypot

What happened

Luminescence (LUM) is a BNB Chain token deployed on 5 May 2021 at 0x0683c8fa…db81a0. Its _transfer function has an owner switch, _feeEnabled: when it is on, any transfer into the PancakeSwap pair from an address other than the router, the owner or the contract debits the sender's full amount but credits the pair with only the remainder of amount divided by 100 base units, and burns the rest. A holder's sale therefore either reverts in the pair's swap check or hands over the tokens for almost nothing, while buys and the owner's own transfers are unaffected.

The owner address is fixed at deployment and the contract has no function to transfer or renounce it. De.Fi's REKT database lists Luminescence as an exit scam/honeypot, stating that the contract owner could disable transfers and so stop holders from selling.

How it happened

  1. The constructor stores the deployer as the private _owner, credits it the full 100,000,000 LUM supply and creates the PancakeSwap pair.
  2. _feeEnabled starts as false, so trading, including sales, works normally at first.
  3. Only _owner can call setFeeEnabled(true). There is no function to transfer or renounce _owner.
  4. With the flag on, a sale reaches _transfer(holder, pair, amount). The holder's balance is reduced by the full amount, but fee = mul(div(amount, 100), 100) is amount rounded down to a multiple of 100 base units, so the pair receives at most 99 base units (under 0.0000001 LUM at 9 decimals) and the fee is removed from _totalSupply.
  5. Because the pair receives almost nothing, a standard router sale fails the pair's reserve check and reverts, and a fee-on-transfer sale returns close to zero BNB. Transfers from the owner, the router or the contract, and transfers to any address other than the pair, are not taxed, so buys still work.

Protocol details

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

Build your security review skills

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