No, your account is not in danger. Steam doesn’t care. It’s not like they could take any action even if they knew the non-steam game you added was pirated, in the first place. They don’t hold the IP of every game and cannot police you on their publishers’ behalf.