Luminescence 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
- The constructor stores the deployer as the private
_owner, credits it the full 100,000,000 LUM supply and creates the PancakeSwap pair. _feeEnabledstarts asfalse, so trading, including sales, works normally at first.- Only
_ownercan callsetFeeEnabled(true). There is no function to transfer or renounce_owner. - With the flag on, a sale reaches
_transfer(holder, pair, amount). The holder's balance is reduced by the fullamount, butfee = mul(div(amount, 100), 100)isamountrounded 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. - 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
Evidence
- report De.Fi REKT database listing for LUM (proof link: Token Sniffer tweet) twitter.com
- transaction Luminescence contract creation transaction bscscan.com
- address Luminescence (LUM) verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x0683c8fa750236fcf9453dc3c857cc5cf0db81a0 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.