Your game is illegal, no matter if its free or not. Whoever owns Shrek (Dreamworks?) can strike you at any time. But it’s only them who can initiate any charges, so if they don’t then you’re in the clear, but you still stay in a legal gray zone.
So the answer is: you’re not safe unless the owner of Shrek explicitly says you are.