Possibly you might have given approval to connect your wallet to a smart contract in the cause of claiming or purchasing a token then and to the best of my knowledge, there would be interaction only on the approval and that makes me to conclude that there must have been a compromise somewhere which you would have to be careful of that wallet as not to use it anymore. If you have any valuable asset still there, you should transfer them to a new wallet for your safety as these days you really can not tell what would happen next.