legal – Is accepting Bitcoin as a gift save?

I’ve got certain amount of mBTC from a person I don’t know well (we’ve never met in person, although we chat online from time to time), in the form of them giving me the key for getting access to the wallet. They say, it’s just a Christmas gift; and I don’t see any obvious signs of scam here (they don’t ask me to do anything in exchange and say that I don’t owe anything).

But I’m still anxious, as in my world people don’t give away money like that. I have only basic understanding of Bitcoin. Is it possible, that I’ll run into trouble here? Like, if this person got these money through some illegal activities, could the trace lead now to me instead of them? What else should I look into? (besides our local laws regarding using cryptocurrency and paying taxes, I’m looking into it now)