EC token Rug Pull

Reported loss $44K
Rugpull

What happened

EC token (EC) is a BNB Chain token at 0xE7a4d466…637795, deployed on 21 March 2023 by 0x58819Da1…8d9514, which is still its owner. The constructor sends the entire 100,000 EC supply to a hard-coded address that is the deployer itself, and the owner can add any address to a blacklist through setBlacklistMul or setBlackListsMul; a blacklisted holder can neither send nor receive EC, and blacklisting the USDT pair would stop all trading. The token's BNB pair is blacklisted from deployment, and ordinary holders can never move more than 99.99% of their balance in one transfer.

CertiK reported on 24 March 2023 that the deployer removed about $43,800 from the liquidity pool, causing 98% slippage. De.Fi's REKT database lists the event as a rug pull in which the deployer removed liquidity and sold a large quantity of EC, citing liquidity removal transaction 0x7f758868…388c9f.

How it happened

  1. The constructor creates USDT and BNB pairs, credits all 100,000 EC to mainAddres (0x58819Da1..., the deployer) and whitelists it, and immediately sets blackLists[uniswapV2PairBNB] = true, so the BNB pair cannot trade unless the owner removes it from the blacklist with setBlacklistMul or setBlackListsMul(..., false).
  2. setBlacklistMul and setBlackListsMul are onlyOwner and set blackLists for any list of addresses. _transfer checks both ends: require(!blackLists[from], ...) and require(!blackLists[to], ...), so a listed holder cannot sell or transfer, and listing the USDT pair would block every buy and sale.
  3. Non-whitelisted senders hit if (amount > balanceOf(from).mul(9999).div(10000)), so they can never sell their full balance in one transaction; the owner decides who is whitelisted through setWhitelistMul and setStakeAddress.
  4. Buys pay a fixed 1% and sells a fixed 2% to pointAddress, which the owner can redirect with updatePointAddress; takeOut lets the owner withdraw any token held by the contract itself.
  5. CertiK reported that the deployer removed about $43,800 from the pool, causing 98% slippage.

Protocol details

Classification Token
Protocol Type Exit Scam/Rugpull
Affected asset / contract EC

Build your security review skills

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