Hepton token Rug Pull
What happened
Hepton (HTE) is a BNB Chain token that used the Hepton name, deployed on 12 April 2023 at 0x9D77c78D…6D9de3 by 0x3Da39c75…baa5b3 and paired with USDT on PancakeSwap. Every buy, sale and wallet-to-wallet transfer by an ordinary holder calls an outside userchange contract, and the owner could swap that contract for any other with changeUserAmountOutIn; a replacement that reverts on addOutAmount would block every sale and transfer while buys still work. The code also contains changeCanSell and maxSellToken switches that nothing in the transfer path reads, and a fixed 5% burn on trades.
On 15 April 2023 CertiK reported that the deployer removed liquidity in 3 transactions, gaining about $55K, and that the token appeared to be a honeypot. De.Fi's REKT database lists the loss as about $73K, says the deployer also sold HTE and the price fell about 90%, and names liquidity removal tx 0x1f9c5ba1…cbe714.
How it happened
- The constructor creates the HTE/USDT PancakeSwap pair, mints 100,000,000 HTE to a
tokenOwnerargument, excludes that address, the deployer and the contract from fees, and deploys a simpleUserAmountChangeledger asuserchange. - For a non-excluded holder,
_transfercallsuserchange.addInAmount(to, amount)on a buy,userchange.addOutAmount(from, amount)on a sale, anduserchange.addOutAmount(from, amount)on a transfer between wallets. If that call reverts, the whole transfer reverts. changeUserAmountOutIn(IUserAmountChange _userchange)isonlyOwnerand accepts any address, so the owner could replace the ledger with a contract whoseaddOutAmountreverts. Buys would still pass throughaddInAmountwhile every sale and wallet transfer failed. Only fee-excluded addresses, which the owner chooses withexcludeFromFees, skip these calls.changeCanSell()andmaxSellToken(address,uint256)storecanSelland_maxSell, but_transfernever reads them. The only visible trade rule issuper._transfer(from, _destroyAddress, amount.div(100).mul(5)), a 5% burn.- Ownership now reads as 0x...dEaD, so the ledger can no longer be changed; whichever
userchangecontract was set last still runs on every trade. - On 15 April 2023 the deployer removed liquidity in 3 transactions, gaining about $55K, and CertiK flagged the token as an apparent honeypot.
Protocol details
Evidence
- report @certikalert incident report twitter.com
- report CertiK Alert: large liquidity removal on fake Hepton token (HTE) twitter.com
- transaction HTE contract creation transaction bscscan.com
- transaction bscscan.com transaction 0x1f9c…e714 bscscan.com
- address Hepton (HTE) verified contract code on BscScan bscscan.com
- address bscscan.com address 0x3da3…a5b3 bscscan.com
- analysis Sourcify match for 0x9D77c78D1f06d5f7B599F0654dBb61ea706D9de3 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.