Raccoon Swap Rug Pull
What happened
Raccoon Swap was a BNB Chain DEX project whose RCO token, deployed on 9 April 2021, is a copy of PancakeSwap's CAKE token with two owner-only mint functions. A code comment says only the MasterChef should hold that power, but the token's owner, read on-chain in September 2026, is still the deployer address 0x362fE9e2…463503, which can create any amount of RCO at will. The code places no limits on transfers, so holders can always sell; the risk is dilution, since newly minted RCO can be sold into the pool and push the price down.
De.Fi's REKT database lists Raccoon Swap as an exit scam/rug pull on 26 August 2021, with the deployer's address as its proof, but its transfers could not be opened, so it is not established whether RCO was minted and sold or liquidity was removed.
How it happened
- The constructor inherited from
Ownablemakes the deployer the owner of the RCO token. - The token has two mint paths guarded only by
onlyOwner:mint(address _to, uint256 _amount)and the inheritedmint(uint256 amount), which mints to the caller. Neither has a supply cap. - The mint power is not held by a MasterChef or renounced: read in September 2026,
owner()andgetOwner()both return the deployer address. - The owner can therefore mint new RCO to itself at any time and sell it into the RCO liquidity pool, taking the pool's paired tokens and diluting every holder.
- Separately from the token code, whoever holds the pool's LP tokens can withdraw the liquidity; the token contract does not restrict this.
Protocol details
Evidence
- transaction RCO creation transaction bscscan.com
- address Raccoon Swap (RCO) verified source code bscscan.com
- analysis BscScan RCO token page filtered to the deployer, cited by De.Fi as proof bscscan.com
- analysis Sourcify match for 0xa24c6991ae8bfe3ddb9e00a078455819e85637ff on BNB Chain repo.sourcify.dev
- analysis Raccoon Ecosystem: Whitelist For Private Sale Is Now Open raccoonswap.medium.com
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.