CoinPanda_ETH Rug Pull
What happened
CoinPanda (COINPANDA) is an Ethereum token deployed on 15 November 2023 at 0xBBdce1eD…34876c by 0x6923D0dC…c4c18C, whose source comments present it as a crypto tax platform. Two admin functions hide behind misleading names and answer to panadmin, an address set at deployment and separate from owner: a one-argument totalSupply(address) flags a wallet so that every transfer out of it reverts, and ksggxx() adds 77.7 billion tokens, about 86 times the 900 million supply, to the admin's balance each time it is called. Renouncing owner does not touch either power.
De.Fi's REKT database records that on 3 December 2023 33.56 WETH (about $80,554) of liquidity was removed from the Uniswap pool in transaction 0x5d7101f3…48c01c, that most of it went to Tornado Cash and the rest to another address, and that the deployer sent 1.92 ETH to the remover's address 0x4b50156e…6B70ce afterwards, in 0xaaedbd24…afc454. Cyvers reported on 9 January 2024 that the project's Twitter account and website were down, and that the deployer had swapped 233M COINPANDA with $22.5K deposited to Tornado Cash.
How it happened
- The constructor mints 900,000,000 COINPANDA to the deployer and stores the
psadminargument aspanadmin. totalSupply(address safax), an overload of the standard view name, is callable only bypanadminand setstallinfo[safax] = true;name(address pskk)sets it back to false.- In
_transfer, a flagged sender's amount is replaced with2000 + balance, sorequire(balance >= amount, "ERC20: transfer amount exceeds balance")always fails. A flagged holder can neither sell to the pool nor move tokens to another wallet. ksggxx()passes its checks only forpanadminand runs_favvxx[temo3] += bfx, wherebfxis 35 × 2,220,000,000 tokens. Nothing limits repeat calls,_totalSupplyis not increased, and noTransferevent is emitted, so the new balance does not show up in supply trackers.- With either tool, the admin can keep buyers from exiting or print tokens to sell into the pool, and whoever holds the LP tokens can withdraw the pool. De.Fi records a 33.56 WETH liquidity removal on 3 December 2023.
Protocol details
Evidence
- report @CyversAlerts incident report twitter.com
- report Cyvers Alerts on @Coinpanda_ETH (9 January 2024) twitter.com
- transaction CoinPanda contract creation transaction etherscan.io
- transaction De.Fi REKT database entry for COINPANDA (write-up with address and transaction list) de.fi
- transaction etherscan.io transaction 0x5d71…c01c etherscan.io
- transaction etherscan.io transaction 0xaaed…c454 etherscan.io
- address CoinPanda (COINPANDA) verified contract code on Etherscan etherscan.io
- address etherscan.io address 0x4b50…70ce etherscan.io
- address etherscan.io address 0x6923…c18C etherscan.io
- analysis Sourcify match for 0xBBdce1eD0986106E9efCA252A1B24aaF6c34876c on Ethereum repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.