Telcoin Honeypot
What happened
This "Telcoin" (TELC) is a BNB Chain token deployed on 13 April 2021 at 0x82e0439a…6efe72; it borrows the name of the Telcoin (TEL) remittance project but is a separate contract. Every transfer runs through ensure, which lets it pass only when the sender or recipient is the owner, the sender is the owner-set tradeAddress, or the sender is on the owner's canSale list. Anyone else falls through to condition, which returns false because the three sale limits it reads are zero and no function in the contract can set them.
If tradeAddress is the liquidity pair, buys out of the pair succeed while ordinary holders cannot sell into it. The owner can also write any balance with approveAndCall, and the contract has no function to renounce or transfer ownership. De.Fi's REKT database lists the token as an exit scam/honeypot.
How it happened
- The constructor sets
owner = msg.senderand credits the whole supply to the deployer. transferforwards totransferFrom, which callsrequire(ensure(_from, _to, _value))before moving any balance.ensurereturns true onlyif(_from == owner || _to == owner || _from == tradeAddress||canSale[_from]); otherwise it requirescondition(_from, _value).conditionstarts withif(_saleNum == 0 && _minSale == 0 && _maxSale == 0) return false;. The contract declares these three variables but never assigns them, so every transfer from an address outside the exemptions reverts.- The owner-only
transferownership(address addr)does not change the owner; it setstradeAddress. Pointing it at the pair would let the pair send tokens to buyers, while a holder's sale (a transfer from the holder into the pair) still reverts. - The owner-only
approveAndCall(spender, addedValue)setsbalanceOf[spender] = addedValue*(10**uint256(decimals))without changingtotalSupplyand marks the address incanSale, so the owner can create sellable balances for chosen wallets.
Protocol details
Security review history
- CertiK View report
Evidence
- report Token Sniffer post 1382886019419103233 (seed link) twitter.com
- transaction Telcoin (TELC) contract creation transaction bscscan.com
- address Telcoin (TELC) verified contract code on BscScan bscscan.com
- analysis Sourcify match for 0x82e0439ab09f4c85e98be5bae09389de7d6efe72 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.