ChocSwap.finance Rug Pull

Reported loss Not disclosed
Rugpull

What happened

CHOC (ChocolateToken) on BNB Smart Chain is a governance-style token whose only privileged supply control is mint(address _to, uint256 _amount) public onlyOwner. That function calls _mint with no cap, so whichever account holds the owner role can create new CHOC at any time and dilute every other holder. An on-chain read on 2026-09-30 returns 0x79c725a1…2f9632 as owner(), the same address the De.Fi proof link is filtered on.

De.Fi's REKT database lists the token as an Exit Scam/Rugpull dated 2021-09-30; the proof page could not be retrieved, so the specific mint, sale or liquidity transactions are not established here.

How it happened

What the code allows (the transactions that actually happened are not verified):

  1. The deployer of ChocolateToken becomes _owner through Ownable, and the owner role can be moved with transferOwnership(address newOwner) or dropped with renounceOwnership().
  2. mint is gated only by the owner role and has no cap or schedule: function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount);.
  3. _mint raises supply and the recipient balance directly: _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount);. Every existing holder's share of supply falls by the minted amount.
  4. Transfers carry no restriction: _transfer only runs _balances[sender] = _balances[sender].sub(amount, ...) and credits the recipient, so freshly minted tokens can be sent straight to a trading pair.

De.Fi's REKT database lists the token as an Exit Scam/Rugpull dated 2021-09-30. No transaction was opened, so this page does not state that a mint or sale occurred.

Protocol details

Classification Exchange (DEX)
Protocol Type Exit Scam/Rugpull
Affected asset / contract CHOC
Protocol links Website

Build your security review skills

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