we have just finished a phase of our ICO and we were looking among the transactions. Someone managed to send 0 ETH to our contract and in return got 130 000 tokens. How did he do that and how vulnerable is our system?
This is the holder with our tokens: https://etherscan.io/token/0x9a9ae6884c65725c8f5378dbb6d3900bff36da53?a=0x2bf6064d8fdb75af047d3db4743d436adb326312
These are his transactions. He seems to have created his own contract and he has done the same to someone else: https://etherscan.io/address/0x2bf6064d8fdb75af047d3db4743d436adb326312
Please help
mintTokens
is used somewhere that is external from the contract itself. When I look at the token contracts transactions (etherscan.io/address/0x9a9ae6884c65725c8f5378dbb6d3900bff36da53), I don't see any ether flowing through...so where is ETH being sent and what is the scenario that is calling themintTokens
function? From an outside perspective, it seems like the fault is somewhere in centralized code.0x03fdb8a96b10872bcd7303fd00a6cb59d91382b6
is possible that someone got access to your private key, but I can say for certain that it was this address, the contract owner, who initiated the function call. You can see that here. They called themintTokens
function with0x2bf6064d8fdb75af047d3db4743d436adb326312
as the recieving address, and0x1c65935853bfead00000 == 134100000000000000000000
as the amount of tokens.