Kper Network Rug Pull
What happened
Kper.network (KPER) was an Ethereum token modelled on the Keep3r codebase in which a single governance address can mint any amount of new tokens to itself through mint(uint amount), with no cap. Shortly after deployment on 2020-10-29, the deployer used setGovernance to nominate the external address 0x01186BdC…20AF33. Two days later, on 2020-10-31, that address minted 10,000,000 KPER and within a minute sold 10,005,000 KPER into the Uniswap V2 pool for about 1,387.76 ETH.
It later minted another 10 trillion KPER and sold 10,000 more for about 17.66 ETH. De.Fi's REKT database lists the token as an exit scam/rug pull.
How it happened
- The constructor sets
governance = msg.sender, andmintis gated only byrequire(msg.sender == governance, "mint: !gov")before crediting_mint(governance, amount)with no supply limit. - On 2020-10-29 the deployer called
setGovernancewith 0x01186BdC…20AF33 (tx 0xecaf79cf…5ede79). BecausesetGovernanceonly setspendingGovernance, that address then had to callacceptGovernanceto becomegovernance. - On 2020-10-31 16:57 UTC the new governance address called
mintfor 10,000,000KPER(tx 0x138d8e6a…94b3e1). - At 16:58 UTC it swapped 10,005,000
KPERfor about 1,387.76 ETH through Uniswap V2 Router 2 (tx 0xb4a01b32…a042d6). - At 18:12 UTC it minted 10 trillion more
KPER(tx 0x47f53a6a…48b29c) and at 18:13 UTC sold 10,000KPERfor about 17.66 ETH (tx 0xa4bd2c5b…ce57e1).
Protocol details
Evidence
- report Report kper.network
- transaction Etherscan tx 0xecaf79cf... setGovernance etherscan.io
- transaction Etherscan tx 0x138d8e6a... mint 10,000,000 KPER etherscan.io
- transaction Etherscan tx 0xb4a01b32... swapExactTokensForETH etherscan.io
- transaction Etherscan tx 0x47f53a6a... mint 10 trillion KPER etherscan.io
- transaction Etherscan tx 0xa4bd2c5b... swapExactTokensForETH etherscan.io
- address Kper.network (KPER) verified contract source, Etherscan etherscan.io
- analysis Sourcify match, chain 1, 0xc89B4a8a121Dd3E726fE7515e703936cF83e3350 repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.